50 lines
1.3 KiB
TypeScript
50 lines
1.3 KiB
TypeScript
import type { Schema, Struct } from '@strapi/strapi';
|
|
|
|
export interface GlobalDescriptiveList extends Struct.ComponentSchema {
|
|
collectionName: 'components_global_descriptive_lists';
|
|
info: {
|
|
displayName: 'Descriptive List';
|
|
icon: 'bulletList';
|
|
};
|
|
attributes: {
|
|
content: Schema.Attribute.Blocks;
|
|
label: Schema.Attribute.String;
|
|
};
|
|
}
|
|
|
|
export interface GlobalMosaicItem extends Struct.ComponentSchema {
|
|
collectionName: 'components_global_mosaic_items';
|
|
info: {
|
|
displayName: 'Mosaic Item';
|
|
icon: 'apps';
|
|
};
|
|
attributes: {
|
|
content: Schema.Attribute.Blocks;
|
|
dl: Schema.Attribute.Component<'global.descriptive-list', true>;
|
|
image: Schema.Attribute.Media<'images'>;
|
|
title: Schema.Attribute.String;
|
|
};
|
|
}
|
|
|
|
export interface GlobalSeo extends Struct.ComponentSchema {
|
|
collectionName: 'components_global_seos';
|
|
info: {
|
|
displayName: 'SEO';
|
|
icon: 'filter';
|
|
};
|
|
attributes: {
|
|
description: Schema.Attribute.Text;
|
|
image: Schema.Attribute.Media<'images'>;
|
|
title: Schema.Attribute.String;
|
|
};
|
|
}
|
|
|
|
declare module '@strapi/strapi' {
|
|
export module Public {
|
|
export interface ComponentSchemas {
|
|
'global.descriptive-list': GlobalDescriptiveList;
|
|
'global.mosaic-item': GlobalMosaicItem;
|
|
'global.seo': GlobalSeo;
|
|
}
|
|
}
|
|
}
|