diff options
Diffstat (limited to 'playground/src/components')
| -rw-r--r-- | playground/src/components/shared/media.json | 15 | ||||
| -rw-r--r-- | playground/src/components/shared/quote.json | 16 | ||||
| -rw-r--r-- | playground/src/components/shared/rich-text.json | 14 | ||||
| -rw-r--r-- | playground/src/components/shared/seo.json | 26 | ||||
| -rw-r--r-- | playground/src/components/shared/slider.json | 17 |
5 files changed, 88 insertions, 0 deletions
diff --git a/playground/src/components/shared/media.json b/playground/src/components/shared/media.json new file mode 100644 index 0000000..f8e9454 --- /dev/null +++ b/playground/src/components/shared/media.json @@ -0,0 +1,15 @@ +{ + "collectionName": "components_shared_media", + "info": { + "displayName": "Media", + "icon": "file-video" + }, + "options": {}, + "attributes": { + "file": { + "allowedTypes": ["images", "files", "videos"], + "type": "media", + "multiple": false + } + } +} diff --git a/playground/src/components/shared/quote.json b/playground/src/components/shared/quote.json new file mode 100644 index 0000000..b9ae1ae --- /dev/null +++ b/playground/src/components/shared/quote.json @@ -0,0 +1,16 @@ +{ + "collectionName": "components_shared_quotes", + "info": { + "displayName": "Quote", + "icon": "indent" + }, + "options": {}, + "attributes": { + "title": { + "type": "string" + }, + "body": { + "type": "text" + } + } +} diff --git a/playground/src/components/shared/rich-text.json b/playground/src/components/shared/rich-text.json new file mode 100644 index 0000000..faa0ed9 --- /dev/null +++ b/playground/src/components/shared/rich-text.json @@ -0,0 +1,14 @@ +{ + "collectionName": "components_shared_rich_texts", + "info": { + "displayName": "Rich text", + "icon": "align-justify", + "description": "" + }, + "options": {}, + "attributes": { + "body": { + "type": "richtext" + } + } +} diff --git a/playground/src/components/shared/seo.json b/playground/src/components/shared/seo.json new file mode 100644 index 0000000..ff2b353 --- /dev/null +++ b/playground/src/components/shared/seo.json @@ -0,0 +1,26 @@ +{ + "collectionName": "components_shared_seos", + "info": { + "name": "Seo", + "icon": "allergies", + "displayName": "Seo", + "description": "" + }, + "options": {}, + "attributes": { + "metaTitle": { + "type": "string", + "required": true + }, + "metaDescription": { + "type": "text", + "required": true + }, + "shareImage": { + "type": "media", + "multiple": false, + "required": false, + "allowedTypes": ["images"] + } + } +} diff --git a/playground/src/components/shared/slider.json b/playground/src/components/shared/slider.json new file mode 100644 index 0000000..e565fc1 --- /dev/null +++ b/playground/src/components/shared/slider.json @@ -0,0 +1,17 @@ +{ + "collectionName": "components_shared_sliders", + "info": { + "displayName": "Slider", + "icon": "address-book", + "description": "" + }, + "options": {}, + "attributes": { + "files": { + "type": "media", + "multiple": true, + "required": false, + "allowedTypes": ["images"] + } + } +} |
