component enhancements

This commit is contained in:
Julian Krauser 2024-11-02 12:46:48 +01:00
parent 9c8037277f
commit 832994d13e
6 changed files with 133 additions and 126 deletions

View file

@ -69,11 +69,12 @@ export interface DynamicZoneFullText extends Struct.ComponentSchema {
export interface DynamicZoneGallery extends Struct.ComponentSchema {
collectionName: 'components_dynamic_zone_galleries';
info: {
description: '';
displayName: 'Galerie';
icon: 'apps';
};
attributes: {
images: Schema.Attribute.Media<'images'> & Schema.Attribute.Required;
images: Schema.Attribute.Media<'images', true> & Schema.Attribute.Required;
};
}
@ -140,12 +141,13 @@ export interface ItemsNavbarSubItems extends Struct.ComponentSchema {
export interface SharedHero extends Struct.ComponentSchema {
collectionName: 'components_shared_heroes';
info: {
description: '';
displayName: 'hero';
icon: 'rocket';
};
attributes: {
banner: Schema.Attribute.Media<'images'> & Schema.Attribute.Required;
titel: Schema.Attribute.String & Schema.Attribute.Required;
title: Schema.Attribute.String & Schema.Attribute.Required;
};
}

View file

@ -689,7 +689,7 @@ export interface ApiPagePage extends Struct.CollectionTypeSchema {
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
Hero: Schema.Attribute.Component<'shared.hero', false> &
hero: Schema.Attribute.Component<'shared.hero', false> &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;