add strapi
This commit is contained in:
87
strapi-yoga/types/generated/components.d.ts
vendored
Normal file
87
strapi-yoga/types/generated/components.d.ts
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
import type { Schema, Struct } from '@strapi/strapi';
|
||||
|
||||
export interface SharedMedia extends Struct.ComponentSchema {
|
||||
collectionName: 'components_shared_media';
|
||||
info: {
|
||||
displayName: 'Media';
|
||||
icon: 'file-video';
|
||||
};
|
||||
attributes: {
|
||||
file: Schema.Attribute.Media<'images' | 'files' | 'videos'>;
|
||||
};
|
||||
}
|
||||
|
||||
export interface SharedMyComponent extends Struct.ComponentSchema {
|
||||
collectionName: 'components_shared_my_components';
|
||||
info: {
|
||||
displayName: 'my component';
|
||||
icon: 'alien';
|
||||
};
|
||||
attributes: {
|
||||
testtext: Schema.Attribute.String;
|
||||
};
|
||||
}
|
||||
|
||||
export interface SharedQuote extends Struct.ComponentSchema {
|
||||
collectionName: 'components_shared_quotes';
|
||||
info: {
|
||||
displayName: 'Quote';
|
||||
icon: 'indent';
|
||||
};
|
||||
attributes: {
|
||||
body: Schema.Attribute.Text;
|
||||
title: Schema.Attribute.String;
|
||||
};
|
||||
}
|
||||
|
||||
export interface SharedRichText extends Struct.ComponentSchema {
|
||||
collectionName: 'components_shared_rich_texts';
|
||||
info: {
|
||||
description: '';
|
||||
displayName: 'Rich text';
|
||||
icon: 'align-justify';
|
||||
};
|
||||
attributes: {
|
||||
body: Schema.Attribute.RichText;
|
||||
};
|
||||
}
|
||||
|
||||
export interface SharedSeo extends Struct.ComponentSchema {
|
||||
collectionName: 'components_shared_seos';
|
||||
info: {
|
||||
description: '';
|
||||
displayName: 'Seo';
|
||||
icon: 'allergies';
|
||||
name: 'Seo';
|
||||
};
|
||||
attributes: {
|
||||
metaDescription: Schema.Attribute.Text & Schema.Attribute.Required;
|
||||
metaTitle: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
shareImage: Schema.Attribute.Media<'images'>;
|
||||
};
|
||||
}
|
||||
|
||||
export interface SharedSlider extends Struct.ComponentSchema {
|
||||
collectionName: 'components_shared_sliders';
|
||||
info: {
|
||||
description: '';
|
||||
displayName: 'Slider';
|
||||
icon: 'address-book';
|
||||
};
|
||||
attributes: {
|
||||
files: Schema.Attribute.Media<'images', true>;
|
||||
};
|
||||
}
|
||||
|
||||
declare module '@strapi/strapi' {
|
||||
export module Public {
|
||||
export interface ComponentSchemas {
|
||||
'shared.media': SharedMedia;
|
||||
'shared.my-component': SharedMyComponent;
|
||||
'shared.quote': SharedQuote;
|
||||
'shared.rich-text': SharedRichText;
|
||||
'shared.seo': SharedSeo;
|
||||
'shared.slider': SharedSlider;
|
||||
}
|
||||
}
|
||||
}
|
||||
1119
strapi-yoga/types/generated/contentTypes.d.ts
vendored
Normal file
1119
strapi-yoga/types/generated/contentTypes.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user