Skip to content

Commit

Permalink
Merge branch 'feat/multiline-path-option' into edge
Browse files Browse the repository at this point in the history
  • Loading branch information
emielwit committed Nov 15, 2023
2 parents c1f280b + 418a9cd commit 4ace0ae
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
9 changes: 7 additions & 2 deletions schemas/actions/function/option/types/multiline-text.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@
"type": {
"const": "MultilineText"
},
"syntaxHighlighting": {
"enum": ["javascript", "html"]
"default": {
"description": "The default value of the option",
"type": "string"
},
"placeholder": {
"description": "The placeholder value of the option",
"type": "string"
},
"validations": {
"description": "The requirements for the given option.",
Expand Down
4 changes: 4 additions & 0 deletions schemas/actions/function/option/types/text.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
"description": "The default value of the option",
"type": "string"
},
"placeholder": {
"description": "The placeholder value of the option",
"type": "string"
},
"validations": {
"description": "The requirements for the given option.",
"type": "object",
Expand Down
7 changes: 5 additions & 2 deletions schemas/actions/function/paths.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,18 @@
"meta": {
"properties": {
"type": {
"enum": ["Value", "Filter"]
"enum": ["Value", "Filter", "MultilineText"]
}
},
"oneOf": [
{
"$ref": "/bettyblocks/json-schema/edge/schemas/actions/function/option/types/value.json"
},
{
"$ref": "/bettyblocks/json-schema/edge/schemas/actions/function/option/types/filter.json"
"$ref": "/bettyblocks/json-schema/acceptance/schemas/actions/function/option/types/filter.json"
},
{
"$ref": "/bettyblocks/json-schema/acceptance/schemas/actions/function/option/types/multiline-text.json"
}
],
"required": ["type"]
Expand Down

0 comments on commit 4ace0ae

Please sign in to comment.