ff-webpage-cms/types/generated/components.d.ts

235 lines
7.1 KiB
TypeScript
Raw Normal View History

2025-01-05 17:31:40 +00:00
import type { Schema, Struct } from "@strapi/strapi";
2024-10-30 13:50:13 +00:00
export interface DynamicZoneColumnImageText extends Struct.ComponentSchema {
2025-01-05 17:31:40 +00:00
collectionName: "components_dynamic_zone_column_image_texts";
2024-10-30 13:50:13 +00:00
info: {
2025-01-05 17:31:40 +00:00
description: "";
displayName: "Text-Bild-Spalte";
icon: "bulletList";
2024-10-30 13:50:13 +00:00
};
attributes: {
2025-01-05 17:31:40 +00:00
image: Schema.Attribute.Media<"images"> & Schema.Attribute.Required;
image_left: Schema.Attribute.Boolean & Schema.Attribute.Required & Schema.Attribute.DefaultTo<true>;
2024-10-30 13:50:13 +00:00
text: Schema.Attribute.Blocks & Schema.Attribute.Required;
};
}
export interface DynamicZoneDualColumnText extends Struct.ComponentSchema {
2025-01-05 17:31:40 +00:00
collectionName: "components_dynamic_zone_dual_column_texts";
2024-10-30 13:50:13 +00:00
info: {
2025-01-05 17:31:40 +00:00
displayName: "Text-Text-Spalte";
icon: "stack";
2024-10-30 13:50:13 +00:00
};
attributes: {
left_side: Schema.Attribute.Blocks & Schema.Attribute.Required;
right_side: Schema.Attribute.Blocks & Schema.Attribute.Required;
};
}
export interface DynamicZoneEmphasiseArticle extends Struct.ComponentSchema {
2025-01-05 17:31:40 +00:00
collectionName: "components_dynamic_zone_emphasise_articles";
2024-10-30 13:50:13 +00:00
info: {
2025-01-05 17:31:40 +00:00
description: "";
displayName: "Artikel hervorheben";
icon: "dashboard";
2024-10-30 13:50:13 +00:00
};
attributes: {
2025-01-05 17:31:40 +00:00
articles: Schema.Attribute.Relation<"oneToMany", "api::article.article">;
base_url: Schema.Attribute.String & Schema.Attribute.Required & Schema.Attribute.DefaultTo<"/artikel">;
2024-10-30 13:50:13 +00:00
description: Schema.Attribute.Text;
titel: Schema.Attribute.String & Schema.Attribute.Required;
};
}
2025-01-18 10:30:50 +00:00
export interface DynamicZoneFileDownload extends Struct.ComponentSchema {
collectionName: "components_dynamic_zone_file_download";
info: {
description: "";
displayName: "Datei-Download";
};
attributes: {
enable_download: Schema.Attribute.Boolean & Schema.Attribute.Required & Schema.Attribute.DefaultTo<true>;
file: Schema.Attribute.Media<"files" | "images"> & Schema.Attribute.Required;
title: Schema.Attribute.String & Schema.Attribute.Required;
};
}
2024-10-30 13:50:13 +00:00
export interface DynamicZoneFullImage extends Struct.ComponentSchema {
2025-01-05 17:31:40 +00:00
collectionName: "components_dynamic_zone_full_images";
2024-10-30 13:50:13 +00:00
info: {
2025-01-05 17:31:40 +00:00
description: "";
displayName: "Voll-Bild";
icon: "dashboard";
2024-10-30 13:50:13 +00:00
};
attributes: {
2025-01-05 17:31:40 +00:00
image: Schema.Attribute.Media<"images"> & Schema.Attribute.Required;
2024-10-30 13:50:13 +00:00
};
}
export interface DynamicZoneFullText extends Struct.ComponentSchema {
2025-01-05 17:31:40 +00:00
collectionName: "components_dynamic_zone_full_texts";
2024-10-30 13:50:13 +00:00
info: {
2025-01-05 17:31:40 +00:00
description: "";
displayName: "Voll-Text";
icon: "dashboard";
2024-10-30 13:50:13 +00:00
};
attributes: {
text: Schema.Attribute.Blocks & Schema.Attribute.Required;
};
}
export interface DynamicZoneGallery extends Struct.ComponentSchema {
2025-01-05 17:31:40 +00:00
collectionName: "components_dynamic_zone_galleries";
2024-10-30 13:50:13 +00:00
info: {
2025-01-05 17:31:40 +00:00
description: "";
displayName: "Galerie";
icon: "apps";
2024-10-30 13:50:13 +00:00
};
attributes: {
2025-01-05 17:31:40 +00:00
images: Schema.Attribute.Media<"images", true> & Schema.Attribute.Required;
2024-10-30 13:50:13 +00:00
};
}
export interface GlobalFooter extends Struct.ComponentSchema {
2025-01-05 17:31:40 +00:00
collectionName: "components_global_footers";
2024-10-30 13:50:13 +00:00
info: {
2025-01-05 17:31:40 +00:00
description: "";
displayName: "Fu\u00DFzeile";
icon: "apps";
2024-10-30 13:50:13 +00:00
};
attributes: {
copyright: Schema.Attribute.String;
designed_developed_by: Schema.Attribute.String;
2025-01-05 17:31:40 +00:00
links: Schema.Attribute.Component<"shared.link", true>;
2024-10-30 13:50:13 +00:00
};
}
export interface GlobalNavbar extends Struct.ComponentSchema {
2025-01-05 17:31:40 +00:00
collectionName: "components_global_navbars";
2024-10-30 13:50:13 +00:00
info: {
2025-01-05 17:31:40 +00:00
description: "";
displayName: "Navigationsleiste";
icon: "bold";
2024-10-30 13:50:13 +00:00
};
attributes: {
2025-01-05 17:31:40 +00:00
logo: Schema.Attribute.Media<"images"> & Schema.Attribute.Required;
navbar_items: Schema.Attribute.Component<"items.navbar-items", true>;
2024-10-30 13:50:13 +00:00
};
}
export interface ItemsNavbarItems extends Struct.ComponentSchema {
2025-01-05 17:31:40 +00:00
collectionName: "components_items_left_navbar_items";
2024-10-30 13:50:13 +00:00
info: {
2025-01-05 17:31:40 +00:00
description: "";
displayName: "Navigations-\u00DCberpunkt";
icon: "bulletList";
2024-10-30 13:50:13 +00:00
};
attributes: {
2024-11-01 10:20:16 +00:00
default_active_child: Schema.Attribute.String;
2024-10-30 13:50:13 +00:00
name: Schema.Attribute.String;
2025-01-05 17:31:40 +00:00
navbar_sub_items: Schema.Attribute.Component<"items.navbar-sub-items", true>;
page: Schema.Attribute.Relation<"oneToOne", "api::page.page">;
2024-10-30 13:50:13 +00:00
URL: Schema.Attribute.String;
};
}
export interface ItemsNavbarSubItems extends Struct.ComponentSchema {
2025-01-05 17:31:40 +00:00
collectionName: "components_items_navbar_sub_items";
2024-10-30 13:50:13 +00:00
info: {
2025-01-05 17:31:40 +00:00
description: "";
displayName: "Navigations-Unterpunkt";
icon: "bulletList";
2024-10-30 13:50:13 +00:00
};
attributes: {
name: Schema.Attribute.String & Schema.Attribute.Required;
2025-01-05 17:31:40 +00:00
page: Schema.Attribute.Relation<"oneToOne", "api::page.page">;
2024-10-30 13:50:13 +00:00
URL: Schema.Attribute.String & Schema.Attribute.Required;
};
}
export interface SharedHero extends Struct.ComponentSchema {
2025-01-05 17:31:40 +00:00
collectionName: "components_shared_heroes";
2024-10-30 13:50:13 +00:00
info: {
2025-01-05 17:31:40 +00:00
description: "";
displayName: "hero";
icon: "rocket";
2024-10-30 13:50:13 +00:00
};
attributes: {
2025-01-05 17:31:40 +00:00
banner: Schema.Attribute.Media<"images"> & Schema.Attribute.Required;
2024-11-02 11:46:48 +00:00
title: Schema.Attribute.String & Schema.Attribute.Required;
2024-10-30 13:50:13 +00:00
};
}
export interface SharedLink extends Struct.ComponentSchema {
2025-01-05 17:31:40 +00:00
collectionName: "components_shared_links";
2024-10-30 13:50:13 +00:00
info: {
2025-01-05 17:31:40 +00:00
description: "";
displayName: "Link";
icon: "link";
2024-10-30 13:50:13 +00:00
};
attributes: {
2025-01-05 17:31:40 +00:00
target: Schema.Attribute.Enumeration<["_blank", "_self", "_parent", "_top"]> &
2024-10-30 13:50:13 +00:00
Schema.Attribute.Required &
2025-01-05 17:31:40 +00:00
Schema.Attribute.DefaultTo<"_self">;
2024-10-30 13:50:13 +00:00
text: Schema.Attribute.String & Schema.Attribute.Required;
URL: Schema.Attribute.String & Schema.Attribute.Required;
};
}
export interface SharedList extends Struct.ComponentSchema {
2025-01-05 17:31:40 +00:00
collectionName: "components_shared_lists";
2024-10-30 13:50:13 +00:00
info: {
2025-01-05 17:31:40 +00:00
description: "";
displayName: "Inhaltsauswahl";
icon: "apps";
2024-10-30 13:50:13 +00:00
};
attributes: {
2025-01-05 17:31:40 +00:00
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 &
2024-10-30 13:50:13 +00:00
Schema.Attribute.Required &
2025-01-05 17:31:40 +00:00
Schema.Attribute.SetMinMaxLength<{
maxLength: 60;
}>;
2024-10-30 13:50:13 +00:00
};
}
2025-01-05 17:31:40 +00:00
declare module "@strapi/strapi" {
2024-10-30 13:50:13 +00:00
export module Public {
export interface ComponentSchemas {
2025-01-05 17:31:40 +00:00
"dynamic-zone.column-image-text": DynamicZoneColumnImageText;
"dynamic-zone.dual-column-text": DynamicZoneDualColumnText;
"dynamic-zone.emphasise-article": DynamicZoneEmphasiseArticle;
2025-01-18 10:30:50 +00:00
"dynamic-zone.file-download": DynamicZoneFileDownload;
2025-01-05 17:31:40 +00:00
"dynamic-zone.full-image": DynamicZoneFullImage;
"dynamic-zone.full-text": DynamicZoneFullText;
"dynamic-zone.gallery": DynamicZoneGallery;
"global.footer": GlobalFooter;
"global.navbar": GlobalNavbar;
"items.navbar-items": ItemsNavbarItems;
"items.navbar-sub-items": ItemsNavbarSubItems;
"shared.hero": SharedHero;
"shared.link": SharedLink;
"shared.list": SharedList;
"shared.seo": SharedSeo;
2024-10-30 13:50:13 +00:00
}
}
}