35 lines
839 B
TypeScript
35 lines
839 B
TypeScript
import type { Schema, Struct } from '@strapi/strapi';
|
|
|
|
export interface GlobalMosaicItem extends Struct.ComponentSchema {
|
|
collectionName: 'components_global_mosaic_items';
|
|
info: {
|
|
displayName: 'Mosaic Item';
|
|
icon: 'apps';
|
|
};
|
|
attributes: {
|
|
image: Schema.Attribute.Media<'images'>;
|
|
note: Schema.Attribute.Blocks;
|
|
};
|
|
}
|
|
|
|
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.mosaic-item': GlobalMosaicItem;
|
|
'global.seo': GlobalSeo;
|
|
}
|
|
}
|
|
}
|