|
|
@@ -369,6 +369,37 @@ export interface AdminUser extends Struct.CollectionTypeSchema {
|
|
|
};
|
|
|
}
|
|
|
|
|
|
+export interface ApiComponentComponent extends Struct.CollectionTypeSchema {
|
|
|
+ collectionName: 'components';
|
|
|
+ info: {
|
|
|
+ displayName: 'Component';
|
|
|
+ pluralName: 'components';
|
|
|
+ singularName: 'component';
|
|
|
+ };
|
|
|
+ options: {
|
|
|
+ draftAndPublish: true;
|
|
|
+ };
|
|
|
+ attributes: {
|
|
|
+ bg: Schema.Attribute.Boolean;
|
|
|
+ content: Schema.Attribute.Blocks;
|
|
|
+ createdAt: Schema.Attribute.DateTime;
|
|
|
+ createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
+ Schema.Attribute.Private;
|
|
|
+ label: Schema.Attribute.String;
|
|
|
+ locale: Schema.Attribute.String & Schema.Attribute.Private;
|
|
|
+ localizations: Schema.Attribute.Relation<
|
|
|
+ 'oneToMany',
|
|
|
+ 'api::component.component'
|
|
|
+ > &
|
|
|
+ Schema.Attribute.Private;
|
|
|
+ publishedAt: Schema.Attribute.DateTime;
|
|
|
+ type: Schema.Attribute.Enumeration<['component-dark', 'component-light']>;
|
|
|
+ updatedAt: Schema.Attribute.DateTime;
|
|
|
+ updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
+ Schema.Attribute.Private;
|
|
|
+ };
|
|
|
+}
|
|
|
+
|
|
|
export interface ApiFooterContentPageFooterContentPage
|
|
|
extends Struct.CollectionTypeSchema {
|
|
|
collectionName: 'footer_content_pages';
|
|
|
@@ -1101,6 +1132,7 @@ declare module '@strapi/strapi' {
|
|
|
'admin::transfer-token': AdminTransferToken;
|
|
|
'admin::transfer-token-permission': AdminTransferTokenPermission;
|
|
|
'admin::user': AdminUser;
|
|
|
+ 'api::component.component': ApiComponentComponent;
|
|
|
'api::footer-content-page.footer-content-page': ApiFooterContentPageFooterContentPage;
|
|
|
'api::hotel.hotel': ApiHotelHotel;
|
|
|
'api::navigation.navigation': ApiNavigationNavigation;
|