Add calendar type

This commit is contained in:
2025-03-31 18:15:55 +02:00
parent b5d58c2c0f
commit 4ae35e1185
6 changed files with 93 additions and 0 deletions

View File

@@ -493,6 +493,7 @@ export interface ApiChoralChoral extends Struct.CollectionTypeSchema {
'plugin::users-permissions.user'
>;
boards: Schema.Attribute.Relation<'oneToMany', 'api::board.board'>;
calendar: Schema.Attribute.Relation<'oneToMany', 'api::event.event'>;
city: Schema.Attribute.String;
country: Schema.Attribute.String;
cover: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
@@ -522,6 +523,36 @@ export interface ApiChoralChoral extends Struct.CollectionTypeSchema {
};
}
export interface ApiEventEvent extends Struct.CollectionTypeSchema {
collectionName: 'events';
info: {
description: '';
displayName: 'Event';
pluralName: 'events';
singularName: 'event';
};
options: {
draftAndPublish: false;
};
attributes: {
choral: Schema.Attribute.Relation<'manyToOne', 'api::choral.choral'>;
color: Schema.Attribute.String;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
end: Schema.Attribute.DateTime;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<'oneToMany', 'api::event.event'> &
Schema.Attribute.Private;
publishedAt: Schema.Attribute.DateTime;
start: Schema.Attribute.DateTime;
title: Schema.Attribute.String;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface PluginContentReleasesRelease
extends Struct.CollectionTypeSchema {
collectionName: 'strapi_releases';
@@ -1042,6 +1073,7 @@ declare module '@strapi/strapi' {
'api::board-list.board-list': ApiBoardListBoardList;
'api::board.board': ApiBoardBoard;
'api::choral.choral': ApiChoralChoral;
'api::event.event': ApiEventEvent;
'plugin::content-releases.release': PluginContentReleasesRelease;
'plugin::content-releases.release-action': PluginContentReleasesReleaseAction;
'plugin::i18n.locale': PluginI18NLocale;