add sections

This commit is contained in:
Zotov Ivan Yuryevich
2026-04-08 23:23:52 +03:00
parent 1197af4fb7
commit 72c9248b81
19 changed files with 2616 additions and 312 deletions

View File

@@ -441,7 +441,7 @@ export interface ApiCategoryCategory extends Struct.CollectionTypeSchema {
draftAndPublish: true;
};
attributes: {
comment: Schema.Attribute.String;
badge: Schema.Attribute.String;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
@@ -488,7 +488,15 @@ export interface ApiHomePageHomePage extends Struct.SingleTypeSchema {
> &
Schema.Attribute.Private;
publishedAt: Schema.Attribute.DateTime;
sections: Schema.Attribute.DynamicZone<['sections.home-hero']>;
sections: Schema.Attribute.DynamicZone<
[
'sections.home-hero',
'sections.services',
'sections.solutions',
'sections.cases',
'sections.about',
]
>;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
@@ -549,7 +557,7 @@ export interface ApiVendorVendor extends Struct.CollectionTypeSchema {
'api::vendor.vendor'
> &
Schema.Attribute.Private;
products: Schema.Attribute.Component<'shared.product', true>;
products: Schema.Attribute.Component<'shared.string', true>;
publishedAt: Schema.Attribute.DateTime;
slug: Schema.Attribute.UID & Schema.Attribute.Required;
title: Schema.Attribute.String;