You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.1 KiB
TypeScript
46 lines
1.1 KiB
TypeScript
import type { Schema, Attribute } from '@strapi/strapi';
|
|
|
|
export interface ContentGallery extends Schema.Component {
|
|
collectionName: 'components_content_galleries';
|
|
info: {
|
|
displayName: 'Gallery';
|
|
};
|
|
attributes: {
|
|
value: Attribute.Media<'images' | 'files' | 'videos' | 'audios', true>;
|
|
};
|
|
}
|
|
|
|
export interface ContentImage extends Schema.Component {
|
|
collectionName: 'components_content_images';
|
|
info: {
|
|
displayName: 'Image';
|
|
};
|
|
attributes: {
|
|
value: Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
|
|
};
|
|
}
|
|
|
|
export interface ContentTextMarkdown extends Schema.Component {
|
|
collectionName: 'components_content_text_markdowns';
|
|
info: {
|
|
displayName: 'Text - Markdown';
|
|
description: '';
|
|
};
|
|
attributes: {
|
|
value: Attribute.RichText;
|
|
type: Attribute.Enumeration<['paragraph', 'infobox']> &
|
|
Attribute.Required &
|
|
Attribute.DefaultTo<'paragraph'>;
|
|
};
|
|
}
|
|
|
|
declare module '@strapi/types' {
|
|
export module Shared {
|
|
export interface Components {
|
|
'content.gallery': ContentGallery;
|
|
'content.image': ContentImage;
|
|
'content.text-markdown': ContentTextMarkdown;
|
|
}
|
|
}
|
|
}
|