Add channel and message
This commit is contained in:
70
types/generated/contentTypes.d.ts
vendored
70
types/generated/contentTypes.d.ts
vendored
@@ -511,6 +511,37 @@ export interface ApiBoardBoard extends Struct.CollectionTypeSchema {
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiChannelChannel extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'channels';
|
||||
info: {
|
||||
displayName: 'Channel';
|
||||
pluralName: 'channels';
|
||||
singularName: 'channel';
|
||||
};
|
||||
options: {
|
||||
draftAndPublish: false;
|
||||
};
|
||||
attributes: {
|
||||
choral: Schema.Attribute.Relation<'manyToOne', 'api::choral.choral'>;
|
||||
createdAt: Schema.Attribute.DateTime;
|
||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||
localizations: Schema.Attribute.Relation<
|
||||
'oneToMany',
|
||||
'api::channel.channel'
|
||||
> &
|
||||
Schema.Attribute.Private;
|
||||
messages: Schema.Attribute.Relation<'oneToMany', 'api::message.message'>;
|
||||
name: Schema.Attribute.String;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
type: Schema.Attribute.Enumeration<['TEXT', 'AUDIO', 'VIDEO']>;
|
||||
updatedAt: Schema.Attribute.DateTime;
|
||||
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiChoralMembershipChoralMembership
|
||||
extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'choral_memberships';
|
||||
@@ -606,6 +637,7 @@ export interface ApiChoralChoral extends Struct.CollectionTypeSchema {
|
||||
>;
|
||||
boards: Schema.Attribute.Relation<'oneToMany', 'api::board.board'>;
|
||||
calendar: Schema.Attribute.Relation<'oneToMany', 'api::event.event'>;
|
||||
channels: Schema.Attribute.Relation<'oneToMany', 'api::channel.channel'>;
|
||||
city: Schema.Attribute.String;
|
||||
country: Schema.Attribute.String;
|
||||
cover: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
|
||||
@@ -723,6 +755,42 @@ export interface ApiEventEvent extends Struct.CollectionTypeSchema {
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiMessageMessage extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'messages';
|
||||
info: {
|
||||
description: '';
|
||||
displayName: 'Message';
|
||||
pluralName: 'messages';
|
||||
singularName: 'message';
|
||||
};
|
||||
options: {
|
||||
draftAndPublish: false;
|
||||
};
|
||||
attributes: {
|
||||
author: Schema.Attribute.Relation<
|
||||
'oneToOne',
|
||||
'plugin::users-permissions.user'
|
||||
>;
|
||||
channel: Schema.Attribute.Relation<'manyToOne', 'api::channel.channel'>;
|
||||
choral: Schema.Attribute.Relation<'oneToOne', 'api::choral.choral'>;
|
||||
content: Schema.Attribute.String;
|
||||
createdAt: Schema.Attribute.DateTime;
|
||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
fileUrl: Schema.Attribute.String;
|
||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||
localizations: Schema.Attribute.Relation<
|
||||
'oneToMany',
|
||||
'api::message.message'
|
||||
> &
|
||||
Schema.Attribute.Private;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
updatedAt: Schema.Attribute.DateTime;
|
||||
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiPermissionsTemplatePermissionsTemplate
|
||||
extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'permissions_templates';
|
||||
@@ -1303,11 +1371,13 @@ declare module '@strapi/strapi' {
|
||||
'api::board-card.board-card': ApiBoardCardBoardCard;
|
||||
'api::board-list.board-list': ApiBoardListBoardList;
|
||||
'api::board.board': ApiBoardBoard;
|
||||
'api::channel.channel': ApiChannelChannel;
|
||||
'api::choral-membership.choral-membership': ApiChoralMembershipChoralMembership;
|
||||
'api::choral-permission.choral-permission': ApiChoralPermissionChoralPermission;
|
||||
'api::choral.choral': ApiChoralChoral;
|
||||
'api::event-other.event-other': ApiEventOtherEventOther;
|
||||
'api::event.event': ApiEventEvent;
|
||||
'api::message.message': ApiMessageMessage;
|
||||
'api::permissions-template.permissions-template': ApiPermissionsTemplatePermissionsTemplate;
|
||||
'plugin::content-releases.release': PluginContentReleasesRelease;
|
||||
'plugin::content-releases.release-action': PluginContentReleasesReleaseAction;
|
||||
|
||||
Reference in New Issue
Block a user