Skip to content

Commit

Permalink
Merge branch 'acceptance' into 'master'
Browse files Browse the repository at this point in the history
  • Loading branch information
emielwit committed Nov 22, 2023
2 parents bc1e0c1 + 78694f9 commit e8dd902
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
8 changes: 8 additions & 0 deletions schemas/actions/function/option/types/multiline-text.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@
"type": {
"const": "MultilineText"
},
"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.",
"type": "object",
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/master/schemas/actions/function/option/types/value.json"
},
{
"$ref": "/bettyblocks/json-schema/master/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 e8dd902

Please sign in to comment.