@strapi/plugin-graphql 5.9.0 → 5.10.0
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/chunks/dk-Bji21OvY.mjs +8 -0
- package/dist/admin/chunks/dk-Bji21OvY.mjs.map +1 -0
- package/dist/admin/chunks/dk-D3k_Atlh.js +10 -0
- package/dist/admin/chunks/dk-D3k_Atlh.js.map +1 -0
- package/dist/admin/chunks/en-COko3s6d.mjs +8 -0
- package/dist/admin/chunks/en-COko3s6d.mjs.map +1 -0
- package/dist/admin/chunks/en-DzY_FEd6.js +10 -0
- package/dist/admin/chunks/en-DzY_FEd6.js.map +1 -0
- package/dist/admin/chunks/es-BoUVfXlb.mjs +8 -0
- package/dist/admin/chunks/es-BoUVfXlb.mjs.map +1 -0
- package/dist/admin/chunks/es-D02rvX4A.js +10 -0
- package/dist/admin/chunks/es-D02rvX4A.js.map +1 -0
- package/dist/admin/chunks/fr-D9dcL-gU.js +10 -0
- package/dist/admin/chunks/fr-D9dcL-gU.js.map +1 -0
- package/dist/admin/chunks/fr-DFbQQgkK.mjs +8 -0
- package/dist/admin/chunks/fr-DFbQQgkK.mjs.map +1 -0
- package/dist/admin/chunks/pl-Bih5cA3Y.mjs +8 -0
- package/dist/admin/chunks/pl-Bih5cA3Y.mjs.map +1 -0
- package/dist/admin/chunks/pl-DRSWvr2y.js +10 -0
- package/dist/admin/chunks/pl-DRSWvr2y.js.map +1 -0
- package/dist/admin/chunks/ru-Bxi2fB6E.mjs +8 -0
- package/dist/admin/chunks/ru-Bxi2fB6E.mjs.map +1 -0
- package/dist/admin/chunks/ru-zDn7cu6t.js +10 -0
- package/dist/admin/chunks/ru-zDn7cu6t.js.map +1 -0
- package/dist/admin/chunks/sv-B2uIJv_a.mjs +8 -0
- package/dist/admin/chunks/sv-B2uIJv_a.mjs.map +1 -0
- package/dist/admin/chunks/sv-Dq2aVH0_.js +10 -0
- package/dist/admin/chunks/sv-Dq2aVH0_.js.map +1 -0
- package/dist/admin/chunks/tr-B0yEuVnS.js +10 -0
- package/dist/admin/chunks/tr-B0yEuVnS.js.map +1 -0
- package/dist/admin/chunks/tr-DwO6hyQD.mjs +8 -0
- package/dist/admin/chunks/tr-DwO6hyQD.mjs.map +1 -0
- package/dist/admin/chunks/zh-BkiTjJnf.js +10 -0
- package/dist/admin/chunks/zh-BkiTjJnf.js.map +1 -0
- package/dist/admin/chunks/zh-DVvz1qsT.mjs +8 -0
- package/dist/admin/chunks/zh-DVvz1qsT.mjs.map +1 -0
- package/dist/admin/chunks/zh-Hans-DUab611K.mjs +8 -0
- package/dist/admin/chunks/zh-Hans-DUab611K.mjs.map +1 -0
- package/dist/admin/chunks/zh-Hans-DxlDvlSo.js +10 -0
- package/dist/admin/chunks/zh-Hans-DxlDvlSo.js.map +1 -0
- package/dist/admin/index.js +164 -154
- package/dist/admin/index.js.map +1 -0
- package/dist/admin/index.mjs +163 -156
- package/dist/admin/index.mjs.map +1 -0
- package/dist/server/index.js +3541 -2980
- package/dist/server/index.js.map +1 -0
- package/dist/server/index.mjs +3550 -2989
- package/dist/server/index.mjs.map +1 -0
- package/package.json +15 -12
- package/dist/_chunks/dk-BbJCmDw6.mjs +0 -8
- package/dist/_chunks/dk-C9NcSzyg.js +0 -8
- package/dist/_chunks/en-BiKpmhCU.js +0 -8
- package/dist/_chunks/en-YIQYYlvv.mjs +0 -8
- package/dist/_chunks/es-BbsZ5Fh0.mjs +0 -8
- package/dist/_chunks/es-DE22V9D4.js +0 -8
- package/dist/_chunks/fr-BgqFw7G8.mjs +0 -8
- package/dist/_chunks/fr-Ca-HowfR.js +0 -8
- package/dist/_chunks/pl-CbET57Jb.mjs +0 -8
- package/dist/_chunks/pl-DVnJGR87.js +0 -8
- package/dist/_chunks/ru-BFz40YSA.mjs +0 -8
- package/dist/_chunks/ru-o4zaP02C.js +0 -8
- package/dist/_chunks/sv-9qK4y9fb.js +0 -8
- package/dist/_chunks/sv-CNYcKBn2.mjs +0 -8
- package/dist/_chunks/tr-H1PrR6RM.mjs +0 -8
- package/dist/_chunks/tr-fBBDNMBY.js +0 -8
- package/dist/_chunks/zh-BEh3jejH.mjs +0 -8
- package/dist/_chunks/zh-CyCKPuL0.js +0 -8
- package/dist/_chunks/zh-Hans-Btuz6Y7W.js +0 -8
- package/dist/_chunks/zh-Hans-CRQss50D.mjs +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/plugin-graphql",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.10.0",
|
|
4
4
|
"description": "Adds GraphQL endpoint with default API methods.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -42,10 +42,14 @@
|
|
|
42
42
|
"strapi-server.js"
|
|
43
43
|
],
|
|
44
44
|
"scripts": {
|
|
45
|
-
"build": "
|
|
45
|
+
"build": "run -T npm-run-all clean --parallel build:code build:types",
|
|
46
|
+
"build:code": "run -T rollup -c",
|
|
47
|
+
"build:types": "run -T run-p build:types:server build:types:admin",
|
|
48
|
+
"build:types:server": "run -T tsc -p server/tsconfig.build.json --emitDeclarationOnly",
|
|
49
|
+
"build:types:admin": "run -T tsc -p admin/tsconfig.build.json --emitDeclarationOnly",
|
|
46
50
|
"clean": "run -T rimraf ./dist",
|
|
47
51
|
"lint": "run -T eslint .",
|
|
48
|
-
"watch": "
|
|
52
|
+
"watch": "run -T rollup -c -w"
|
|
49
53
|
},
|
|
50
54
|
"dependencies": {
|
|
51
55
|
"@apollo/server": "4.11.0",
|
|
@@ -53,9 +57,9 @@
|
|
|
53
57
|
"@graphql-tools/schema": "10.0.3",
|
|
54
58
|
"@graphql-tools/utils": "^10.1.3",
|
|
55
59
|
"@koa/cors": "5.0.0",
|
|
56
|
-
"@strapi/design-system": "2.0.0-rc.
|
|
57
|
-
"@strapi/icons": "2.0.0-rc.
|
|
58
|
-
"@strapi/utils": "5.
|
|
60
|
+
"@strapi/design-system": "2.0.0-rc.16",
|
|
61
|
+
"@strapi/icons": "2.0.0-rc.16",
|
|
62
|
+
"@strapi/utils": "5.10.0",
|
|
59
63
|
"graphql": "^16.8.1",
|
|
60
64
|
"graphql-depth-limit": "^1.1.0",
|
|
61
65
|
"graphql-playground-middleware-koa": "^1.6.21",
|
|
@@ -67,21 +71,20 @@
|
|
|
67
71
|
"pluralize": "8.0.0"
|
|
68
72
|
},
|
|
69
73
|
"devDependencies": {
|
|
70
|
-
"@strapi/
|
|
71
|
-
"@strapi/
|
|
72
|
-
"@strapi/types": "5.9.0",
|
|
74
|
+
"@strapi/strapi": "5.10.0",
|
|
75
|
+
"@strapi/types": "5.10.0",
|
|
73
76
|
"@types/graphql-depth-limit": "1.1.5",
|
|
74
77
|
"@types/koa-bodyparser": "4.3.12",
|
|
75
78
|
"@types/koa__cors": "5.0.0",
|
|
76
79
|
"cross-env": "^7.0.3",
|
|
77
|
-
"eslint-config-custom": "5.
|
|
80
|
+
"eslint-config-custom": "5.10.0",
|
|
78
81
|
"koa": "2.15.2",
|
|
79
82
|
"react": "18.3.1",
|
|
80
83
|
"react-dom": "18.3.1",
|
|
81
84
|
"react-router-dom": "6.22.3",
|
|
82
85
|
"styled-components": "6.1.8",
|
|
83
|
-
"tsconfig": "5.
|
|
84
|
-
"typescript": "5.
|
|
86
|
+
"tsconfig": "5.10.0",
|
|
87
|
+
"typescript": "5.4.4"
|
|
85
88
|
},
|
|
86
89
|
"peerDependencies": {
|
|
87
90
|
"@strapi/strapi": "^5.0.0",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const dk = {
|
|
4
|
-
"plugin.description.long": "Tilføjer GraphQL endpoint med standard API metoder.",
|
|
5
|
-
"plugin.description.short": "Tilføjer GraphQL endpoint med standard API metoder.",
|
|
6
|
-
"plugin.name": "GraphQL"
|
|
7
|
-
};
|
|
8
|
-
exports.default = dk;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const en = {
|
|
4
|
-
"plugin.description.long": "Adds GraphQL endpoint with default API methods.",
|
|
5
|
-
"plugin.description.short": "Adds GraphQL endpoint with default API methods.",
|
|
6
|
-
"plugin.name": "GraphQL"
|
|
7
|
-
};
|
|
8
|
-
exports.default = en;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
const es = {
|
|
2
|
-
"plugin.description.long": "Agrega un endpoint GraphQL con métodos de API predeterminados.",
|
|
3
|
-
"plugin.description.short": "Agrega un endpoint GraphQL con métodos de API predeterminados.",
|
|
4
|
-
"plugin.name": "GraphQL"
|
|
5
|
-
};
|
|
6
|
-
export {
|
|
7
|
-
es as default
|
|
8
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const es = {
|
|
4
|
-
"plugin.description.long": "Agrega un endpoint GraphQL con métodos de API predeterminados.",
|
|
5
|
-
"plugin.description.short": "Agrega un endpoint GraphQL con métodos de API predeterminados.",
|
|
6
|
-
"plugin.name": "GraphQL"
|
|
7
|
-
};
|
|
8
|
-
exports.default = es;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
const fr = {
|
|
2
|
-
"plugin.description.long": "Crée un endpoint GraphQL supportant les méthodes par défaut de l'API.",
|
|
3
|
-
"plugin.description.short": "Crée un endpoint GraphQL supportant les méthodes par défaut de l'API.",
|
|
4
|
-
"plugin.name": "GraphQL"
|
|
5
|
-
};
|
|
6
|
-
export {
|
|
7
|
-
fr as default
|
|
8
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const fr = {
|
|
4
|
-
"plugin.description.long": "Crée un endpoint GraphQL supportant les méthodes par défaut de l'API.",
|
|
5
|
-
"plugin.description.short": "Crée un endpoint GraphQL supportant les méthodes par défaut de l'API.",
|
|
6
|
-
"plugin.name": "GraphQL"
|
|
7
|
-
};
|
|
8
|
-
exports.default = fr;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const pl = {
|
|
4
|
-
"plugin.description.long": "Dodaje GraphQL endpoint z domyślnymi metodami API.",
|
|
5
|
-
"plugin.description.short": "Dodaje GraphQL endpoint z domyślnymi metodami API.",
|
|
6
|
-
"plugin.name": "GraphQL"
|
|
7
|
-
};
|
|
8
|
-
exports.default = pl;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
const ru = {
|
|
2
|
-
"plugin.description.long": "Добавляет конечную точку для GraphQL с методами API по умолчанию.",
|
|
3
|
-
"plugin.description.short": "Добавляет конечную точку для GraphQL с методами API по умолчанию.",
|
|
4
|
-
"plugin.name": "GraphQL"
|
|
5
|
-
};
|
|
6
|
-
export {
|
|
7
|
-
ru as default
|
|
8
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const ru = {
|
|
4
|
-
"plugin.description.long": "Добавляет конечную точку для GraphQL с методами API по умолчанию.",
|
|
5
|
-
"plugin.description.short": "Добавляет конечную точку для GraphQL с методами API по умолчанию.",
|
|
6
|
-
"plugin.name": "GraphQL"
|
|
7
|
-
};
|
|
8
|
-
exports.default = ru;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const sv = {
|
|
4
|
-
"plugin.description.long": "Lägger till en GraphQL-rutt med standard API-metoder.",
|
|
5
|
-
"plugin.description.short": "Lägger till en GraphQL-rutt med standard API-metoder.",
|
|
6
|
-
"plugin.name": "GraphQL"
|
|
7
|
-
};
|
|
8
|
-
exports.default = sv;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const tr = {
|
|
4
|
-
"plugin.description.long": "Varsayılan API metodları ile bir GraphQL uç noktası ekler.",
|
|
5
|
-
"plugin.description.short": "Varsayılan API metodları ile bir GraphQL uç noktası ekler.",
|
|
6
|
-
"plugin.name": "GraphQL"
|
|
7
|
-
};
|
|
8
|
-
exports.default = tr;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const zh = {
|
|
4
|
-
"plugin.description.long": "新增使用預設 API 方法的 GraphQL 端點。",
|
|
5
|
-
"plugin.description.short": "新增使用預設 API 方法的 GraphQL 端點。",
|
|
6
|
-
"plugin.name": "GraphQL"
|
|
7
|
-
};
|
|
8
|
-
exports.default = zh;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const zhHans = {
|
|
4
|
-
"plugin.description.long": "为默认API方法添加GraphQL端点",
|
|
5
|
-
"plugin.description.short": "为默认API方法添加GraphQL端点",
|
|
6
|
-
"plugin.name": "GraphQL"
|
|
7
|
-
};
|
|
8
|
-
exports.default = zhHans;
|