@strapi/plugin-graphql 5.0.0-beta.5 → 5.0.0-beta.7
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/index.js +12 -12
- package/dist/admin/index.mjs +12 -12
- package/dist/server/index.js +4 -1
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +4 -1
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/src/services/content-api/index.d.ts.map +1 -1
- package/package.json +13 -13
package/dist/admin/index.js
CHANGED
|
@@ -9,7 +9,7 @@ const __variableDynamicImportRuntimeHelper = (glob, path) => {
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
const name$1 = "@strapi/plugin-graphql";
|
|
12
|
-
const version = "5.0.0-beta.
|
|
12
|
+
const version = "5.0.0-beta.6";
|
|
13
13
|
const description = "Adds GraphQL endpoint with default API methods.";
|
|
14
14
|
const repository = {
|
|
15
15
|
type: "git",
|
|
@@ -59,12 +59,12 @@ const scripts = {
|
|
|
59
59
|
const dependencies = {
|
|
60
60
|
"@apollo/server": "4.10.0",
|
|
61
61
|
"@as-integrations/koa": "1.1.1",
|
|
62
|
-
"@graphql-tools/schema": "
|
|
63
|
-
"@graphql-tools/utils": "^
|
|
62
|
+
"@graphql-tools/schema": "10.0.3",
|
|
63
|
+
"@graphql-tools/utils": "^10.1.3",
|
|
64
64
|
"@koa/cors": "5.0.0",
|
|
65
|
-
"@strapi/design-system": "
|
|
66
|
-
"@strapi/icons": "
|
|
67
|
-
"@strapi/utils": "5.0.0-beta.
|
|
65
|
+
"@strapi/design-system": "2.0.0-beta.3",
|
|
66
|
+
"@strapi/icons": "2.0.0-beta.3",
|
|
67
|
+
"@strapi/utils": "5.0.0-beta.6",
|
|
68
68
|
graphql: "^16.8.1",
|
|
69
69
|
"graphql-depth-limit": "^1.1.0",
|
|
70
70
|
"graphql-playground-middleware-koa": "^1.6.21",
|
|
@@ -76,19 +76,19 @@ const dependencies = {
|
|
|
76
76
|
pluralize: "8.0.0"
|
|
77
77
|
};
|
|
78
78
|
const devDependencies = {
|
|
79
|
-
"@strapi/strapi": "5.0.0-beta.
|
|
80
|
-
"@strapi/types": "5.0.0-beta.
|
|
79
|
+
"@strapi/strapi": "5.0.0-beta.6",
|
|
80
|
+
"@strapi/types": "5.0.0-beta.6",
|
|
81
81
|
"@types/graphql-depth-limit": "1.1.5",
|
|
82
82
|
"@types/koa-bodyparser": "4.3.12",
|
|
83
83
|
"@types/koa__cors": "5.0.0",
|
|
84
84
|
"cross-env": "^7.0.3",
|
|
85
|
-
"eslint-config-custom": "5.0.0-beta.
|
|
85
|
+
"eslint-config-custom": "5.0.0-beta.6",
|
|
86
86
|
koa: "2.15.2",
|
|
87
87
|
react: "^18.2.0",
|
|
88
88
|
"react-dom": "^18.2.0",
|
|
89
89
|
"react-router-dom": "6.22.3",
|
|
90
|
-
"styled-components": "
|
|
91
|
-
tsconfig: "5.0.0-beta.
|
|
90
|
+
"styled-components": "6.1.8",
|
|
91
|
+
tsconfig: "5.0.0-beta.6",
|
|
92
92
|
typescript: "5.3.2"
|
|
93
93
|
};
|
|
94
94
|
const peerDependencies = {
|
|
@@ -96,7 +96,7 @@ const peerDependencies = {
|
|
|
96
96
|
react: "^17.0.0 || ^18.0.0",
|
|
97
97
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
98
98
|
"react-router-dom": "^6.0.0",
|
|
99
|
-
"styled-components": "^
|
|
99
|
+
"styled-components": "^6.0.0"
|
|
100
100
|
};
|
|
101
101
|
const engines = {
|
|
102
102
|
node: ">=18.0.0 <=20.x.x",
|
package/dist/admin/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const __variableDynamicImportRuntimeHelper = (glob, path) => {
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
const name$1 = "@strapi/plugin-graphql";
|
|
11
|
-
const version = "5.0.0-beta.
|
|
11
|
+
const version = "5.0.0-beta.6";
|
|
12
12
|
const description = "Adds GraphQL endpoint with default API methods.";
|
|
13
13
|
const repository = {
|
|
14
14
|
type: "git",
|
|
@@ -58,12 +58,12 @@ const scripts = {
|
|
|
58
58
|
const dependencies = {
|
|
59
59
|
"@apollo/server": "4.10.0",
|
|
60
60
|
"@as-integrations/koa": "1.1.1",
|
|
61
|
-
"@graphql-tools/schema": "
|
|
62
|
-
"@graphql-tools/utils": "^
|
|
61
|
+
"@graphql-tools/schema": "10.0.3",
|
|
62
|
+
"@graphql-tools/utils": "^10.1.3",
|
|
63
63
|
"@koa/cors": "5.0.0",
|
|
64
|
-
"@strapi/design-system": "
|
|
65
|
-
"@strapi/icons": "
|
|
66
|
-
"@strapi/utils": "5.0.0-beta.
|
|
64
|
+
"@strapi/design-system": "2.0.0-beta.3",
|
|
65
|
+
"@strapi/icons": "2.0.0-beta.3",
|
|
66
|
+
"@strapi/utils": "5.0.0-beta.6",
|
|
67
67
|
graphql: "^16.8.1",
|
|
68
68
|
"graphql-depth-limit": "^1.1.0",
|
|
69
69
|
"graphql-playground-middleware-koa": "^1.6.21",
|
|
@@ -75,19 +75,19 @@ const dependencies = {
|
|
|
75
75
|
pluralize: "8.0.0"
|
|
76
76
|
};
|
|
77
77
|
const devDependencies = {
|
|
78
|
-
"@strapi/strapi": "5.0.0-beta.
|
|
79
|
-
"@strapi/types": "5.0.0-beta.
|
|
78
|
+
"@strapi/strapi": "5.0.0-beta.6",
|
|
79
|
+
"@strapi/types": "5.0.0-beta.6",
|
|
80
80
|
"@types/graphql-depth-limit": "1.1.5",
|
|
81
81
|
"@types/koa-bodyparser": "4.3.12",
|
|
82
82
|
"@types/koa__cors": "5.0.0",
|
|
83
83
|
"cross-env": "^7.0.3",
|
|
84
|
-
"eslint-config-custom": "5.0.0-beta.
|
|
84
|
+
"eslint-config-custom": "5.0.0-beta.6",
|
|
85
85
|
koa: "2.15.2",
|
|
86
86
|
react: "^18.2.0",
|
|
87
87
|
"react-dom": "^18.2.0",
|
|
88
88
|
"react-router-dom": "6.22.3",
|
|
89
|
-
"styled-components": "
|
|
90
|
-
tsconfig: "5.0.0-beta.
|
|
89
|
+
"styled-components": "6.1.8",
|
|
90
|
+
tsconfig: "5.0.0-beta.6",
|
|
91
91
|
typescript: "5.3.2"
|
|
92
92
|
};
|
|
93
93
|
const peerDependencies = {
|
|
@@ -95,7 +95,7 @@ const peerDependencies = {
|
|
|
95
95
|
react: "^17.0.0 || ^18.0.0",
|
|
96
96
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
97
97
|
"react-router-dom": "^6.0.0",
|
|
98
|
-
"styled-components": "^
|
|
98
|
+
"styled-components": "^6.0.0"
|
|
99
99
|
};
|
|
100
100
|
const engines = {
|
|
101
101
|
node: ">=18.0.0 <=20.x.x",
|
package/dist/server/index.js
CHANGED
|
@@ -588,7 +588,10 @@ const contentAPI = ({ strapi: strapi2 }) => {
|
|
|
588
588
|
}
|
|
589
589
|
const schema = buildMergedSchema({ registry });
|
|
590
590
|
const extension = extensionService.generate({ typeRegistry: registry });
|
|
591
|
-
const schemaWithResolvers = addResolversToSchema(
|
|
591
|
+
const schemaWithResolvers = addResolversToSchema({
|
|
592
|
+
schema,
|
|
593
|
+
resolvers: extension.resolvers
|
|
594
|
+
});
|
|
592
595
|
const outputs = {
|
|
593
596
|
schema: config2("artifacts.schema", false),
|
|
594
597
|
typegen: config2("artifacts.typegen", false)
|