@strapi/strapi 4.15.4 → 4.15.5-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/admin.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { RenderAdminArgs } from '@strapi/admin/strapi-admin';
2
- declare const render: (mountNode: HTMLElement | null, { plugins }: RenderAdminArgs) => Promise<void>;
2
+ declare const render: (mountNode: HTMLElement | null, { plugins, ...restArgs }: RenderAdminArgs) => Promise<void>;
3
3
  export { render as renderAdmin };
4
4
  export type { RenderAdminArgs };
5
5
  //# sourceMappingURL=admin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../src/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAe,MAAM,4BAA4B,CAAC;AAO1E,QAAA,MAAM,MAAM,cAAe,WAAW,GAAG,IAAI,eAAe,eAAe,kBAU1E,CAAC;AAEF,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,CAAC;AACjC,YAAY,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../src/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAe,MAAM,4BAA4B,CAAC;AAO1E,QAAA,MAAM,MAAM,cAAe,WAAW,GAAG,IAAI,4BAA4B,eAAe,kBAWvF,CAAC;AAEF,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,CAAC;AACjC,YAAY,EAAE,eAAe,EAAE,CAAC"}
package/dist/admin.js CHANGED
@@ -8,8 +8,9 @@ const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
8
8
  const contentTypeBuilder__default = /* @__PURE__ */ _interopDefault(contentTypeBuilder);
9
9
  const email__default = /* @__PURE__ */ _interopDefault(email);
10
10
  const upload__default = /* @__PURE__ */ _interopDefault(upload);
11
- const render = (mountNode, { plugins }) => {
11
+ const render = (mountNode, { plugins, ...restArgs }) => {
12
12
  return strapiAdmin.renderAdmin(mountNode, {
13
+ ...restArgs,
13
14
  plugins: {
14
15
  "content-type-builder": contentTypeBuilder__default.default,
15
16
  // @ts-expect-error – TODO: fix this
package/dist/admin.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"admin.js","sources":["../src/admin.ts"],"sourcesContent":["import { RenderAdminArgs, renderAdmin } from '@strapi/admin/strapi-admin';\n// @ts-expect-error – No types, yet.\nimport contentTypeBuilder from '@strapi/plugin-content-type-builder/strapi-admin';\nimport email from '@strapi/plugin-email/strapi-admin';\n// @ts-expect-error – No types, yet.\nimport upload from '@strapi/plugin-upload/strapi-admin';\n\nconst render = (mountNode: HTMLElement | null, { plugins }: RenderAdminArgs) => {\n return renderAdmin(mountNode, {\n plugins: {\n 'content-type-builder': contentTypeBuilder,\n // @ts-expect-error – TODO: fix this\n email,\n upload,\n ...plugins,\n },\n });\n};\n\nexport { render as renderAdmin };\nexport type { RenderAdminArgs };\n"],"names":["renderAdmin","contentTypeBuilder","email","upload"],"mappings":";;;;;;;;;;AAOA,MAAM,SAAS,CAAC,WAA+B,EAAE,cAA+B;AAC9E,SAAOA,YAAAA,YAAY,WAAW;AAAA,IAC5B,SAAS;AAAA,MACP,wBAAwBC,4BAAA;AAAA;AAAA,MAAA,OAExBC,eAAA;AAAA,MAAA,QACAC,gBAAA;AAAA,MACA,GAAG;AAAA,IACL;AAAA,EAAA,CACD;AACH;;"}
1
+ {"version":3,"file":"admin.js","sources":["../src/admin.ts"],"sourcesContent":["import { RenderAdminArgs, renderAdmin } from '@strapi/admin/strapi-admin';\n// @ts-expect-error – No types, yet.\nimport contentTypeBuilder from '@strapi/plugin-content-type-builder/strapi-admin';\nimport email from '@strapi/plugin-email/strapi-admin';\n// @ts-expect-error – No types, yet.\nimport upload from '@strapi/plugin-upload/strapi-admin';\n\nconst render = (mountNode: HTMLElement | null, { plugins, ...restArgs }: RenderAdminArgs) => {\n return renderAdmin(mountNode, {\n ...restArgs,\n plugins: {\n 'content-type-builder': contentTypeBuilder,\n // @ts-expect-error – TODO: fix this\n email,\n upload,\n ...plugins,\n },\n });\n};\n\nexport { render as renderAdmin };\nexport type { RenderAdminArgs };\n"],"names":["renderAdmin","contentTypeBuilder","email","upload"],"mappings":";;;;;;;;;;AAOA,MAAM,SAAS,CAAC,WAA+B,EAAE,SAAS,GAAG,eAAgC;AAC3F,SAAOA,YAAAA,YAAY,WAAW;AAAA,IAC5B,GAAG;AAAA,IACH,SAAS;AAAA,MACP,wBAAwBC,4BAAA;AAAA;AAAA,MAAA,OAExBC,eAAA;AAAA,MAAA,QACAC,gBAAA;AAAA,MACA,GAAG;AAAA,IACL;AAAA,EAAA,CACD;AACH;;"}
package/dist/admin.mjs CHANGED
@@ -2,8 +2,9 @@ import { renderAdmin } from "@strapi/admin/strapi-admin";
2
2
  import contentTypeBuilder from "@strapi/plugin-content-type-builder/strapi-admin";
3
3
  import email from "@strapi/plugin-email/strapi-admin";
4
4
  import upload from "@strapi/plugin-upload/strapi-admin";
5
- const render = (mountNode, { plugins }) => {
5
+ const render = (mountNode, { plugins, ...restArgs }) => {
6
6
  return renderAdmin(mountNode, {
7
+ ...restArgs,
7
8
  plugins: {
8
9
  "content-type-builder": contentTypeBuilder,
9
10
  // @ts-expect-error – TODO: fix this
@@ -1 +1 @@
1
- {"version":3,"file":"admin.mjs","sources":["../src/admin.ts"],"sourcesContent":["import { RenderAdminArgs, renderAdmin } from '@strapi/admin/strapi-admin';\n// @ts-expect-error – No types, yet.\nimport contentTypeBuilder from '@strapi/plugin-content-type-builder/strapi-admin';\nimport email from '@strapi/plugin-email/strapi-admin';\n// @ts-expect-error – No types, yet.\nimport upload from '@strapi/plugin-upload/strapi-admin';\n\nconst render = (mountNode: HTMLElement | null, { plugins }: RenderAdminArgs) => {\n return renderAdmin(mountNode, {\n plugins: {\n 'content-type-builder': contentTypeBuilder,\n // @ts-expect-error – TODO: fix this\n email,\n upload,\n ...plugins,\n },\n });\n};\n\nexport { render as renderAdmin };\nexport type { RenderAdminArgs };\n"],"names":[],"mappings":";;;;AAOA,MAAM,SAAS,CAAC,WAA+B,EAAE,cAA+B;AAC9E,SAAO,YAAY,WAAW;AAAA,IAC5B,SAAS;AAAA,MACP,wBAAwB;AAAA;AAAA,MAExB;AAAA,MACA;AAAA,MACA,GAAG;AAAA,IACL;AAAA,EAAA,CACD;AACH;"}
1
+ {"version":3,"file":"admin.mjs","sources":["../src/admin.ts"],"sourcesContent":["import { RenderAdminArgs, renderAdmin } from '@strapi/admin/strapi-admin';\n// @ts-expect-error – No types, yet.\nimport contentTypeBuilder from '@strapi/plugin-content-type-builder/strapi-admin';\nimport email from '@strapi/plugin-email/strapi-admin';\n// @ts-expect-error – No types, yet.\nimport upload from '@strapi/plugin-upload/strapi-admin';\n\nconst render = (mountNode: HTMLElement | null, { plugins, ...restArgs }: RenderAdminArgs) => {\n return renderAdmin(mountNode, {\n ...restArgs,\n plugins: {\n 'content-type-builder': contentTypeBuilder,\n // @ts-expect-error – TODO: fix this\n email,\n upload,\n ...plugins,\n },\n });\n};\n\nexport { render as renderAdmin };\nexport type { RenderAdminArgs };\n"],"names":[],"mappings":";;;;AAOA,MAAM,SAAS,CAAC,WAA+B,EAAE,SAAS,GAAG,eAAgC;AAC3F,SAAO,YAAY,WAAW;AAAA,IAC5B,GAAG;AAAA,IACH,SAAS;AAAA,MACP,wBAAwB;AAAA;AAAA,MAExB;AAAA,MACA;AAAA,MACA,GAAG;AAAA,IACL;AAAA,EAAA,CACD;AACH;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/strapi",
3
- "version": "4.15.4",
3
+ "version": "4.15.5-alpha.1",
4
4
  "description": "An open source headless CMS solution to create and manage your own API. It provides a powerful dashboard and features to make your life easier. Databases supported: MySQL, MariaDB, PostgreSQL, SQLite",
5
5
  "keywords": [
6
6
  "strapi",
@@ -114,21 +114,21 @@
114
114
  "dependencies": {
115
115
  "@koa/cors": "3.4.3",
116
116
  "@koa/router": "10.1.1",
117
- "@strapi/admin": "4.15.4",
118
- "@strapi/data-transfer": "4.15.4",
119
- "@strapi/database": "4.15.4",
120
- "@strapi/generate-new": "4.15.4",
121
- "@strapi/generators": "4.15.4",
122
- "@strapi/logger": "4.15.4",
123
- "@strapi/pack-up": "4.15.4",
124
- "@strapi/permissions": "4.15.4",
125
- "@strapi/plugin-content-manager": "4.15.4",
126
- "@strapi/plugin-content-type-builder": "4.15.4",
127
- "@strapi/plugin-email": "4.15.4",
128
- "@strapi/plugin-upload": "4.15.4",
129
- "@strapi/types": "4.15.4",
130
- "@strapi/typescript-utils": "4.15.4",
131
- "@strapi/utils": "4.15.4",
117
+ "@strapi/admin": "4.15.5-alpha.1",
118
+ "@strapi/data-transfer": "4.15.5-alpha.1",
119
+ "@strapi/database": "4.15.5-alpha.1",
120
+ "@strapi/generate-new": "4.15.5-alpha.1",
121
+ "@strapi/generators": "4.15.5-alpha.1",
122
+ "@strapi/logger": "4.15.5-alpha.1",
123
+ "@strapi/pack-up": "4.15.5-alpha.1",
124
+ "@strapi/permissions": "4.15.5-alpha.1",
125
+ "@strapi/plugin-content-manager": "4.15.5-alpha.1",
126
+ "@strapi/plugin-content-type-builder": "4.15.5-alpha.1",
127
+ "@strapi/plugin-email": "4.15.5-alpha.1",
128
+ "@strapi/plugin-upload": "4.15.5-alpha.1",
129
+ "@strapi/types": "4.15.5-alpha.1",
130
+ "@strapi/typescript-utils": "4.15.5-alpha.1",
131
+ "@strapi/utils": "4.15.5-alpha.1",
132
132
  "bcryptjs": "2.4.3",
133
133
  "boxen": "5.1.2",
134
134
  "chalk": "4.1.2",
@@ -188,13 +188,13 @@
188
188
  "@types/node": "18.18.4",
189
189
  "@types/node-schedule": "2.1.0",
190
190
  "@types/statuses": "2.0.1",
191
- "eslint-config-custom": "4.15.4",
191
+ "eslint-config-custom": "4.15.5-alpha.1",
192
192
  "supertest": "6.3.3",
193
- "tsconfig": "4.15.4"
193
+ "tsconfig": "4.15.5-alpha.1"
194
194
  },
195
195
  "engines": {
196
196
  "node": ">=18.0.0 <=20.x.x",
197
197
  "npm": ">=6.0.0"
198
198
  },
199
- "gitHead": "da634b09510db5ec9ab7163670ae903f44929752"
199
+ "gitHead": "59aec6c474372383fcdae05e0c781c1a7bc0c5ee"
200
200
  }