Files
softclick-cms/types/generated/components.d.ts
Zotov Ivan Yuryevich 2ed71cfa30 add content, add swagger
2026-04-05 15:06:27 +03:00

46 lines
1.1 KiB
TypeScript

import type { Schema, Struct } from '@strapi/strapi';
export interface SectionsHomeHero extends Struct.ComponentSchema {
collectionName: 'components_sections_home_heroes';
info: {
displayName: 'HomeHero';
};
attributes: {
badge: Schema.Attribute.String;
description: Schema.Attribute.Text;
stats: Schema.Attribute.Component<'shared.attribute', true>;
title: Schema.Attribute.String;
};
}
export interface SharedAttribute extends Struct.ComponentSchema {
collectionName: 'components_shared_attributes';
info: {
displayName: 'Attribute';
};
attributes: {
key: Schema.Attribute.String;
value: Schema.Attribute.String;
};
}
export interface SharedProduct extends Struct.ComponentSchema {
collectionName: 'components_shared_products';
info: {
displayName: 'Product';
};
attributes: {
title: Schema.Attribute.String & Schema.Attribute.Required;
};
}
declare module '@strapi/strapi' {
export module Public {
export interface ComponentSchemas {
'sections.home-hero': SectionsHomeHero;
'shared.attribute': SharedAttribute;
'shared.product': SharedProduct;
}
}
}