model changes
This commit is contained in:
parent
3ba5330e19
commit
1cfefa450b
15 changed files with 545 additions and 408 deletions
|
@ -41,6 +41,11 @@
|
|||
"type": "boolean",
|
||||
"default": false,
|
||||
"required": true
|
||||
},
|
||||
"enable_detail": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,12 +23,13 @@
|
|||
"type": "component",
|
||||
"repeatable": false,
|
||||
"pluginOptions": {},
|
||||
"component": "global.footer"
|
||||
"component": "global.footer",
|
||||
"required": true
|
||||
},
|
||||
"SEO": {
|
||||
"type": "component",
|
||||
"repeatable": false,
|
||||
"component": "shared.seo"
|
||||
"component": "global.seo"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,23 +15,22 @@
|
|||
"backdrop": {
|
||||
"type": "media",
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"required": false,
|
||||
"allowedTypes": ["images"]
|
||||
},
|
||||
"hide_backdrop": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"required": true
|
||||
},
|
||||
"content": {
|
||||
"type": "dynamiczone",
|
||||
"components": [
|
||||
"dynamic-zone.spacer",
|
||||
"dynamic-zone.section",
|
||||
"dynamic-zone.embedding",
|
||||
"dynamic-zone.file-download",
|
||||
"dynamic-zone.gallery",
|
||||
"dynamic-zone.full-text",
|
||||
"dynamic-zone.full-image",
|
||||
"dynamic-zone.emphasise-article",
|
||||
"dynamic-zone.dual-column-text",
|
||||
"dynamic-zone.column-image-text",
|
||||
"shared.emphasise-article",
|
||||
"shared.list"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -28,22 +28,24 @@
|
|||
"type": "component",
|
||||
"repeatable": false,
|
||||
"pluginOptions": {},
|
||||
"component": "shared.hero",
|
||||
"component": "items.hero",
|
||||
"required": false
|
||||
},
|
||||
"content": {
|
||||
"pluginOptions": {},
|
||||
"type": "dynamiczone",
|
||||
"components": [
|
||||
"dynamic-zone.spacer",
|
||||
"dynamic-zone.section",
|
||||
"dynamic-zone.embedding",
|
||||
"dynamic-zone.file-download",
|
||||
"dynamic-zone.gallery",
|
||||
"dynamic-zone.full-text",
|
||||
"dynamic-zone.full-image",
|
||||
"dynamic-zone.emphasise-article",
|
||||
"dynamic-zone.dual-column-text",
|
||||
"dynamic-zone.column-image-text",
|
||||
"shared.list",
|
||||
"dynamic-zone.file-download",
|
||||
"dynamic-zone.embedding"
|
||||
"shared.emphasise-article",
|
||||
"shared.list"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
18
src/components/dynamic-zone/section.json
Normal file
18
src/components/dynamic-zone/section.json
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"collectionName": "components_dynamic_zone_section",
|
||||
"info": {
|
||||
"displayName": "Abschnitt",
|
||||
"icon": "apps",
|
||||
"description": ""
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"titel": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
}
|
||||
}
|
||||
}
|
10
src/components/dynamic-zone/spacer.json
Normal file
10
src/components/dynamic-zone/spacer.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"collectionName": "components_dynamic_zone_spacer",
|
||||
"info": {
|
||||
"displayName": "Abstand",
|
||||
"icon": "apps",
|
||||
"description": ""
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {}
|
||||
}
|
|
@ -16,7 +16,7 @@
|
|||
"links": {
|
||||
"type": "component",
|
||||
"repeatable": true,
|
||||
"component": "shared.link"
|
||||
"component": "items.link"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"collectionName": "components_shared_seos",
|
||||
"collectionName": "components_global_seos",
|
||||
"info": {
|
||||
"displayName": "seo",
|
||||
"icon": "search",
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"collectionName": "components_shared_heroes",
|
||||
"collectionName": "components_items_heroes",
|
||||
"info": {
|
||||
"displayName": "hero",
|
||||
"icon": "rocket",
|
||||
|
@ -11,9 +11,7 @@
|
|||
"type": "media",
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"allowedTypes": [
|
||||
"images"
|
||||
]
|
||||
"allowedTypes": ["images"]
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"collectionName": "components_shared_links",
|
||||
"collectionName": "components_items_links",
|
||||
"info": {
|
||||
"displayName": "Link",
|
||||
"icon": "link",
|
||||
|
@ -17,12 +17,7 @@
|
|||
},
|
||||
"target": {
|
||||
"type": "enumeration",
|
||||
"enum": [
|
||||
"_blank",
|
||||
"_self",
|
||||
"_parent",
|
||||
"_top"
|
||||
],
|
||||
"enum": ["_blank", "_self", "_parent", "_top"],
|
||||
"default": "_self",
|
||||
"required": true
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"collectionName": "components_dynamic_zone_emphasise_articles",
|
||||
"collectionName": "components_shared_emphasise_articles",
|
||||
"info": {
|
||||
"displayName": "Artikel hervorheben",
|
||||
"icon": "dashboard",
|
||||
|
@ -12,17 +12,10 @@
|
|||
"relation": "oneToMany",
|
||||
"target": "api::article.article"
|
||||
},
|
||||
"titel": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"base_url": {
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"default": "/artikel"
|
||||
"required": false,
|
||||
"default": ""
|
||||
}
|
||||
}
|
||||
}
|
|
@ -7,11 +7,6 @@
|
|||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"enable_detail": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"required": true
|
||||
},
|
||||
"lookup": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue