Build base types
This commit is contained in:
22
types/generated/components.d.ts
vendored
Normal file
22
types/generated/components.d.ts
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import type { Schema, Struct } from '@strapi/strapi';
|
||||
|
||||
export interface GlobalSeo extends Struct.ComponentSchema {
|
||||
collectionName: 'components_global_seos';
|
||||
info: {
|
||||
displayName: 'SEO';
|
||||
icon: 'stack';
|
||||
};
|
||||
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.seo': GlobalSeo;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user