You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
strapi-guitar-school/types/generated/components.d.ts

178 lines
4.4 KiB

import type { Schema, Attribute } from '@strapi/strapi';
export interface ActionsButton extends Schema.Component {
collectionName: 'components_actions_buttons';
info: {
displayName: 'button';
};
attributes: {
title: Attribute.String;
path: Attribute.String;
type: Attribute.Enumeration<['primary', 'secondary']>;
source: Attribute.Enumeration<['external', 'internal']>;
};
}
export interface ContentCarousel extends Schema.Component {
collectionName: 'components_content_carousels';
info: {
displayName: 'carousel';
description: '';
};
attributes: {
title: Attribute.String;
items: Attribute.Component<'media.carousel-item', true>;
};
}
export interface ContentTextBox extends Schema.Component {
collectionName: 'components_content_text_boxes';
info: {
displayName: 'Text Box';
};
attributes: {
title: Attribute.String;
content: Attribute.RichText;
imageLeft: Attribute.Media;
imageRight: Attribute.Media;
};
}
export interface MediaCarouselImage extends Schema.Component {
collectionName: 'components_media_carousel_images';
info: {
displayName: 'carousel image';
description: '';
};
attributes: {
orientation: Attribute.Enumeration<['rightside', 'leftside']>;
cover: Attribute.Media;
};
}
export interface MediaCarouselItem extends Schema.Component {
collectionName: 'components_media_carousel_items';
info: {
displayName: 'carousel item';
description: '';
};
attributes: {
title: Attribute.String;
subtitle: Attribute.String;
illustration: Attribute.Component<'media.carousel-image'>;
actions: Attribute.Component<'actions.button', true>;
columns: Attribute.Enumeration<['one', 'two']>;
};
}
export interface MediaMosaicItem extends Schema.Component {
collectionName: 'components_media_mosaic_items';
info: {
displayName: 'Mosaic item';
};
attributes: {
icon: Attribute.String;
title: Attribute.String;
description: Attribute.String;
};
}
export interface MediaMosaic extends Schema.Component {
collectionName: 'components_media_mosaics';
info: {
displayName: 'mosaic';
description: '';
};
attributes: {
title: Attribute.String;
subtitle: Attribute.String;
items: Attribute.Component<'media.mosaic-item', true>;
};
}
export interface MediaVideoBox extends Schema.Component {
collectionName: 'components_media_video_boxes';
info: {
displayName: 'Video Box';
};
attributes: {
title: Attribute.String;
description: Attribute.RichText;
video: Attribute.Media;
};
}
export interface MetaMeta extends Schema.Component {
collectionName: 'components_meta_metas';
info: {
displayName: 'meta';
icon: 'network-wired';
};
attributes: {
property: Attribute.String;
content: Attribute.String;
};
}
export interface SharedSeo extends Schema.Component {
collectionName: 'components_shared_seos';
info: {
displayName: 'Seo';
icon: 'book';
description: '';
};
attributes: {
metaTitle: Attribute.String;
metaDescription: Attribute.Text;
SharedImage: Attribute.Component<'shared.shared-image'>;
preventIndexing: Attribute.Boolean & Attribute.DefaultTo<false>;
structuredData: Attribute.JSON;
metaType: Attribute.Enumeration<
['article', 'website', 'profile', 'video', 'music', 'book']
>;
};
}
export interface SharedSharedImage extends Schema.Component {
collectionName: 'components_shared_shared_images';
info: {
displayName: 'SharedImage';
icon: 'file-image';
description: '';
};
attributes: {
alt: Attribute.String;
media: Attribute.Media;
};
}
export interface UtilsNavigate extends Schema.Component {
collectionName: 'components_utils_navigates';
info: {
displayName: 'Navigate';
};
attributes: {
path: Attribute.String;
source: Attribute.Enumeration<['external', 'internal']>;
};
}
declare module '@strapi/types' {
export module Shared {
export interface Components {
'actions.button': ActionsButton;
'content.carousel': ContentCarousel;
'content.text-box': ContentTextBox;
'media.carousel-image': MediaCarouselImage;
'media.carousel-item': MediaCarouselItem;
'media.mosaic-item': MediaMosaicItem;
'media.mosaic': MediaMosaic;
'media.video-box': MediaVideoBox;
'meta.meta': MetaMeta;
'shared.seo': SharedSeo;
'shared.shared-image': SharedSharedImage;
'utils.navigate': UtilsNavigate;
}
}
}