Added support for an Advertisement Banner on the homepage
made home publish/draft
This commit is contained in:
51
types/generated/contentTypes.d.ts
vendored
51
types/generated/contentTypes.d.ts
vendored
@@ -590,6 +590,47 @@ export interface PluginContentReleasesReleaseAction
|
||||
};
|
||||
}
|
||||
|
||||
export interface PluginPublisherAction extends Schema.CollectionType {
|
||||
collectionName: 'actions';
|
||||
info: {
|
||||
singularName: 'action';
|
||||
pluralName: 'actions';
|
||||
displayName: 'actions';
|
||||
};
|
||||
options: {
|
||||
draftAndPublish: false;
|
||||
comment: '';
|
||||
};
|
||||
pluginOptions: {
|
||||
'content-manager': {
|
||||
visible: false;
|
||||
};
|
||||
'content-type-builder': {
|
||||
visible: false;
|
||||
};
|
||||
};
|
||||
attributes: {
|
||||
executeAt: Attribute.DateTime;
|
||||
mode: Attribute.String;
|
||||
entityId: Attribute.Integer;
|
||||
entitySlug: Attribute.String;
|
||||
createdAt: Attribute.DateTime;
|
||||
updatedAt: Attribute.DateTime;
|
||||
createdBy: Attribute.Relation<
|
||||
'plugin::publisher.action',
|
||||
'oneToOne',
|
||||
'admin::user'
|
||||
> &
|
||||
Attribute.Private;
|
||||
updatedBy: Attribute.Relation<
|
||||
'plugin::publisher.action',
|
||||
'oneToOne',
|
||||
'admin::user'
|
||||
> &
|
||||
Attribute.Private;
|
||||
};
|
||||
}
|
||||
|
||||
export interface PluginI18NLocale extends Schema.CollectionType {
|
||||
collectionName: 'i18n_locale';
|
||||
info: {
|
||||
@@ -1177,7 +1218,7 @@ export interface ApiHomeHome extends Schema.SingleType {
|
||||
description: '';
|
||||
};
|
||||
options: {
|
||||
draftAndPublish: false;
|
||||
draftAndPublish: true;
|
||||
};
|
||||
pluginOptions: {
|
||||
i18n: {
|
||||
@@ -1245,8 +1286,15 @@ export interface ApiHomeHome extends Schema.SingleType {
|
||||
localized: false;
|
||||
};
|
||||
}>;
|
||||
AdvertisementBanner: Attribute.Media &
|
||||
Attribute.SetPluginOptions<{
|
||||
i18n: {
|
||||
localized: true;
|
||||
};
|
||||
}>;
|
||||
createdAt: Attribute.DateTime;
|
||||
updatedAt: Attribute.DateTime;
|
||||
publishedAt: Attribute.DateTime;
|
||||
createdBy: Attribute.Relation<'api::home.home', 'oneToOne', 'admin::user'> &
|
||||
Attribute.Private;
|
||||
updatedBy: Attribute.Relation<'api::home.home', 'oneToOne', 'admin::user'> &
|
||||
@@ -1668,6 +1716,7 @@ declare module '@strapi/types' {
|
||||
'plugin::upload.folder': PluginUploadFolder;
|
||||
'plugin::content-releases.release': PluginContentReleasesRelease;
|
||||
'plugin::content-releases.release-action': PluginContentReleasesReleaseAction;
|
||||
'plugin::publisher.action': PluginPublisherAction;
|
||||
'plugin::i18n.locale': PluginI18NLocale;
|
||||
'plugin::users-permissions.permission': PluginUsersPermissionsPermission;
|
||||
'plugin::users-permissions.role': PluginUsersPermissionsRole;
|
||||
|
||||
Reference in New Issue
Block a user