chore: add to strapi 4.24

develop^2
Sébastien Näser 2 years ago
parent b73bb97891
commit 3647559aa2

17
package-lock.json generated

@ -7094,21 +7094,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/caniuse-lite": {
"version": "1.0.30001449",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001449.tgz",
"integrity": "sha512-CPB+UL9XMT/Av+pJxCKGhdx+yg1hzplvFJQlJ2n68PyQGMz9L/E2zCyLdOL8uasbouTUgnPl+y0tccI/se+BEw==",
"funding": [
{
"type": "opencollective",
"url": "https://opencollective.com/browserslist"
},
{
"type": "tidelift",
"url": "https://tidelift.com/funding/github/npm/caniuse-lite"
}
]
},
"node_modules/caseless": {
"version": "0.12.0",
"resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
@ -17905,4 +17890,4 @@
}
}
}
}
}

@ -13,23 +13,23 @@
"generate:staging": "node scripts/strapi/build-staging.js"
},
"dependencies": {
"@strapi/plugin-i18n": "4.15.4",
"@strapi/plugin-users-permissions": "4.15.4",
"@strapi/provider-email-nodemailer": "4.15.4",
"@strapi/provider-upload-cloudinary": "4.15.4",
"@strapi/strapi": "4.15.4",
"@strapi/utils": "4.10.2",
"better-sqlite3": "9.1.1",
"cloudinary": "1.41.0",
"@strapi/plugin-i18n": "4.24.0",
"@strapi/plugin-users-permissions": "4.24.0",
"@strapi/provider-email-nodemailer": "4.24.0",
"@strapi/provider-upload-cloudinary": "4.24.0",
"@strapi/strapi": "4.24.0",
"@strapi/utils": "4.24.0",
"better-sqlite3": "9.5.0",
"cloudinary": "2.2.0",
"mysql": "2.18.1",
"pg": "8.11.3",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^5.2.0",
"strapi-plugin-import-export-entries": "1.21.1",
"strapi-plugin-menus": "1.5.0",
"pg": "8.11.5",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-router-dom": "5.2.0",
"strapi-plugin-import-export-entries": "1.23.1",
"strapi-plugin-menus": "1.6.1",
"strapi-plugin-populate-deep": "3.0.1",
"styled-components": "^5.2.1"
"styled-components": "5.3.11"
},
"author": {
"name": "A Strapi developer"
@ -43,6 +43,7 @@
},
"license": "MIT",
"devDependencies": {
"caniuse-lite": "^1.0.30001612",
"request": "^2.88.2"
}
}

@ -403,9 +403,12 @@ export interface PluginUploadFile extends Schema.CollectionType {
folderPath: Attribute.String &
Attribute.Required &
Attribute.Private &
Attribute.SetMinMax<{
min: 1;
}>;
Attribute.SetMinMax<
{
min: 1;
},
number
>;
createdAt: Attribute.DateTime;
updatedAt: Attribute.DateTime;
createdBy: Attribute.Relation<
@ -441,9 +444,12 @@ export interface PluginUploadFolder extends Schema.CollectionType {
attributes: {
name: Attribute.String &
Attribute.Required &
Attribute.SetMinMax<{
min: 1;
}>;
Attribute.SetMinMax<
{
min: 1;
},
number
>;
pathId: Attribute.Integer & Attribute.Required & Attribute.Unique;
parent: Attribute.Relation<
'plugin::upload.folder',
@ -462,9 +468,12 @@ export interface PluginUploadFolder extends Schema.CollectionType {
>;
path: Attribute.String &
Attribute.Required &
Attribute.SetMinMax<{
min: 1;
}>;
Attribute.SetMinMax<
{
min: 1;
},
number
>;
createdAt: Attribute.DateTime;
updatedAt: Attribute.DateTime;
createdBy: Attribute.Relation<
@ -482,6 +491,105 @@ export interface PluginUploadFolder extends Schema.CollectionType {
};
}
export interface PluginContentReleasesRelease extends Schema.CollectionType {
collectionName: 'strapi_releases';
info: {
singularName: 'release';
pluralName: 'releases';
displayName: 'Release';
};
options: {
draftAndPublish: false;
};
pluginOptions: {
'content-manager': {
visible: false;
};
'content-type-builder': {
visible: false;
};
};
attributes: {
name: Attribute.String & Attribute.Required;
releasedAt: Attribute.DateTime;
scheduledAt: Attribute.DateTime;
timezone: Attribute.String;
status: Attribute.Enumeration<
['ready', 'blocked', 'failed', 'done', 'empty']
> &
Attribute.Required;
actions: Attribute.Relation<
'plugin::content-releases.release',
'oneToMany',
'plugin::content-releases.release-action'
>;
createdAt: Attribute.DateTime;
updatedAt: Attribute.DateTime;
createdBy: Attribute.Relation<
'plugin::content-releases.release',
'oneToOne',
'admin::user'
> &
Attribute.Private;
updatedBy: Attribute.Relation<
'plugin::content-releases.release',
'oneToOne',
'admin::user'
> &
Attribute.Private;
};
}
export interface PluginContentReleasesReleaseAction
extends Schema.CollectionType {
collectionName: 'strapi_release_actions';
info: {
singularName: 'release-action';
pluralName: 'release-actions';
displayName: 'Release Action';
};
options: {
draftAndPublish: false;
};
pluginOptions: {
'content-manager': {
visible: false;
};
'content-type-builder': {
visible: false;
};
};
attributes: {
type: Attribute.Enumeration<['publish', 'unpublish']> & Attribute.Required;
entry: Attribute.Relation<
'plugin::content-releases.release-action',
'morphToOne'
>;
contentType: Attribute.String & Attribute.Required;
locale: Attribute.String;
release: Attribute.Relation<
'plugin::content-releases.release-action',
'manyToOne',
'plugin::content-releases.release'
>;
isEntryValid: Attribute.Boolean;
createdAt: Attribute.DateTime;
updatedAt: Attribute.DateTime;
createdBy: Attribute.Relation<
'plugin::content-releases.release-action',
'oneToOne',
'admin::user'
> &
Attribute.Private;
updatedBy: Attribute.Relation<
'plugin::content-releases.release-action',
'oneToOne',
'admin::user'
> &
Attribute.Private;
};
}
export interface PluginI18NLocale extends Schema.CollectionType {
collectionName: 'i18n_locale';
info: {
@ -504,10 +612,13 @@ export interface PluginI18NLocale extends Schema.CollectionType {
};
attributes: {
name: Attribute.String &
Attribute.SetMinMax<{
min: 1;
max: 50;
}>;
Attribute.SetMinMax<
{
min: 1;
max: 50;
},
number
>;
code: Attribute.String & Attribute.Unique;
createdAt: Attribute.DateTime;
updatedAt: Attribute.DateTime;
@ -681,6 +792,7 @@ export interface PluginUsersPermissionsUser extends Schema.CollectionType {
export interface PluginMenusMenu extends Schema.CollectionType {
collectionName: 'menus';
info: {
name: 'Menu';
displayName: 'Menu';
singularName: 'menu';
pluralName: 'menus';
@ -725,6 +837,7 @@ export interface PluginMenusMenu extends Schema.CollectionType {
export interface PluginMenusMenuItem extends Schema.CollectionType {
collectionName: 'menu_items';
info: {
name: 'MenuItem';
displayName: 'Menu Item';
singularName: 'menu-item';
pluralName: 'menu-items';
@ -1167,6 +1280,8 @@ declare module '@strapi/types' {
'admin::transfer-token-permission': AdminTransferTokenPermission;
'plugin::upload.file': PluginUploadFile;
'plugin::upload.folder': PluginUploadFolder;
'plugin::content-releases.release': PluginContentReleasesRelease;
'plugin::content-releases.release-action': PluginContentReleasesReleaseAction;
'plugin::i18n.locale': PluginI18NLocale;
'plugin::users-permissions.permission': PluginUsersPermissionsPermission;
'plugin::users-permissions.role': PluginUsersPermissionsRole;

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save