model changes
This commit is contained in:
parent
3ba5330e19
commit
1cfefa450b
15 changed files with 545 additions and 408 deletions
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 {
|
||||
collectionName: "components_dynamic_zone_file_download";
|
||||
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 {
|
||||
collectionName: "components_global_footers";
|
||||
info: {
|
||||
|
@ -111,7 +119,7 @@ export interface GlobalFooter extends Struct.ComponentSchema {
|
|||
attributes: {
|
||||
copyright: 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 {
|
||||
collectionName: "components_items_left_navbar_items";
|
||||
info: {
|
||||
|
@ -158,32 +217,16 @@ export interface ItemsNavbarSubItems extends Struct.ComponentSchema {
|
|||
};
|
||||
}
|
||||
|
||||
export interface SharedHero extends Struct.ComponentSchema {
|
||||
collectionName: "components_shared_heroes";
|
||||
export interface SharedEmphasiseArticle extends Struct.ComponentSchema {
|
||||
collectionName: "components_shared_emphasise_articles";
|
||||
info: {
|
||||
description: "";
|
||||
displayName: "hero";
|
||||
icon: "rocket";
|
||||
displayName: "Artikel hervorheben";
|
||||
icon: "dashboard";
|
||||
};
|
||||
attributes: {
|
||||
banner: Schema.Attribute.Media<"images"> & Schema.Attribute.Required;
|
||||
title: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
};
|
||||
}
|
||||
|
||||
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;
|
||||
articles: Schema.Attribute.Relation<"oneToMany", "api::article.article">;
|
||||
base_url: Schema.Attribute.String & Schema.Attribute.DefaultTo<"">;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -195,52 +238,31 @@ export interface SharedList extends Struct.ComponentSchema {
|
|||
icon: "apps";
|
||||
};
|
||||
attributes: {
|
||||
enable_detail: Schema.Attribute.Boolean & Schema.Attribute.Required & Schema.Attribute.DefaultTo<false>;
|
||||
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" {
|
||||
export module Public {
|
||||
export interface ComponentSchemas {
|
||||
"dynamic-zone.column-image-text": DynamicZoneColumnImageText;
|
||||
"dynamic-zone.dual-column-text": DynamicZoneDualColumnText;
|
||||
"dynamic-zone.embedding": DynamicZoneEmbedding;
|
||||
"dynamic-zone.emphasise-article": DynamicZoneEmphasiseArticle;
|
||||
"dynamic-zone.file-download": DynamicZoneFileDownload;
|
||||
"dynamic-zone.full-image": DynamicZoneFullImage;
|
||||
"dynamic-zone.full-text": DynamicZoneFullText;
|
||||
"dynamic-zone.gallery": DynamicZoneGallery;
|
||||
"dynamic-zone.section": DynamicZoneSection;
|
||||
"dynamic-zone.spacer": DynamicZoneSpacer;
|
||||
"global.footer": GlobalFooter;
|
||||
"global.navbar": GlobalNavbar;
|
||||
"global.seo": GlobalSeo;
|
||||
"items.hero": ItemsHero;
|
||||
"items.link": ItemsLink;
|
||||
"items.navbar-items": ItemsNavbarItems;
|
||||
"items.navbar-sub-items": ItemsNavbarSubItems;
|
||||
"shared.hero": SharedHero;
|
||||
"shared.link": SharedLink;
|
||||
"shared.emphasise-article": SharedEmphasiseArticle;
|
||||
"shared.list": SharedList;
|
||||
"shared.seo": SharedSeo;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue