Skip to content

Commit

Permalink
chore: reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel910 committed Sep 23, 2024
1 parent 1907f6a commit 5b5793c
Show file tree
Hide file tree
Showing 3 changed files with 260 additions and 3 deletions.
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"]
}
]
}
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"]
}
]
}
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"]
}
]
}

0 comments on commit 5b5793c

Please sign in to comment.