Skip to content

Commit

Permalink
fix: add stringify block
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Timmer committed Jul 12, 2024
1 parent 37584bc commit f688a44
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 19 deletions.
5 changes: 5 additions & 0 deletions blocks/stringify.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"dependencies": [],
"functions": ["stringify 1.0"],
"includes": []
}
46 changes: 27 additions & 19 deletions functions/stringify/1.0/function.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,32 @@
"name": "TextIcon",
"color": "Purple"
},
"options": [{
"meta": {
"type": "Value",
"allowedKinds": []
"options": [
{
"meta": {
"type": "Value",
"allowedKinds": [],
"validations": {
"required": true
}
},
"name": "value",
"label": "Value",
"advanced": false
},
"name": "value",
"label": "Value",
"advanced": false
},
{
"meta": {
"type": "Output",
"output": {
"type": "Text"
}
},
"name": "result",
"label": "Result"
}],
{
"meta": {
"type": "Output",
"output": {
"type": "Text"
},
"validations": {
"required": true
}
},
"name": "result",
"label": "Result"
}
],
"yields": "NONE"
}
}

0 comments on commit f688a44

Please sign in to comment.