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

209 lines
6 KiB
TypeScript
Raw Normal View History

2024-10-30 13:50:13 +00:00
import type { Schema, Struct } from '@strapi/strapi';
export interface DynamicZoneColumnImageText extends Struct.ComponentSchema {
collectionName: 'components_dynamic_zone_column_image_texts';
info: {
description: '';
2024-11-01 10:20:16 +00:00
displayName: 'Text-Bild-Spalte';
2024-10-30 13:50:13 +00:00
icon: 'bulletList';
};
attributes: {
image: Schema.Attribute.Media<'images'> & Schema.Attribute.Required;
image_left: Schema.Attribute.Boolean &
Schema.Attribute.Required &
Schema.Attribute.DefaultTo<true>;
text: Schema.Attribute.Blocks & Schema.Attribute.Required;
};
}
export interface DynamicZoneDualColumnText extends Struct.ComponentSchema {
collectionName: 'components_dynamic_zone_dual_column_texts';
info: {
2024-11-01 10:20:16 +00:00
displayName: 'Text-Text-Spalte';
2024-10-30 13:50:13 +00:00
icon: 'stack';
};
attributes: {
left_side: Schema.Attribute.Blocks & Schema.Attribute.Required;
right_side: Schema.Attribute.Blocks & Schema.Attribute.Required;
};
}
export interface DynamicZoneEmphasiseArticle extends Struct.ComponentSchema {
collectionName: 'components_dynamic_zone_emphasise_articles';
info: {
description: '';
2024-11-01 10:20:16 +00:00
displayName: 'Artikel hervorheben';
2024-10-30 13:50:13 +00:00
icon: 'dashboard';
};
attributes: {
articles: Schema.Attribute.Relation<'oneToMany', 'api::article.article'>;
description: Schema.Attribute.Text;
titel: Schema.Attribute.String & Schema.Attribute.Required;
};
}
export interface DynamicZoneFullImage extends Struct.ComponentSchema {
collectionName: 'components_dynamic_zone_full_images';
info: {
description: '';
2024-11-01 10:20:16 +00:00
displayName: 'Voll-Bild';
2024-10-30 13:50:13 +00:00
icon: 'dashboard';
};
attributes: {
image: Schema.Attribute.Media<'images'> & Schema.Attribute.Required;
};
}
export interface DynamicZoneFullText extends Struct.ComponentSchema {
collectionName: 'components_dynamic_zone_full_texts';
info: {
description: '';
2024-11-01 10:20:16 +00:00
displayName: 'Voll-Text';
2024-10-30 13:50:13 +00:00
icon: 'dashboard';
};
attributes: {
text: Schema.Attribute.Blocks & Schema.Attribute.Required;
};
}
export interface DynamicZoneGallery extends Struct.ComponentSchema {
collectionName: 'components_dynamic_zone_galleries';
info: {
2024-11-02 11:46:48 +00:00
description: '';
2024-11-01 10:20:16 +00:00
displayName: 'Galerie';
2024-10-30 13:50:13 +00:00
icon: 'apps';
};
attributes: {
2024-11-02 11:46:48 +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 {
collectionName: 'components_global_footers';
info: {
description: '';
2024-11-01 10:20:16 +00:00
displayName: 'Fu\u00DFzeile';
2024-10-30 13:50:13 +00:00
icon: 'apps';
};
attributes: {
copyright: Schema.Attribute.String;
designed_developed_by: Schema.Attribute.String;
links: Schema.Attribute.Component<'shared.link', true>;
};
}
export interface GlobalNavbar extends Struct.ComponentSchema {
collectionName: 'components_global_navbars';
info: {
description: '';
2024-11-01 10:20:16 +00:00
displayName: 'Navigationsleiste';
2024-10-30 13:50:13 +00:00
icon: 'bold';
};
attributes: {
logo: Schema.Attribute.Media<'images'> & Schema.Attribute.Required;
navbar_items: Schema.Attribute.Component<'items.navbar-items', true>;
};
}
export interface ItemsNavbarItems extends Struct.ComponentSchema {
collectionName: 'components_items_left_navbar_items';
info: {
description: '';
2024-11-01 10:20:16 +00:00
displayName: 'Navigations-\u00DCberpunkt';
2024-10-30 13:50:13 +00:00
icon: 'bulletList';
};
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;
navbar_sub_items: Schema.Attribute.Component<
'items.navbar-sub-items',
true
>;
page: Schema.Attribute.Relation<'oneToOne', 'api::page.page'>;
URL: Schema.Attribute.String;
};
}
export interface ItemsNavbarSubItems extends Struct.ComponentSchema {
collectionName: 'components_items_navbar_sub_items';
info: {
description: '';
2024-11-01 10:20:16 +00:00
displayName: 'Navigations-Unterpunkt';
2024-10-30 13:50:13 +00:00
icon: 'bulletList';
};
attributes: {
name: Schema.Attribute.String & Schema.Attribute.Required;
page: Schema.Attribute.Relation<'oneToOne', 'api::page.page'>;
URL: Schema.Attribute.String & Schema.Attribute.Required;
};
}
export interface SharedHero extends Struct.ComponentSchema {
collectionName: 'components_shared_heroes';
info: {
2024-11-02 11:46:48 +00:00
description: '';
2024-10-30 13:50:13 +00:00
displayName: 'hero';
icon: 'rocket';
};
attributes: {
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 {
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;
};
}
export interface SharedList extends Struct.ComponentSchema {
collectionName: 'components_shared_lists';
info: {
description: '';
2024-11-01 10:20:16 +00:00
displayName: 'Inhaltsauswahl';
2024-10-30 13:50:13 +00:00
icon: 'apps';
};
attributes: {
enable_detail: Schema.Attribute.Boolean &
Schema.Attribute.Required &
Schema.Attribute.DefaultTo<false>;
2024-11-03 14:34:29 +00:00
lookup: Schema.Attribute.Relation<
2024-11-03 10:01:51 +00:00
'oneToOne',
'api::collection-lookup.collection-lookup'
>;
2024-10-30 13:50:13 +00:00
};
}
declare module '@strapi/strapi' {
export module Public {
export interface ComponentSchemas {
'dynamic-zone.column-image-text': DynamicZoneColumnImageText;
'dynamic-zone.dual-column-text': DynamicZoneDualColumnText;
'dynamic-zone.emphasise-article': DynamicZoneEmphasiseArticle;
'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;
}
}
}