|
|
|
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 ContentInfobox extends Schema.Component {
|
|
|
|
collectionName: 'components_content_infoboxes';
|
|
|
|
info: {
|
|
|
|
displayName: 'Infobox';
|
|
|
|
};
|
|
|
|
attributes: {
|
|
|
|
title: Attribute.String;
|
|
|
|
value: Attribute.RichText;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ContentTextMarkdown extends Schema.Component {
|
|
|
|
collectionName: 'components_content_text_markdowns';
|
|
|
|
info: {
|
|
|
|
displayName: 'Paragraph';
|
|
|
|
description: '';
|
|
|
|
};
|
|
|
|
attributes: {
|
|
|
|
value: Attribute.RichText;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
declare module '@strapi/types' {
|
|
|
|
export module Shared {
|
|
|
|
export interface Components {
|
|
|
|
'content.gallery': ContentGallery;
|
|
|
|
'content.image': ContentImage;
|
|
|
|
'content.infobox': ContentInfobox;
|
|
|
|
'content.text-markdown': ContentTextMarkdown;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|