@strapi/plugin-graphql 4.15.2 → 4.15.3-alpha.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/package.json +6 -6
- package/dist/_chunks/dk-b2ca1d4a.mjs +0 -9
- package/dist/_chunks/dk-b2ca1d4a.mjs.map +0 -1
- package/dist/_chunks/dk-c25c5cfd.js +0 -9
- package/dist/_chunks/dk-c25c5cfd.js.map +0 -1
- package/dist/_chunks/en-79ad1826.js +0 -9
- package/dist/_chunks/en-79ad1826.js.map +0 -1
- package/dist/_chunks/en-bd941701.mjs +0 -9
- package/dist/_chunks/en-bd941701.mjs.map +0 -1
- package/dist/_chunks/es-50c1efc9.mjs +0 -9
- package/dist/_chunks/es-50c1efc9.mjs.map +0 -1
- package/dist/_chunks/es-95c4d946.js +0 -9
- package/dist/_chunks/es-95c4d946.js.map +0 -1
- package/dist/_chunks/fr-918f61d3.mjs +0 -9
- package/dist/_chunks/fr-918f61d3.mjs.map +0 -1
- package/dist/_chunks/fr-c0712b60.js +0 -9
- package/dist/_chunks/fr-c0712b60.js.map +0 -1
- package/dist/_chunks/pl-b667c036.js +0 -9
- package/dist/_chunks/pl-b667c036.js.map +0 -1
- package/dist/_chunks/pl-c5cc2fe9.mjs +0 -9
- package/dist/_chunks/pl-c5cc2fe9.mjs.map +0 -1
- package/dist/_chunks/ru-63c0ea2d.mjs +0 -9
- package/dist/_chunks/ru-63c0ea2d.mjs.map +0 -1
- package/dist/_chunks/ru-ac48a2af.js +0 -9
- package/dist/_chunks/ru-ac48a2af.js.map +0 -1
- package/dist/_chunks/sv-2c811b73.js +0 -9
- package/dist/_chunks/sv-2c811b73.js.map +0 -1
- package/dist/_chunks/sv-696dec50.mjs +0 -9
- package/dist/_chunks/sv-696dec50.mjs.map +0 -1
- package/dist/_chunks/tr-cdb8fee4.js +0 -9
- package/dist/_chunks/tr-cdb8fee4.js.map +0 -1
- package/dist/_chunks/tr-f2860003.mjs +0 -9
- package/dist/_chunks/tr-f2860003.mjs.map +0 -1
- package/dist/_chunks/zh-1e78a31c.js +0 -9
- package/dist/_chunks/zh-1e78a31c.js.map +0 -1
- package/dist/_chunks/zh-5fcaa1f1.mjs +0 -9
- package/dist/_chunks/zh-5fcaa1f1.mjs.map +0 -1
- package/dist/_chunks/zh-Hans-253f7eb8.js +0 -9
- package/dist/_chunks/zh-Hans-253f7eb8.js.map +0 -1
- package/dist/_chunks/zh-Hans-b12536ce.mjs +0 -9
- package/dist/_chunks/zh-Hans-b12536ce.mjs.map +0 -1
- package/dist/admin/index.js +0 -149
- package/dist/admin/index.js.map +0 -1
- package/dist/admin/index.mjs +0 -150
- package/dist/admin/index.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/plugin-graphql",
|
|
3
|
-
"version": "4.15.
|
|
3
|
+
"version": "4.15.3-alpha.0",
|
|
4
4
|
"description": "Adds GraphQL endpoint with default API methods.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"@graphql-tools/schema": "8.5.1",
|
|
46
46
|
"@graphql-tools/utils": "^8.13.1",
|
|
47
47
|
"@strapi/design-system": "1.13.0",
|
|
48
|
-
"@strapi/helper-plugin": "4.15.
|
|
48
|
+
"@strapi/helper-plugin": "4.15.3-alpha.0",
|
|
49
49
|
"@strapi/icons": "1.13.0",
|
|
50
|
-
"@strapi/utils": "4.15.
|
|
50
|
+
"@strapi/utils": "4.15.3-alpha.0",
|
|
51
51
|
"apollo-server-core": "3.12.1",
|
|
52
52
|
"apollo-server-koa": "3.10.0",
|
|
53
53
|
"graphql": "^15.5.1",
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"pluralize": "8.0.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@strapi/pack-up": "4.15.
|
|
65
|
-
"@strapi/strapi": "4.15.
|
|
64
|
+
"@strapi/pack-up": "4.15.3-alpha.0",
|
|
65
|
+
"@strapi/strapi": "4.15.3-alpha.0",
|
|
66
66
|
"cross-env": "^7.0.3",
|
|
67
67
|
"koa": "2.13.4",
|
|
68
68
|
"react": "^18.2.0",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"description": "Adds GraphQL endpoint with default API methods.",
|
|
88
88
|
"kind": "plugin"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "81425b4b9803fd4df570e050c40dd984ebd28ac6"
|
|
91
91
|
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const dk = {
|
|
2
|
-
"plugin.description.long": "Tilføjer GraphQL endpoint med standard API metoder.",
|
|
3
|
-
"plugin.description.short": "Tilføjer GraphQL endpoint med standard API metoder.",
|
|
4
|
-
"plugin.name": "GraphQL"
|
|
5
|
-
};
|
|
6
|
-
export {
|
|
7
|
-
dk as default
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=dk-b2ca1d4a.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dk-b2ca1d4a.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -1,9 +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;
|
|
9
|
-
//# sourceMappingURL=dk-c25c5cfd.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dk-c25c5cfd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,9 +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;
|
|
9
|
-
//# sourceMappingURL=en-79ad1826.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"en-79ad1826.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const en = {
|
|
2
|
-
"plugin.description.long": "Adds GraphQL endpoint with default API methods.",
|
|
3
|
-
"plugin.description.short": "Adds GraphQL endpoint with default API methods.",
|
|
4
|
-
"plugin.name": "GraphQL"
|
|
5
|
-
};
|
|
6
|
-
export {
|
|
7
|
-
en as default
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=en-bd941701.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"en-bd941701.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -1,9 +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
|
-
};
|
|
9
|
-
//# sourceMappingURL=es-50c1efc9.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"es-50c1efc9.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -1,9 +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;
|
|
9
|
-
//# sourceMappingURL=es-95c4d946.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"es-95c4d946.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,9 +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
|
-
};
|
|
9
|
-
//# sourceMappingURL=fr-918f61d3.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fr-918f61d3.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -1,9 +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;
|
|
9
|
-
//# sourceMappingURL=fr-c0712b60.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fr-c0712b60.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,9 +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;
|
|
9
|
-
//# sourceMappingURL=pl-b667c036.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pl-b667c036.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const pl = {
|
|
2
|
-
"plugin.description.long": "Dodaje GraphQL endpoint z domyślnymi metodami API.",
|
|
3
|
-
"plugin.description.short": "Dodaje GraphQL endpoint z domyślnymi metodami API.",
|
|
4
|
-
"plugin.name": "GraphQL"
|
|
5
|
-
};
|
|
6
|
-
export {
|
|
7
|
-
pl as default
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=pl-c5cc2fe9.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pl-c5cc2fe9.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -1,9 +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
|
-
};
|
|
9
|
-
//# sourceMappingURL=ru-63c0ea2d.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ru-63c0ea2d.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -1,9 +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;
|
|
9
|
-
//# sourceMappingURL=ru-ac48a2af.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ru-ac48a2af.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,9 +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;
|
|
9
|
-
//# sourceMappingURL=sv-2c811b73.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sv-2c811b73.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const sv = {
|
|
2
|
-
"plugin.description.long": "Lägger till en GraphQL-rutt med standard API-metoder.",
|
|
3
|
-
"plugin.description.short": "Lägger till en GraphQL-rutt med standard API-metoder.",
|
|
4
|
-
"plugin.name": "GraphQL"
|
|
5
|
-
};
|
|
6
|
-
export {
|
|
7
|
-
sv as default
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=sv-696dec50.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sv-696dec50.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -1,9 +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;
|
|
9
|
-
//# sourceMappingURL=tr-cdb8fee4.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tr-cdb8fee4.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const tr = {
|
|
2
|
-
"plugin.description.long": "Varsayılan API metodları ile bir GraphQL uç noktası ekler.",
|
|
3
|
-
"plugin.description.short": "Varsayılan API metodları ile bir GraphQL uç noktası ekler.",
|
|
4
|
-
"plugin.name": "GraphQL"
|
|
5
|
-
};
|
|
6
|
-
export {
|
|
7
|
-
tr as default
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=tr-f2860003.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tr-f2860003.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -1,9 +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;
|
|
9
|
-
//# sourceMappingURL=zh-1e78a31c.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zh-1e78a31c.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zh-5fcaa1f1.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -1,9 +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;
|
|
9
|
-
//# sourceMappingURL=zh-Hans-253f7eb8.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zh-Hans-253f7eb8.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zh-Hans-b12536ce.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
package/dist/admin/index.js
DELETED
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const helperPlugin = require("@strapi/helper-plugin");
|
|
3
|
-
const __variableDynamicImportRuntimeHelper = (glob, path) => {
|
|
4
|
-
const v = glob[path];
|
|
5
|
-
if (v) {
|
|
6
|
-
return typeof v === "function" ? v() : Promise.resolve(v);
|
|
7
|
-
}
|
|
8
|
-
return new Promise((_, reject) => {
|
|
9
|
-
(typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(reject.bind(null, new Error("Unknown variable dynamic import: " + path)));
|
|
10
|
-
});
|
|
11
|
-
};
|
|
12
|
-
const name$1 = "@strapi/plugin-graphql";
|
|
13
|
-
const version = "4.15.2";
|
|
14
|
-
const description = "Adds GraphQL endpoint with default API methods.";
|
|
15
|
-
const repository = {
|
|
16
|
-
type: "git",
|
|
17
|
-
url: "https://github.com/strapi/strapi.git",
|
|
18
|
-
directory: "packages/plugins/graphql"
|
|
19
|
-
};
|
|
20
|
-
const license = "SEE LICENSE IN LICENSE";
|
|
21
|
-
const author = {
|
|
22
|
-
name: "Strapi Solutions SAS",
|
|
23
|
-
email: "hi@strapi.io",
|
|
24
|
-
url: "https://strapi.io"
|
|
25
|
-
};
|
|
26
|
-
const maintainers = [
|
|
27
|
-
{
|
|
28
|
-
name: "Strapi Solutions SAS",
|
|
29
|
-
email: "hi@strapi.io",
|
|
30
|
-
url: "https://strapi.io"
|
|
31
|
-
}
|
|
32
|
-
];
|
|
33
|
-
const exports$1 = {
|
|
34
|
-
"./strapi-admin": {
|
|
35
|
-
source: "./admin/src/index.js",
|
|
36
|
-
"import": "./dist/admin/index.mjs",
|
|
37
|
-
require: "./dist/admin/index.js",
|
|
38
|
-
"default": "./dist/admin/index.js"
|
|
39
|
-
},
|
|
40
|
-
"./strapi-server": {
|
|
41
|
-
source: "./strapi-server.js",
|
|
42
|
-
require: "./strapi-server.js",
|
|
43
|
-
"default": "./strapi-server.js"
|
|
44
|
-
},
|
|
45
|
-
"./package.json": "./package.json"
|
|
46
|
-
};
|
|
47
|
-
const scripts = {
|
|
48
|
-
build: "pack-up build",
|
|
49
|
-
clean: "run -T rimraf dist",
|
|
50
|
-
lint: "run -T eslint .",
|
|
51
|
-
prepublishOnly: "yarn clean && yarn build",
|
|
52
|
-
watch: "pack-up watch"
|
|
53
|
-
};
|
|
54
|
-
const dependencies = {
|
|
55
|
-
"@graphql-tools/schema": "8.5.1",
|
|
56
|
-
"@graphql-tools/utils": "^8.13.1",
|
|
57
|
-
"@strapi/design-system": "1.13.0",
|
|
58
|
-
"@strapi/helper-plugin": "4.15.2",
|
|
59
|
-
"@strapi/icons": "1.13.0",
|
|
60
|
-
"@strapi/utils": "4.15.2",
|
|
61
|
-
"apollo-server-core": "3.12.1",
|
|
62
|
-
"apollo-server-koa": "3.10.0",
|
|
63
|
-
graphql: "^15.5.1",
|
|
64
|
-
"graphql-depth-limit": "^1.1.0",
|
|
65
|
-
"graphql-playground-middleware-koa": "^1.6.21",
|
|
66
|
-
"graphql-scalars": "1.22.2",
|
|
67
|
-
"graphql-upload": "^13.0.0",
|
|
68
|
-
"koa-compose": "^4.1.0",
|
|
69
|
-
lodash: "4.17.21",
|
|
70
|
-
nexus: "1.3.0",
|
|
71
|
-
pluralize: "8.0.0"
|
|
72
|
-
};
|
|
73
|
-
const devDependencies = {
|
|
74
|
-
"@strapi/pack-up": "4.15.2",
|
|
75
|
-
"@strapi/strapi": "4.15.2",
|
|
76
|
-
"cross-env": "^7.0.3",
|
|
77
|
-
koa: "2.13.4",
|
|
78
|
-
react: "^18.2.0",
|
|
79
|
-
"react-dom": "^18.2.0",
|
|
80
|
-
"react-router-dom": "5.3.4",
|
|
81
|
-
"styled-components": "5.3.3"
|
|
82
|
-
};
|
|
83
|
-
const peerDependencies = {
|
|
84
|
-
"@strapi/strapi": "^4.0.0",
|
|
85
|
-
react: "^17.0.0 || ^18.0.0",
|
|
86
|
-
"react-dom": "^17.0.0 || ^18.0.0",
|
|
87
|
-
"react-router-dom": "^5.2.0",
|
|
88
|
-
"styled-components": "^5.2.1"
|
|
89
|
-
};
|
|
90
|
-
const engines = {
|
|
91
|
-
node: ">=18.0.0 <=20.x.x",
|
|
92
|
-
npm: ">=6.0.0"
|
|
93
|
-
};
|
|
94
|
-
const strapi = {
|
|
95
|
-
displayName: "GraphQL",
|
|
96
|
-
name: "graphql",
|
|
97
|
-
description: "Adds GraphQL endpoint with default API methods.",
|
|
98
|
-
kind: "plugin"
|
|
99
|
-
};
|
|
100
|
-
const gitHead = "bb510893332674e2607f7d335b34dc78c599319a";
|
|
101
|
-
const pluginPkg = {
|
|
102
|
-
name: name$1,
|
|
103
|
-
version,
|
|
104
|
-
description,
|
|
105
|
-
repository,
|
|
106
|
-
license,
|
|
107
|
-
author,
|
|
108
|
-
maintainers,
|
|
109
|
-
exports: exports$1,
|
|
110
|
-
scripts,
|
|
111
|
-
dependencies,
|
|
112
|
-
devDependencies,
|
|
113
|
-
peerDependencies,
|
|
114
|
-
engines,
|
|
115
|
-
strapi,
|
|
116
|
-
gitHead
|
|
117
|
-
};
|
|
118
|
-
const pluginId = pluginPkg.name.replace(/^@strapi\/plugin-/i, "");
|
|
119
|
-
const name = pluginPkg.strapi.name;
|
|
120
|
-
const index = {
|
|
121
|
-
register(app) {
|
|
122
|
-
app.registerPlugin({
|
|
123
|
-
id: pluginId,
|
|
124
|
-
name
|
|
125
|
-
});
|
|
126
|
-
},
|
|
127
|
-
bootstrap() {
|
|
128
|
-
},
|
|
129
|
-
async registerTrads({ locales }) {
|
|
130
|
-
const importedTrads = await Promise.all(
|
|
131
|
-
locales.map((locale) => {
|
|
132
|
-
return __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/dk.json": () => Promise.resolve().then(() => require("../_chunks/dk-c25c5cfd.js")), "./translations/en.json": () => Promise.resolve().then(() => require("../_chunks/en-79ad1826.js")), "./translations/es.json": () => Promise.resolve().then(() => require("../_chunks/es-95c4d946.js")), "./translations/fr.json": () => Promise.resolve().then(() => require("../_chunks/fr-c0712b60.js")), "./translations/pl.json": () => Promise.resolve().then(() => require("../_chunks/pl-b667c036.js")), "./translations/ru.json": () => Promise.resolve().then(() => require("../_chunks/ru-ac48a2af.js")), "./translations/sv.json": () => Promise.resolve().then(() => require("../_chunks/sv-2c811b73.js")), "./translations/tr.json": () => Promise.resolve().then(() => require("../_chunks/tr-cdb8fee4.js")), "./translations/zh-Hans.json": () => Promise.resolve().then(() => require("../_chunks/zh-Hans-253f7eb8.js")), "./translations/zh.json": () => Promise.resolve().then(() => require("../_chunks/zh-1e78a31c.js")) }), `./translations/${locale}.json`).then(({ default: data }) => {
|
|
133
|
-
return {
|
|
134
|
-
data: helperPlugin.prefixPluginTranslations(data, pluginId),
|
|
135
|
-
locale
|
|
136
|
-
};
|
|
137
|
-
}).catch(() => {
|
|
138
|
-
return {
|
|
139
|
-
data: {},
|
|
140
|
-
locale
|
|
141
|
-
};
|
|
142
|
-
});
|
|
143
|
-
})
|
|
144
|
-
);
|
|
145
|
-
return Promise.resolve(importedTrads);
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
module.exports = index;
|
|
149
|
-
//# sourceMappingURL=index.js.map
|
package/dist/admin/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../admin/src/pluginId.js","../../admin/src/index.js"],"sourcesContent":["import pluginPkg from '../../package.json';\n\nconst pluginId = pluginPkg.name.replace(/^@strapi\\/plugin-/i, '');\n\nexport default pluginId;\n","import { prefixPluginTranslations } from '@strapi/helper-plugin';\n\nimport pluginPkg from '../../package.json';\n\nimport pluginId from './pluginId';\n\nconst name = pluginPkg.strapi.name;\n\nexport default {\n register(app) {\n app.registerPlugin({\n id: pluginId,\n name,\n });\n },\n bootstrap() {},\n async registerTrads({ locales }) {\n const importedTrads = await Promise.all(\n locales.map((locale) => {\n return import(`./translations/${locale}.json`)\n .then(({ default: data }) => {\n return {\n data: prefixPluginTranslations(data, pluginId),\n locale,\n };\n })\n .catch(() => {\n return {\n data: {},\n locale,\n };\n });\n })\n );\n\n return Promise.resolve(importedTrads);\n },\n};\n"],"names":["prefixPluginTranslations"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAAM,WAAW,UAAU,KAAK,QAAQ,sBAAsB,EAAE;ACIhE,MAAM,OAAO,UAAU,OAAO;AAE9B,MAAe,QAAA;AAAA,EACb,SAAS,KAAK;AACZ,QAAI,eAAe;AAAA,MACjB,IAAI;AAAA,MACJ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ations } from "@strapi/helper-plugin";
|
|
2
|
-
const __variableDynamicImportRuntimeHelper = (glob, path) => {
|
|
3
|
-
const v = glob[path];
|
|
4
|
-
if (v) {
|
|
5
|
-
return typeof v === "function" ? v() : Promise.resolve(v);
|
|
6
|
-
}
|
|
7
|
-
return new Promise((_, reject) => {
|
|
8
|
-
(typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(reject.bind(null, new Error("Unknown variable dynamic import: " + path)));
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
const name$1 = "@strapi/plugin-graphql";
|
|
12
|
-
const version = "4.15.2";
|
|
13
|
-
const description = "Adds GraphQL endpoint with default API methods.";
|
|
14
|
-
const repository = {
|
|
15
|
-
type: "git",
|
|
16
|
-
url: "https://github.com/strapi/strapi.git",
|
|
17
|
-
directory: "packages/plugins/graphql"
|
|
18
|
-
};
|
|
19
|
-
const license = "SEE LICENSE IN LICENSE";
|
|
20
|
-
const author = {
|
|
21
|
-
name: "Strapi Solutions SAS",
|
|
22
|
-
email: "hi@strapi.io",
|
|
23
|
-
url: "https://strapi.io"
|
|
24
|
-
};
|
|
25
|
-
const maintainers = [
|
|
26
|
-
{
|
|
27
|
-
name: "Strapi Solutions SAS",
|
|
28
|
-
email: "hi@strapi.io",
|
|
29
|
-
url: "https://strapi.io"
|
|
30
|
-
}
|
|
31
|
-
];
|
|
32
|
-
const exports = {
|
|
33
|
-
"./strapi-admin": {
|
|
34
|
-
source: "./admin/src/index.js",
|
|
35
|
-
"import": "./dist/admin/index.mjs",
|
|
36
|
-
require: "./dist/admin/index.js",
|
|
37
|
-
"default": "./dist/admin/index.js"
|
|
38
|
-
},
|
|
39
|
-
"./strapi-server": {
|
|
40
|
-
source: "./strapi-server.js",
|
|
41
|
-
require: "./strapi-server.js",
|
|
42
|
-
"default": "./strapi-server.js"
|
|
43
|
-
},
|
|
44
|
-
"./package.json": "./package.json"
|
|
45
|
-
};
|
|
46
|
-
const scripts = {
|
|
47
|
-
build: "pack-up build",
|
|
48
|
-
clean: "run -T rimraf dist",
|
|
49
|
-
lint: "run -T eslint .",
|
|
50
|
-
prepublishOnly: "yarn clean && yarn build",
|
|
51
|
-
watch: "pack-up watch"
|
|
52
|
-
};
|
|
53
|
-
const dependencies = {
|
|
54
|
-
"@graphql-tools/schema": "8.5.1",
|
|
55
|
-
"@graphql-tools/utils": "^8.13.1",
|
|
56
|
-
"@strapi/design-system": "1.13.0",
|
|
57
|
-
"@strapi/helper-plugin": "4.15.2",
|
|
58
|
-
"@strapi/icons": "1.13.0",
|
|
59
|
-
"@strapi/utils": "4.15.2",
|
|
60
|
-
"apollo-server-core": "3.12.1",
|
|
61
|
-
"apollo-server-koa": "3.10.0",
|
|
62
|
-
graphql: "^15.5.1",
|
|
63
|
-
"graphql-depth-limit": "^1.1.0",
|
|
64
|
-
"graphql-playground-middleware-koa": "^1.6.21",
|
|
65
|
-
"graphql-scalars": "1.22.2",
|
|
66
|
-
"graphql-upload": "^13.0.0",
|
|
67
|
-
"koa-compose": "^4.1.0",
|
|
68
|
-
lodash: "4.17.21",
|
|
69
|
-
nexus: "1.3.0",
|
|
70
|
-
pluralize: "8.0.0"
|
|
71
|
-
};
|
|
72
|
-
const devDependencies = {
|
|
73
|
-
"@strapi/pack-up": "4.15.2",
|
|
74
|
-
"@strapi/strapi": "4.15.2",
|
|
75
|
-
"cross-env": "^7.0.3",
|
|
76
|
-
koa: "2.13.4",
|
|
77
|
-
react: "^18.2.0",
|
|
78
|
-
"react-dom": "^18.2.0",
|
|
79
|
-
"react-router-dom": "5.3.4",
|
|
80
|
-
"styled-components": "5.3.3"
|
|
81
|
-
};
|
|
82
|
-
const peerDependencies = {
|
|
83
|
-
"@strapi/strapi": "^4.0.0",
|
|
84
|
-
react: "^17.0.0 || ^18.0.0",
|
|
85
|
-
"react-dom": "^17.0.0 || ^18.0.0",
|
|
86
|
-
"react-router-dom": "^5.2.0",
|
|
87
|
-
"styled-components": "^5.2.1"
|
|
88
|
-
};
|
|
89
|
-
const engines = {
|
|
90
|
-
node: ">=18.0.0 <=20.x.x",
|
|
91
|
-
npm: ">=6.0.0"
|
|
92
|
-
};
|
|
93
|
-
const strapi = {
|
|
94
|
-
displayName: "GraphQL",
|
|
95
|
-
name: "graphql",
|
|
96
|
-
description: "Adds GraphQL endpoint with default API methods.",
|
|
97
|
-
kind: "plugin"
|
|
98
|
-
};
|
|
99
|
-
const gitHead = "bb510893332674e2607f7d335b34dc78c599319a";
|
|
100
|
-
const pluginPkg = {
|
|
101
|
-
name: name$1,
|
|
102
|
-
version,
|
|
103
|
-
description,
|
|
104
|
-
repository,
|
|
105
|
-
license,
|
|
106
|
-
author,
|
|
107
|
-
maintainers,
|
|
108
|
-
exports,
|
|
109
|
-
scripts,
|
|
110
|
-
dependencies,
|
|
111
|
-
devDependencies,
|
|
112
|
-
peerDependencies,
|
|
113
|
-
engines,
|
|
114
|
-
strapi,
|
|
115
|
-
gitHead
|
|
116
|
-
};
|
|
117
|
-
const pluginId = pluginPkg.name.replace(/^@strapi\/plugin-/i, "");
|
|
118
|
-
const name = pluginPkg.strapi.name;
|
|
119
|
-
const index = {
|
|
120
|
-
register(app) {
|
|
121
|
-
app.registerPlugin({
|
|
122
|
-
id: pluginId,
|
|
123
|
-
name
|
|
124
|
-
});
|
|
125
|
-
},
|
|
126
|
-
bootstrap() {
|
|
127
|
-
},
|
|
128
|
-
async registerTrads({ locales }) {
|
|
129
|
-
const importedTrads = await Promise.all(
|
|
130
|
-
locales.map((locale) => {
|
|
131
|
-
return __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/dk.json": () => import("../_chunks/dk-b2ca1d4a.mjs"), "./translations/en.json": () => import("../_chunks/en-bd941701.mjs"), "./translations/es.json": () => import("../_chunks/es-50c1efc9.mjs"), "./translations/fr.json": () => import("../_chunks/fr-918f61d3.mjs"), "./translations/pl.json": () => import("../_chunks/pl-c5cc2fe9.mjs"), "./translations/ru.json": () => import("../_chunks/ru-63c0ea2d.mjs"), "./translations/sv.json": () => import("../_chunks/sv-696dec50.mjs"), "./translations/tr.json": () => import("../_chunks/tr-f2860003.mjs"), "./translations/zh-Hans.json": () => import("../_chunks/zh-Hans-b12536ce.mjs"), "./translations/zh.json": () => import("../_chunks/zh-5fcaa1f1.mjs") }), `./translations/${locale}.json`).then(({ default: data }) => {
|
|
132
|
-
return {
|
|
133
|
-
data: prefixPluginTranslations(data, pluginId),
|
|
134
|
-
locale
|
|
135
|
-
};
|
|
136
|
-
}).catch(() => {
|
|
137
|
-
return {
|
|
138
|
-
data: {},
|
|
139
|
-
locale
|
|
140
|
-
};
|
|
141
|
-
});
|
|
142
|
-
})
|
|
143
|
-
);
|
|
144
|
-
return Promise.resolve(importedTrads);
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
export {
|
|
148
|
-
index as default
|
|
149
|
-
};
|
|
150
|
-
//# sourceMappingURL=index.mjs.map
|
package/dist/admin/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../admin/src/pluginId.js","../../admin/src/index.js"],"sourcesContent":["import pluginPkg from '../../package.json';\n\nconst pluginId = pluginPkg.name.replace(/^@strapi\\/plugin-/i, '');\n\nexport default pluginId;\n","import { prefixPluginTranslations } from '@strapi/helper-plugin';\n\nimport pluginPkg from '../../package.json';\n\nimport pluginId from './pluginId';\n\nconst name = pluginPkg.strapi.name;\n\nexport default {\n register(app) {\n app.registerPlugin({\n id: pluginId,\n name,\n });\n },\n bootstrap() {},\n async registerTrads({ locales }) {\n const importedTrads = await Promise.all(\n locales.map((locale) => {\n return import(`./translations/${locale}.json`)\n .then(({ default: data }) => {\n return {\n data: prefixPluginTranslations(data, pluginId),\n locale,\n };\n })\n .catch(() => {\n return {\n data: {},\n locale,\n };\n });\n })\n );\n\n return Promise.resolve(importedTrads);\n },\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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