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",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"required": true
|
"required": true
|
||||||
|
},
|
||||||
|
"enable_detail": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false,
|
||||||
|
"required": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,12 +23,13 @@
|
||||||
"type": "component",
|
"type": "component",
|
||||||
"repeatable": false,
|
"repeatable": false,
|
||||||
"pluginOptions": {},
|
"pluginOptions": {},
|
||||||
"component": "global.footer"
|
"component": "global.footer",
|
||||||
|
"required": true
|
||||||
},
|
},
|
||||||
"SEO": {
|
"SEO": {
|
||||||
"type": "component",
|
"type": "component",
|
||||||
"repeatable": false,
|
"repeatable": false,
|
||||||
"component": "shared.seo"
|
"component": "global.seo"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,23 +15,22 @@
|
||||||
"backdrop": {
|
"backdrop": {
|
||||||
"type": "media",
|
"type": "media",
|
||||||
"multiple": false,
|
"multiple": false,
|
||||||
"required": true,
|
"required": false,
|
||||||
"allowedTypes": ["images"]
|
"allowedTypes": ["images"]
|
||||||
},
|
},
|
||||||
"hide_backdrop": {
|
|
||||||
"type": "boolean",
|
|
||||||
"default": false,
|
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
"content": {
|
"content": {
|
||||||
"type": "dynamiczone",
|
"type": "dynamiczone",
|
||||||
"components": [
|
"components": [
|
||||||
|
"dynamic-zone.spacer",
|
||||||
|
"dynamic-zone.section",
|
||||||
|
"dynamic-zone.embedding",
|
||||||
|
"dynamic-zone.file-download",
|
||||||
"dynamic-zone.gallery",
|
"dynamic-zone.gallery",
|
||||||
"dynamic-zone.full-text",
|
"dynamic-zone.full-text",
|
||||||
"dynamic-zone.full-image",
|
"dynamic-zone.full-image",
|
||||||
"dynamic-zone.emphasise-article",
|
|
||||||
"dynamic-zone.dual-column-text",
|
"dynamic-zone.dual-column-text",
|
||||||
"dynamic-zone.column-image-text",
|
"dynamic-zone.column-image-text",
|
||||||
|
"shared.emphasise-article",
|
||||||
"shared.list"
|
"shared.list"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,22 +28,24 @@
|
||||||
"type": "component",
|
"type": "component",
|
||||||
"repeatable": false,
|
"repeatable": false,
|
||||||
"pluginOptions": {},
|
"pluginOptions": {},
|
||||||
"component": "shared.hero",
|
"component": "items.hero",
|
||||||
"required": false
|
"required": false
|
||||||
},
|
},
|
||||||
"content": {
|
"content": {
|
||||||
"pluginOptions": {},
|
"pluginOptions": {},
|
||||||
"type": "dynamiczone",
|
"type": "dynamiczone",
|
||||||
"components": [
|
"components": [
|
||||||
|
"dynamic-zone.spacer",
|
||||||
|
"dynamic-zone.section",
|
||||||
|
"dynamic-zone.embedding",
|
||||||
|
"dynamic-zone.file-download",
|
||||||
"dynamic-zone.gallery",
|
"dynamic-zone.gallery",
|
||||||
"dynamic-zone.full-text",
|
"dynamic-zone.full-text",
|
||||||
"dynamic-zone.full-image",
|
"dynamic-zone.full-image",
|
||||||
"dynamic-zone.emphasise-article",
|
|
||||||
"dynamic-zone.dual-column-text",
|
"dynamic-zone.dual-column-text",
|
||||||
"dynamic-zone.column-image-text",
|
"dynamic-zone.column-image-text",
|
||||||
"shared.list",
|
"shared.emphasise-article",
|
||||||
"dynamic-zone.file-download",
|
"shared.list"
|
||||||
"dynamic-zone.embedding"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
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": {
|
"links": {
|
||||||
"type": "component",
|
"type": "component",
|
||||||
"repeatable": true,
|
"repeatable": true,
|
||||||
"component": "shared.link"
|
"component": "items.link"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"collectionName": "components_shared_seos",
|
"collectionName": "components_global_seos",
|
||||||
"info": {
|
"info": {
|
||||||
"displayName": "seo",
|
"displayName": "seo",
|
||||||
"icon": "search",
|
"icon": "search",
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"collectionName": "components_shared_heroes",
|
"collectionName": "components_items_heroes",
|
||||||
"info": {
|
"info": {
|
||||||
"displayName": "hero",
|
"displayName": "hero",
|
||||||
"icon": "rocket",
|
"icon": "rocket",
|
||||||
|
@ -11,9 +11,7 @@
|
||||||
"type": "media",
|
"type": "media",
|
||||||
"multiple": false,
|
"multiple": false,
|
||||||
"required": true,
|
"required": true,
|
||||||
"allowedTypes": [
|
"allowedTypes": ["images"]
|
||||||
"images"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
"type": "string",
|
"type": "string",
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"collectionName": "components_shared_links",
|
"collectionName": "components_items_links",
|
||||||
"info": {
|
"info": {
|
||||||
"displayName": "Link",
|
"displayName": "Link",
|
||||||
"icon": "link",
|
"icon": "link",
|
||||||
|
@ -17,12 +17,7 @@
|
||||||
},
|
},
|
||||||
"target": {
|
"target": {
|
||||||
"type": "enumeration",
|
"type": "enumeration",
|
||||||
"enum": [
|
"enum": ["_blank", "_self", "_parent", "_top"],
|
||||||
"_blank",
|
|
||||||
"_self",
|
|
||||||
"_parent",
|
|
||||||
"_top"
|
|
||||||
],
|
|
||||||
"default": "_self",
|
"default": "_self",
|
||||||
"required": true
|
"required": true
|
||||||
}
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"collectionName": "components_dynamic_zone_emphasise_articles",
|
"collectionName": "components_shared_emphasise_articles",
|
||||||
"info": {
|
"info": {
|
||||||
"displayName": "Artikel hervorheben",
|
"displayName": "Artikel hervorheben",
|
||||||
"icon": "dashboard",
|
"icon": "dashboard",
|
||||||
|
@ -12,17 +12,10 @@
|
||||||
"relation": "oneToMany",
|
"relation": "oneToMany",
|
||||||
"target": "api::article.article"
|
"target": "api::article.article"
|
||||||
},
|
},
|
||||||
"titel": {
|
|
||||||
"type": "string",
|
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
"description": {
|
|
||||||
"type": "text"
|
|
||||||
},
|
|
||||||
"base_url": {
|
"base_url": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"required": true,
|
"required": false,
|
||||||
"default": "/artikel"
|
"default": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -7,11 +7,6 @@
|
||||||
},
|
},
|
||||||
"options": {},
|
"options": {},
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"enable_detail": {
|
|
||||||
"type": "boolean",
|
|
||||||
"default": false,
|
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
"lookup": {
|
"lookup": {
|
||||||
"type": "relation",
|
"type": "relation",
|
||||||
"relation": "oneToOne",
|
"relation": "oneToOne",
|
||||||
|
|
File diff suppressed because it is too large
Load diff
152
types/generated/components.d.ts
vendored
152
types/generated/components.d.ts
vendored
|
@ -37,21 +37,6 @@ export interface DynamicZoneEmbedding extends Struct.ComponentSchema {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface DynamicZoneEmphasiseArticle extends Struct.ComponentSchema {
|
|
||||||
collectionName: "components_dynamic_zone_emphasise_articles";
|
|
||||||
info: {
|
|
||||||
description: "";
|
|
||||||
displayName: "Artikel hervorheben";
|
|
||||||
icon: "dashboard";
|
|
||||||
};
|
|
||||||
attributes: {
|
|
||||||
articles: Schema.Attribute.Relation<"oneToMany", "api::article.article">;
|
|
||||||
base_url: Schema.Attribute.String & Schema.Attribute.Required & Schema.Attribute.DefaultTo<"/artikel">;
|
|
||||||
description: Schema.Attribute.Text;
|
|
||||||
titel: Schema.Attribute.String & Schema.Attribute.Required;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface DynamicZoneFileDownload extends Struct.ComponentSchema {
|
export interface DynamicZoneFileDownload extends Struct.ComponentSchema {
|
||||||
collectionName: "components_dynamic_zone_file_download";
|
collectionName: "components_dynamic_zone_file_download";
|
||||||
info: {
|
info: {
|
||||||
|
@ -101,6 +86,29 @@ export interface DynamicZoneGallery extends Struct.ComponentSchema {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface DynamicZoneSection extends Struct.ComponentSchema {
|
||||||
|
collectionName: "components_dynamic_zone_section";
|
||||||
|
info: {
|
||||||
|
description: "";
|
||||||
|
displayName: "Abschnitt";
|
||||||
|
icon: "apps";
|
||||||
|
};
|
||||||
|
attributes: {
|
||||||
|
description: Schema.Attribute.Text;
|
||||||
|
titel: Schema.Attribute.String & Schema.Attribute.Required;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface DynamicZoneSpacer extends Struct.ComponentSchema {
|
||||||
|
collectionName: "components_dynamic_zone_spacer";
|
||||||
|
info: {
|
||||||
|
description: "";
|
||||||
|
displayName: "Abstand";
|
||||||
|
icon: "apps";
|
||||||
|
};
|
||||||
|
attributes: {};
|
||||||
|
}
|
||||||
|
|
||||||
export interface GlobalFooter extends Struct.ComponentSchema {
|
export interface GlobalFooter extends Struct.ComponentSchema {
|
||||||
collectionName: "components_global_footers";
|
collectionName: "components_global_footers";
|
||||||
info: {
|
info: {
|
||||||
|
@ -111,7 +119,7 @@ export interface GlobalFooter extends Struct.ComponentSchema {
|
||||||
attributes: {
|
attributes: {
|
||||||
copyright: Schema.Attribute.String;
|
copyright: Schema.Attribute.String;
|
||||||
designed_developed_by: Schema.Attribute.String;
|
designed_developed_by: Schema.Attribute.String;
|
||||||
links: Schema.Attribute.Component<"shared.link", true>;
|
links: Schema.Attribute.Component<"items.link", true>;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -128,6 +136,57 @@ export interface GlobalNavbar extends Struct.ComponentSchema {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface GlobalSeo extends Struct.ComponentSchema {
|
||||||
|
collectionName: "components_global_seos";
|
||||||
|
info: {
|
||||||
|
description: "";
|
||||||
|
displayName: "seo";
|
||||||
|
icon: "search";
|
||||||
|
};
|
||||||
|
attributes: {
|
||||||
|
keywords: Schema.Attribute.Text;
|
||||||
|
metaDescription: Schema.Attribute.String &
|
||||||
|
Schema.Attribute.Required &
|
||||||
|
Schema.Attribute.SetMinMaxLength<{
|
||||||
|
minLength: 50;
|
||||||
|
}>;
|
||||||
|
metaTitle: Schema.Attribute.String &
|
||||||
|
Schema.Attribute.Required &
|
||||||
|
Schema.Attribute.SetMinMaxLength<{
|
||||||
|
maxLength: 60;
|
||||||
|
}>;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ItemsHero extends Struct.ComponentSchema {
|
||||||
|
collectionName: "components_items_heroes";
|
||||||
|
info: {
|
||||||
|
description: "";
|
||||||
|
displayName: "hero";
|
||||||
|
icon: "rocket";
|
||||||
|
};
|
||||||
|
attributes: {
|
||||||
|
banner: Schema.Attribute.Media<"images"> & Schema.Attribute.Required;
|
||||||
|
title: Schema.Attribute.String & Schema.Attribute.Required;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ItemsLink extends Struct.ComponentSchema {
|
||||||
|
collectionName: "components_items_links";
|
||||||
|
info: {
|
||||||
|
description: "";
|
||||||
|
displayName: "Link";
|
||||||
|
icon: "link";
|
||||||
|
};
|
||||||
|
attributes: {
|
||||||
|
target: Schema.Attribute.Enumeration<["_blank", "_self", "_parent", "_top"]> &
|
||||||
|
Schema.Attribute.Required &
|
||||||
|
Schema.Attribute.DefaultTo<"_self">;
|
||||||
|
text: Schema.Attribute.String & Schema.Attribute.Required;
|
||||||
|
URL: Schema.Attribute.String & Schema.Attribute.Required;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
export interface ItemsNavbarItems extends Struct.ComponentSchema {
|
export interface ItemsNavbarItems extends Struct.ComponentSchema {
|
||||||
collectionName: "components_items_left_navbar_items";
|
collectionName: "components_items_left_navbar_items";
|
||||||
info: {
|
info: {
|
||||||
|
@ -158,32 +217,16 @@ export interface ItemsNavbarSubItems extends Struct.ComponentSchema {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SharedHero extends Struct.ComponentSchema {
|
export interface SharedEmphasiseArticle extends Struct.ComponentSchema {
|
||||||
collectionName: "components_shared_heroes";
|
collectionName: "components_shared_emphasise_articles";
|
||||||
info: {
|
info: {
|
||||||
description: "";
|
description: "";
|
||||||
displayName: "hero";
|
displayName: "Artikel hervorheben";
|
||||||
icon: "rocket";
|
icon: "dashboard";
|
||||||
};
|
};
|
||||||
attributes: {
|
attributes: {
|
||||||
banner: Schema.Attribute.Media<"images"> & Schema.Attribute.Required;
|
articles: Schema.Attribute.Relation<"oneToMany", "api::article.article">;
|
||||||
title: Schema.Attribute.String & Schema.Attribute.Required;
|
base_url: Schema.Attribute.String & Schema.Attribute.DefaultTo<"">;
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface SharedLink extends Struct.ComponentSchema {
|
|
||||||
collectionName: "components_shared_links";
|
|
||||||
info: {
|
|
||||||
description: "";
|
|
||||||
displayName: "Link";
|
|
||||||
icon: "link";
|
|
||||||
};
|
|
||||||
attributes: {
|
|
||||||
target: Schema.Attribute.Enumeration<["_blank", "_self", "_parent", "_top"]> &
|
|
||||||
Schema.Attribute.Required &
|
|
||||||
Schema.Attribute.DefaultTo<"_self">;
|
|
||||||
text: Schema.Attribute.String & Schema.Attribute.Required;
|
|
||||||
URL: Schema.Attribute.String & Schema.Attribute.Required;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -195,52 +238,31 @@ export interface SharedList extends Struct.ComponentSchema {
|
||||||
icon: "apps";
|
icon: "apps";
|
||||||
};
|
};
|
||||||
attributes: {
|
attributes: {
|
||||||
enable_detail: Schema.Attribute.Boolean & Schema.Attribute.Required & Schema.Attribute.DefaultTo<false>;
|
|
||||||
lookup: Schema.Attribute.Relation<"oneToOne", "api::collection-lookup.collection-lookup">;
|
lookup: Schema.Attribute.Relation<"oneToOne", "api::collection-lookup.collection-lookup">;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SharedSeo extends Struct.ComponentSchema {
|
|
||||||
collectionName: "components_shared_seos";
|
|
||||||
info: {
|
|
||||||
description: "";
|
|
||||||
displayName: "seo";
|
|
||||||
icon: "search";
|
|
||||||
};
|
|
||||||
attributes: {
|
|
||||||
keywords: Schema.Attribute.Text;
|
|
||||||
metaDescription: Schema.Attribute.String &
|
|
||||||
Schema.Attribute.Required &
|
|
||||||
Schema.Attribute.SetMinMaxLength<{
|
|
||||||
minLength: 50;
|
|
||||||
}>;
|
|
||||||
metaTitle: Schema.Attribute.String &
|
|
||||||
Schema.Attribute.Required &
|
|
||||||
Schema.Attribute.SetMinMaxLength<{
|
|
||||||
maxLength: 60;
|
|
||||||
}>;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
declare module "@strapi/strapi" {
|
declare module "@strapi/strapi" {
|
||||||
export module Public {
|
export module Public {
|
||||||
export interface ComponentSchemas {
|
export interface ComponentSchemas {
|
||||||
"dynamic-zone.column-image-text": DynamicZoneColumnImageText;
|
"dynamic-zone.column-image-text": DynamicZoneColumnImageText;
|
||||||
"dynamic-zone.dual-column-text": DynamicZoneDualColumnText;
|
"dynamic-zone.dual-column-text": DynamicZoneDualColumnText;
|
||||||
"dynamic-zone.embedding": DynamicZoneEmbedding;
|
"dynamic-zone.embedding": DynamicZoneEmbedding;
|
||||||
"dynamic-zone.emphasise-article": DynamicZoneEmphasiseArticle;
|
|
||||||
"dynamic-zone.file-download": DynamicZoneFileDownload;
|
"dynamic-zone.file-download": DynamicZoneFileDownload;
|
||||||
"dynamic-zone.full-image": DynamicZoneFullImage;
|
"dynamic-zone.full-image": DynamicZoneFullImage;
|
||||||
"dynamic-zone.full-text": DynamicZoneFullText;
|
"dynamic-zone.full-text": DynamicZoneFullText;
|
||||||
"dynamic-zone.gallery": DynamicZoneGallery;
|
"dynamic-zone.gallery": DynamicZoneGallery;
|
||||||
|
"dynamic-zone.section": DynamicZoneSection;
|
||||||
|
"dynamic-zone.spacer": DynamicZoneSpacer;
|
||||||
"global.footer": GlobalFooter;
|
"global.footer": GlobalFooter;
|
||||||
"global.navbar": GlobalNavbar;
|
"global.navbar": GlobalNavbar;
|
||||||
|
"global.seo": GlobalSeo;
|
||||||
|
"items.hero": ItemsHero;
|
||||||
|
"items.link": ItemsLink;
|
||||||
"items.navbar-items": ItemsNavbarItems;
|
"items.navbar-items": ItemsNavbarItems;
|
||||||
"items.navbar-sub-items": ItemsNavbarSubItems;
|
"items.navbar-sub-items": ItemsNavbarSubItems;
|
||||||
"shared.hero": SharedHero;
|
"shared.emphasise-article": SharedEmphasiseArticle;
|
||||||
"shared.link": SharedLink;
|
|
||||||
"shared.list": SharedList;
|
"shared.list": SharedList;
|
||||||
"shared.seo": SharedSeo;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
24
types/generated/contentTypes.d.ts
vendored
24
types/generated/contentTypes.d.ts
vendored
|
@ -374,6 +374,7 @@ export interface ApiCollectionLookupCollectionLookup extends Struct.CollectionTy
|
||||||
createdAt: Schema.Attribute.DateTime;
|
createdAt: Schema.Attribute.DateTime;
|
||||||
createdBy: Schema.Attribute.Relation<"oneToOne", "admin::user"> & Schema.Attribute.Private;
|
createdBy: Schema.Attribute.Relation<"oneToOne", "admin::user"> & Schema.Attribute.Private;
|
||||||
date_list: Schema.Attribute.Boolean & Schema.Attribute.Required & Schema.Attribute.DefaultTo<false>;
|
date_list: Schema.Attribute.Boolean & Schema.Attribute.Required & Schema.Attribute.DefaultTo<false>;
|
||||||
|
enable_detail: Schema.Attribute.Boolean & Schema.Attribute.Required & Schema.Attribute.DefaultTo<false>;
|
||||||
image_item: Schema.Attribute.Boolean & Schema.Attribute.Required & Schema.Attribute.DefaultTo<false>;
|
image_item: Schema.Attribute.Boolean & Schema.Attribute.Required & Schema.Attribute.DefaultTo<false>;
|
||||||
inverse_count: Schema.Attribute.Boolean & Schema.Attribute.Required & Schema.Attribute.DefaultTo<false>;
|
inverse_count: Schema.Attribute.Boolean & Schema.Attribute.Required & Schema.Attribute.DefaultTo<false>;
|
||||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||||
|
@ -430,12 +431,12 @@ export interface ApiGlobalGlobal extends Struct.SingleTypeSchema {
|
||||||
attributes: {
|
attributes: {
|
||||||
createdAt: Schema.Attribute.DateTime;
|
createdAt: Schema.Attribute.DateTime;
|
||||||
createdBy: Schema.Attribute.Relation<"oneToOne", "admin::user"> & Schema.Attribute.Private;
|
createdBy: Schema.Attribute.Relation<"oneToOne", "admin::user"> & Schema.Attribute.Private;
|
||||||
footer: Schema.Attribute.Component<"global.footer", false>;
|
footer: Schema.Attribute.Component<"global.footer", false> & Schema.Attribute.Required;
|
||||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||||
localizations: Schema.Attribute.Relation<"oneToMany", "api::global.global"> & Schema.Attribute.Private;
|
localizations: Schema.Attribute.Relation<"oneToMany", "api::global.global"> & Schema.Attribute.Private;
|
||||||
navbar: Schema.Attribute.Component<"global.navbar", false> & Schema.Attribute.Required;
|
navbar: Schema.Attribute.Component<"global.navbar", false> & Schema.Attribute.Required;
|
||||||
publishedAt: Schema.Attribute.DateTime;
|
publishedAt: Schema.Attribute.DateTime;
|
||||||
SEO: Schema.Attribute.Component<"shared.seo", false>;
|
SEO: Schema.Attribute.Component<"global.seo", false>;
|
||||||
updatedAt: Schema.Attribute.DateTime;
|
updatedAt: Schema.Attribute.DateTime;
|
||||||
updatedBy: Schema.Attribute.Relation<"oneToOne", "admin::user"> & Schema.Attribute.Private;
|
updatedBy: Schema.Attribute.Relation<"oneToOne", "admin::user"> & Schema.Attribute.Private;
|
||||||
};
|
};
|
||||||
|
@ -453,21 +454,24 @@ export interface ApiHomepageHomepage extends Struct.SingleTypeSchema {
|
||||||
draftAndPublish: true;
|
draftAndPublish: true;
|
||||||
};
|
};
|
||||||
attributes: {
|
attributes: {
|
||||||
backdrop: Schema.Attribute.Media<"images"> & Schema.Attribute.Required;
|
backdrop: Schema.Attribute.Media<"images">;
|
||||||
content: Schema.Attribute.DynamicZone<
|
content: Schema.Attribute.DynamicZone<
|
||||||
[
|
[
|
||||||
|
"dynamic-zone.spacer",
|
||||||
|
"dynamic-zone.section",
|
||||||
"dynamic-zone.gallery",
|
"dynamic-zone.gallery",
|
||||||
"dynamic-zone.full-text",
|
"dynamic-zone.full-text",
|
||||||
"dynamic-zone.full-image",
|
"dynamic-zone.full-image",
|
||||||
"dynamic-zone.emphasise-article",
|
|
||||||
"dynamic-zone.dual-column-text",
|
"dynamic-zone.dual-column-text",
|
||||||
"dynamic-zone.column-image-text",
|
"dynamic-zone.column-image-text",
|
||||||
|
"dynamic-zone.file-download",
|
||||||
|
"dynamic-zone.embedding",
|
||||||
|
"shared.emphasise-article",
|
||||||
"shared.list",
|
"shared.list",
|
||||||
]
|
]
|
||||||
>;
|
>;
|
||||||
createdAt: Schema.Attribute.DateTime;
|
createdAt: Schema.Attribute.DateTime;
|
||||||
createdBy: Schema.Attribute.Relation<"oneToOne", "admin::user"> & Schema.Attribute.Private;
|
createdBy: Schema.Attribute.Relation<"oneToOne", "admin::user"> & Schema.Attribute.Private;
|
||||||
hide_backdrop: Schema.Attribute.Boolean & Schema.Attribute.Required & Schema.Attribute.DefaultTo<false>;
|
|
||||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||||
localizations: Schema.Attribute.Relation<"oneToMany", "api::homepage.homepage"> & Schema.Attribute.Private;
|
localizations: Schema.Attribute.Relation<"oneToMany", "api::homepage.homepage"> & Schema.Attribute.Private;
|
||||||
publishedAt: Schema.Attribute.DateTime;
|
publishedAt: Schema.Attribute.DateTime;
|
||||||
|
@ -519,20 +523,22 @@ export interface ApiPagePage extends Struct.CollectionTypeSchema {
|
||||||
attributes: {
|
attributes: {
|
||||||
content: Schema.Attribute.DynamicZone<
|
content: Schema.Attribute.DynamicZone<
|
||||||
[
|
[
|
||||||
|
"dynamic-zone.spacer",
|
||||||
|
"dynamic-zone.section",
|
||||||
|
"dynamic-zone.embedding",
|
||||||
|
"dynamic-zone.file-download",
|
||||||
"dynamic-zone.gallery",
|
"dynamic-zone.gallery",
|
||||||
"dynamic-zone.full-text",
|
"dynamic-zone.full-text",
|
||||||
"dynamic-zone.full-image",
|
"dynamic-zone.full-image",
|
||||||
"dynamic-zone.emphasise-article",
|
|
||||||
"dynamic-zone.dual-column-text",
|
"dynamic-zone.dual-column-text",
|
||||||
"dynamic-zone.column-image-text",
|
"dynamic-zone.column-image-text",
|
||||||
|
"shared.emphasise-article",
|
||||||
"shared.list",
|
"shared.list",
|
||||||
"dynamic-zone.file-download",
|
|
||||||
"dynamic-zone.embedding",
|
|
||||||
]
|
]
|
||||||
>;
|
>;
|
||||||
createdAt: Schema.Attribute.DateTime;
|
createdAt: Schema.Attribute.DateTime;
|
||||||
createdBy: Schema.Attribute.Relation<"oneToOne", "admin::user"> & Schema.Attribute.Private;
|
createdBy: Schema.Attribute.Relation<"oneToOne", "admin::user"> & Schema.Attribute.Private;
|
||||||
hero: Schema.Attribute.Component<"shared.hero", false>;
|
hero: Schema.Attribute.Component<"items.hero", false>;
|
||||||
identifier: Schema.Attribute.String & Schema.Attribute.Required & Schema.Attribute.Unique;
|
identifier: Schema.Attribute.String & Schema.Attribute.Required & Schema.Attribute.Unique;
|
||||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||||
localizations: Schema.Attribute.Relation<"oneToMany", "api::page.page"> & Schema.Attribute.Private;
|
localizations: Schema.Attribute.Relation<"oneToMany", "api::page.page"> & Schema.Attribute.Private;
|
||||||
|
|
Loading…
Add table
Reference in a new issue