-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
260 additions
and
3 deletions.
There are no files selected for viewing
98 changes: 97 additions & 1 deletion
98
headless-cms/conditional-fields/5.40.x/conditional-fields.model.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,97 @@ | ||
{"groups":[{"id":"66eea51190b9d50008de75d0","name":"Ungrouped","slug":"ungrouped","description":"A generic content model group","icon":"fas/star"}],"models":[{"modelId":"conditionalFields","name":"Conditional Fields","group":"66eea51190b9d50008de75d0","icon":"fas/pager","description":"Conditional inputs demo","singularApiName":"ConditionalField","pluralApiName":"ConditionalFields","fields":[{"multipleValues":false,"listValidation":[],"settings":{},"renderer":{"name":"text-input","settings":{}},"helpText":null,"predefinedValues":{"enabled":false,"values":[]},"label":"Title","type":"text","tags":[],"placeholderText":null,"id":"dgm2bqk7","validation":[],"storageId":"text@dgm2bqk7","fieldId":"title"},{"multipleValues":false,"listValidation":[],"settings":{},"renderer":{"name":"select-box","settings":{}},"helpText":null,"predefinedValues":{"enabled":true,"values":[{"value":"url","selected":true,"label":"URL"},{"value":"upload","selected":false,"label":"Upload"}]},"label":"Video Type","type":"text","tags":[],"placeholderText":null,"id":"ek9xbbmq","validation":[],"storageId":"text@ek9xbbmq","fieldId":"videoType"},{"multipleValues":false,"listValidation":[],"settings":{},"renderer":{"name":"text-input","settings":{}},"helpText":null,"predefinedValues":{"enabled":false,"values":[]},"label":"Video URL","type":"text","tags":[],"placeholderText":null,"id":"jg902q8m","validation":[],"storageId":"text@jg902q8m","fieldId":"videoUrl"},{"multipleValues":false,"listValidation":[],"settings":{},"renderer":{"name":"file-input","settings":{}},"helpText":null,"predefinedValues":{"enabled":false,"values":[]},"label":"Video Upload","type":"file","tags":[],"placeholderText":null,"id":"k4fx0hqp","validation":[],"storageId":"file@k4fx0hqp","fieldId":"videoUpload"}],"layout":[["dgm2bqk7"],["ek9xbbmq"],["jg902q8m"],["k4fx0hqp"]],"titleFieldId":"title","tags":["type:model"]}]} | ||
{ | ||
"groups": [ | ||
{ | ||
"id": "66eea51190b9d50008de75d0", | ||
"name": "Ungrouped", | ||
"slug": "ungrouped", | ||
"description": "A generic content model group", | ||
"icon": "fas/star" | ||
} | ||
], | ||
"models": [ | ||
{ | ||
"modelId": "conditionalFields", | ||
"name": "Conditional Fields", | ||
"group": "66eea51190b9d50008de75d0", | ||
"icon": "fas/pager", | ||
"description": "Conditional inputs demo", | ||
"singularApiName": "ConditionalField", | ||
"pluralApiName": "ConditionalFields", | ||
"fields": [ | ||
{ | ||
"multipleValues": false, | ||
"listValidation": [], | ||
"settings": {}, | ||
"renderer": { "name": "text-input", "settings": {} }, | ||
"helpText": null, | ||
"predefinedValues": { "enabled": false, "values": [] }, | ||
"label": "Title", | ||
"type": "text", | ||
"tags": [], | ||
"placeholderText": null, | ||
"id": "dgm2bqk7", | ||
"validation": [], | ||
"storageId": "text@dgm2bqk7", | ||
"fieldId": "title" | ||
}, | ||
{ | ||
"multipleValues": false, | ||
"listValidation": [], | ||
"settings": {}, | ||
"renderer": { "name": "select-box", "settings": {} }, | ||
"helpText": null, | ||
"predefinedValues": { | ||
"enabled": true, | ||
"values": [ | ||
{ "value": "url", "selected": true, "label": "URL" }, | ||
{ "value": "upload", "selected": false, "label": "Upload" } | ||
] | ||
}, | ||
"label": "Video Type", | ||
"type": "text", | ||
"tags": [], | ||
"placeholderText": null, | ||
"id": "ek9xbbmq", | ||
"validation": [], | ||
"storageId": "text@ek9xbbmq", | ||
"fieldId": "videoType" | ||
}, | ||
{ | ||
"multipleValues": false, | ||
"listValidation": [], | ||
"settings": {}, | ||
"renderer": { "name": "text-input", "settings": {} }, | ||
"helpText": null, | ||
"predefinedValues": { "enabled": false, "values": [] }, | ||
"label": "Video URL", | ||
"type": "text", | ||
"tags": [], | ||
"placeholderText": null, | ||
"id": "jg902q8m", | ||
"validation": [], | ||
"storageId": "text@jg902q8m", | ||
"fieldId": "videoUrl" | ||
}, | ||
{ | ||
"multipleValues": false, | ||
"listValidation": [], | ||
"settings": {}, | ||
"renderer": { "name": "file-input", "settings": {} }, | ||
"helpText": null, | ||
"predefinedValues": { "enabled": false, "values": [] }, | ||
"label": "Video Upload", | ||
"type": "file", | ||
"tags": [], | ||
"placeholderText": null, | ||
"id": "k4fx0hqp", | ||
"validation": [], | ||
"storageId": "file@k4fx0hqp", | ||
"fieldId": "videoUpload" | ||
} | ||
], | ||
"layout": [["dgm2bqk7"], ["ek9xbbmq"], ["jg902q8m"], ["k4fx0hqp"]], | ||
"titleFieldId": "title", | ||
"tags": ["type:model"] | ||
} | ||
] | ||
} |
82 changes: 81 additions & 1 deletion
82
headless-cms/conditional-renderer/5.40.x/conditional-renderer.model.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,81 @@ | ||
{"groups":[{"id":"66eea51190b9d50008de75d0","name":"Ungrouped","slug":"ungrouped","description":"A generic content model group","icon":"fas/star"}],"models":[{"modelId":"conditionalRenderer","name":"Conditional Renderer","group":"66eea51190b9d50008de75d0","icon":"fab/redhat","description":"Conditional Renderer demo","singularApiName":"ConditionalRenderer","pluralApiName":"ConditionalRenderers","fields":[{"multipleValues":false,"listValidation":[],"settings":{},"renderer":{"name":"text-input"},"helpText":null,"predefinedValues":{"enabled":false,"values":[]},"label":"Title","type":"text","tags":[],"placeholderText":null,"id":"w3ezh6x7","validation":[],"storageId":"text@w3ezh6x7","fieldId":"title"},{"multipleValues":false,"listValidation":[],"settings":{},"renderer":{"name":"radio-buttons"},"helpText":null,"predefinedValues":{"enabled":true,"values":[{"value":"url","selected":true,"label":"URL"},{"value":"upload","selected":false,"label":"Upload"}]},"label":"Video Type","type":"text","tags":[],"placeholderText":null,"id":"58gb7jlb","validation":[],"storageId":"text@58gb7jlb","fieldId":"videoType"},{"multipleValues":false,"listValidation":[],"settings":{},"renderer":{"name":"text-input"},"helpText":null,"predefinedValues":{"enabled":false,"values":[]},"label":"Video","type":"text","tags":[],"placeholderText":null,"id":"q0m0mrqe","validation":[],"storageId":"text@q0m0mrqe","fieldId":"video"}],"layout":[["w3ezh6x7"],["58gb7jlb"],["q0m0mrqe"]],"titleFieldId":"title","tags":["type:model"]}]} | ||
{ | ||
"groups": [ | ||
{ | ||
"id": "66eea51190b9d50008de75d0", | ||
"name": "Ungrouped", | ||
"slug": "ungrouped", | ||
"description": "A generic content model group", | ||
"icon": "fas/star" | ||
} | ||
], | ||
"models": [ | ||
{ | ||
"modelId": "conditionalRenderer", | ||
"name": "Conditional Renderer", | ||
"group": "66eea51190b9d50008de75d0", | ||
"icon": "fab/redhat", | ||
"description": "Conditional Renderer demo", | ||
"singularApiName": "ConditionalRenderer", | ||
"pluralApiName": "ConditionalRenderers", | ||
"fields": [ | ||
{ | ||
"multipleValues": false, | ||
"listValidation": [], | ||
"settings": {}, | ||
"renderer": { "name": "text-input" }, | ||
"helpText": null, | ||
"predefinedValues": { "enabled": false, "values": [] }, | ||
"label": "Title", | ||
"type": "text", | ||
"tags": [], | ||
"placeholderText": null, | ||
"id": "w3ezh6x7", | ||
"validation": [], | ||
"storageId": "text@w3ezh6x7", | ||
"fieldId": "title" | ||
}, | ||
{ | ||
"multipleValues": false, | ||
"listValidation": [], | ||
"settings": {}, | ||
"renderer": { "name": "radio-buttons" }, | ||
"helpText": null, | ||
"predefinedValues": { | ||
"enabled": true, | ||
"values": [ | ||
{ "value": "url", "selected": true, "label": "URL" }, | ||
{ "value": "upload", "selected": false, "label": "Upload" } | ||
] | ||
}, | ||
"label": "Video Type", | ||
"type": "text", | ||
"tags": [], | ||
"placeholderText": null, | ||
"id": "58gb7jlb", | ||
"validation": [], | ||
"storageId": "text@58gb7jlb", | ||
"fieldId": "videoType" | ||
}, | ||
{ | ||
"multipleValues": false, | ||
"listValidation": [], | ||
"settings": {}, | ||
"renderer": { "name": "text-input" }, | ||
"helpText": null, | ||
"predefinedValues": { "enabled": false, "values": [] }, | ||
"label": "Video", | ||
"type": "text", | ||
"tags": [], | ||
"placeholderText": null, | ||
"id": "q0m0mrqe", | ||
"validation": [], | ||
"storageId": "text@q0m0mrqe", | ||
"fieldId": "video" | ||
} | ||
], | ||
"layout": [["w3ezh6x7"], ["58gb7jlb"], ["q0m0mrqe"]], | ||
"titleFieldId": "title", | ||
"tags": ["type:model"] | ||
} | ||
] | ||
} |
83 changes: 82 additions & 1 deletion
83
headless-cms/conditional-validation/5.40.x/conditional-validation.model.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,82 @@ | ||
{"groups":[{"id":"66eea51190b9d50008de75d0","name":"Ungrouped","slug":"ungrouped","description":"A generic content model group","icon":"fas/star"}],"models":[{"modelId":"conditionalValidation","name":"Conditional Validation","group":"66eea51190b9d50008de75d0","icon":"fas/star","description":"Condition validation demo","singularApiName":"ConditionalValidation","pluralApiName":"ConditionalValidations","fields":[{"multipleValues":false,"listValidation":[],"settings":{},"renderer":{"name":"text-input","settings":{}},"helpText":null,"predefinedValues":{"enabled":false,"values":[]},"label":"Title","type":"text","tags":[],"placeholderText":null,"id":"yk6k2kn7","validation":[],"storageId":"text@yk6k2kn7","fieldId":"title"},{"multipleValues":false,"listValidation":[],"settings":{},"renderer":{"name":"number-input","settings":{}},"helpText":null,"predefinedValues":{"enabled":false,"values":[]},"label":"Price","type":"number","tags":[],"placeholderText":null,"id":"13987se6","validation":[{"name":"required","message":"Value is required.","settings":{}}],"storageId":"number@13987se6","fieldId":"price"},{"multipleValues":false,"listValidation":[],"settings":{},"renderer":{"name":"radio-buttons","settings":{}},"helpText":null,"predefinedValues":{"enabled":true,"values":[{"value":"low","selected":true,"label":"Low"},{"value":"medium","selected":false,"label":"Medium"},{"value":"high","selected":false,"label":"High"}]},"label":"Pricing class","type":"text","tags":[],"placeholderText":null,"id":"y22apchg","validation":[],"storageId":"text@y22apchg","fieldId":"pricingClass"}],"layout":[["yk6k2kn7"],["y22apchg"],["13987se6"]],"titleFieldId":"title","tags":["type:model"]}]} | ||
{ | ||
"groups": [ | ||
{ | ||
"id": "66eea51190b9d50008de75d0", | ||
"name": "Ungrouped", | ||
"slug": "ungrouped", | ||
"description": "A generic content model group", | ||
"icon": "fas/star" | ||
} | ||
], | ||
"models": [ | ||
{ | ||
"modelId": "conditionalValidation", | ||
"name": "Conditional Validation", | ||
"group": "66eea51190b9d50008de75d0", | ||
"icon": "fas/star", | ||
"description": "Condition validation demo", | ||
"singularApiName": "ConditionalValidation", | ||
"pluralApiName": "ConditionalValidations", | ||
"fields": [ | ||
{ | ||
"multipleValues": false, | ||
"listValidation": [], | ||
"settings": {}, | ||
"renderer": { "name": "text-input", "settings": {} }, | ||
"helpText": null, | ||
"predefinedValues": { "enabled": false, "values": [] }, | ||
"label": "Title", | ||
"type": "text", | ||
"tags": [], | ||
"placeholderText": null, | ||
"id": "yk6k2kn7", | ||
"validation": [], | ||
"storageId": "text@yk6k2kn7", | ||
"fieldId": "title" | ||
}, | ||
{ | ||
"multipleValues": false, | ||
"listValidation": [], | ||
"settings": {}, | ||
"renderer": { "name": "number-input", "settings": {} }, | ||
"helpText": null, | ||
"predefinedValues": { "enabled": false, "values": [] }, | ||
"label": "Price", | ||
"type": "number", | ||
"tags": [], | ||
"placeholderText": null, | ||
"id": "13987se6", | ||
"validation": [{ "name": "required", "message": "Value is required.", "settings": {} }], | ||
"storageId": "number@13987se6", | ||
"fieldId": "price" | ||
}, | ||
{ | ||
"multipleValues": false, | ||
"listValidation": [], | ||
"settings": {}, | ||
"renderer": { "name": "radio-buttons", "settings": {} }, | ||
"helpText": null, | ||
"predefinedValues": { | ||
"enabled": true, | ||
"values": [ | ||
{ "value": "low", "selected": true, "label": "Low" }, | ||
{ "value": "medium", "selected": false, "label": "Medium" }, | ||
{ "value": "high", "selected": false, "label": "High" } | ||
] | ||
}, | ||
"label": "Pricing class", | ||
"type": "text", | ||
"tags": [], | ||
"placeholderText": null, | ||
"id": "y22apchg", | ||
"validation": [], | ||
"storageId": "text@y22apchg", | ||
"fieldId": "pricingClass" | ||
} | ||
], | ||
"layout": [["yk6k2kn7"], ["y22apchg"], ["13987se6"]], | ||
"titleFieldId": "title", | ||
"tags": ["type:model"] | ||
} | ||
] | ||
} |