0.12.12 : add mail templates as single type
All checks were successful
Build release Docker image / Build Docker Images (push) Successful in 6m55s
All checks were successful
Build release Docker image / Build Docker Images (push) Successful in 6m55s
This commit is contained in:
14
types/generated/components.d.ts
vendored
14
types/generated/components.d.ts
vendored
@@ -71,6 +71,19 @@ export interface GroupActivity extends Struct.ComponentSchema {
|
||||
};
|
||||
}
|
||||
|
||||
export interface MailMail extends Struct.ComponentSchema {
|
||||
collectionName: 'components_mail_mail';
|
||||
info: {
|
||||
description: '';
|
||||
displayName: 'mail';
|
||||
icon: 'paperPlane';
|
||||
};
|
||||
attributes: {
|
||||
message: Schema.Attribute.Text;
|
||||
subject: Schema.Attribute.String;
|
||||
};
|
||||
}
|
||||
|
||||
export interface SocialTags extends Struct.ComponentSchema {
|
||||
collectionName: 'components_social_tags';
|
||||
info: {
|
||||
@@ -118,6 +131,7 @@ declare module '@strapi/strapi' {
|
||||
'configuration.parameter': ConfigurationParameter;
|
||||
'configuration.privacy': ConfigurationPrivacy;
|
||||
'group.activity': GroupActivity;
|
||||
'mail.mail': MailMail;
|
||||
'social.tags': SocialTags;
|
||||
'user.language': UserLanguage;
|
||||
'user.permissions': UserPermissions;
|
||||
|
||||
36
types/generated/contentTypes.d.ts
vendored
36
types/generated/contentTypes.d.ts
vendored
@@ -1252,6 +1252,41 @@ export interface ApiInviteInvite extends Struct.CollectionTypeSchema {
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiMailsMails extends Struct.SingleTypeSchema {
|
||||
collectionName: 'mailss';
|
||||
info: {
|
||||
description: '';
|
||||
displayName: 'Mails';
|
||||
pluralName: 'mailss';
|
||||
singularName: 'mails';
|
||||
};
|
||||
options: {
|
||||
draftAndPublish: false;
|
||||
};
|
||||
pluginOptions: {
|
||||
i18n: {
|
||||
localized: true;
|
||||
};
|
||||
};
|
||||
attributes: {
|
||||
createdAt: Schema.Attribute.DateTime;
|
||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
locale: Schema.Attribute.String;
|
||||
localizations: Schema.Attribute.Relation<'oneToMany', 'api::mails.mails'>;
|
||||
onCreateUser: Schema.Attribute.Component<'mail.mail', false> &
|
||||
Schema.Attribute.SetPluginOptions<{
|
||||
i18n: {
|
||||
localized: true;
|
||||
};
|
||||
}>;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
updatedAt: Schema.Attribute.DateTime;
|
||||
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
Schema.Attribute.Private;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ApiMessageMessage extends Struct.CollectionTypeSchema {
|
||||
collectionName: 'messages';
|
||||
info: {
|
||||
@@ -2079,6 +2114,7 @@ declare module '@strapi/strapi' {
|
||||
'api::group-membership.group-membership': ApiGroupMembershipGroupMembership;
|
||||
'api::group.group': ApiGroupGroup;
|
||||
'api::invite.invite': ApiInviteInvite;
|
||||
'api::mails.mails': ApiMailsMails;
|
||||
'api::message.message': ApiMessageMessage;
|
||||
'api::notification.notification': ApiNotificationNotification;
|
||||
'api::permissions-template.permissions-template': ApiPermissionsTemplatePermissionsTemplate;
|
||||
|
||||
Reference in New Issue
Block a user