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.

55 lines
1.3 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 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;
}
}
}