@strapi/plugin-graphql 0.0.0-fd8e4c6bfa → 0.0.0-ffd0a215143bcafd0354d791533a57a084e53ffb

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.
@@ -0,0 +1,4 @@
1
+ {
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
+ }
@@ -0,0 +1,4 @@
1
+ {
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
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "plugin.description.long": "新增使用預設 API 方法的 GraphQL 端點。",
3
+ "plugin.description.short": "新增使用預設 API 方法的 GraphQL 端點。"
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/plugin-graphql",
3
- "version": "0.0.0-fd8e4c6bfa",
3
+ "version": "0.0.0-ffd0a215143bcafd0354d791533a57a084e53ffb",
4
4
  "description": "Adds GraphQL endpoint with default API methods.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,20 +27,20 @@
27
27
  "test:front:watch:ce": "cross-env IS_EE=false jest --config ./jest.config.front.js --watchAll"
28
28
  },
29
29
  "dependencies": {
30
- "@graphql-tools/schema": "8.1.2",
31
- "@graphql-tools/utils": "^8.10.0",
32
- "@strapi/utils": "0.0.0-fd8e4c6bfa",
33
- "apollo-server-core": "3.1.2",
30
+ "@graphql-tools/schema": "8.5.1",
31
+ "@graphql-tools/utils": "^8.12.0",
32
+ "@strapi/utils": "0.0.0-ffd0a215143bcafd0354d791533a57a084e53ffb",
33
+ "apollo-server-core": "3.11.1",
34
34
  "apollo-server-koa": "3.10.0",
35
35
  "glob": "^7.1.7",
36
36
  "graphql": "^15.5.1",
37
37
  "graphql-depth-limit": "^1.1.0",
38
38
  "graphql-playground-middleware-koa": "^1.6.21",
39
- "graphql-scalars": "1.17.0",
39
+ "graphql-scalars": "1.20.1",
40
40
  "graphql-upload": "^13.0.0",
41
41
  "koa-compose": "^4.1.0",
42
42
  "lodash": "4.17.21",
43
- "nexus": "1.2.0",
43
+ "nexus": "1.3.0",
44
44
  "pluralize": "^8.0.0",
45
45
  "subscriptions-transport-ws": "0.9.19"
46
46
  },
@@ -52,7 +52,7 @@
52
52
  "@strapi/strapi": "^4.0.0"
53
53
  },
54
54
  "engines": {
55
- "node": ">=14.19.1 <=16.x.x",
55
+ "node": ">=14.19.1 <=18.x.x",
56
56
  "npm": ">=6.0.0"
57
57
  },
58
58
  "strapi": {
@@ -61,5 +61,5 @@
61
61
  "description": "Adds GraphQL endpoint with default API methods.",
62
62
  "kind": "plugin"
63
63
  },
64
- "gitHead": "fd8e4c6bfa2fd687a3c62f8428e00f3b320c32c2"
64
+ "gitHead": "ffd0a215143bcafd0354d791533a57a084e53ffb"
65
65
  }
@@ -54,7 +54,7 @@ module.exports = ({ strapi }) => {
54
54
  .buildMutationsResolvers({ contentType });
55
55
 
56
56
  const findParams = omit(['data', 'files'], transformedArgs);
57
- const entity = await strapi.entityService.findMany(uid, { params: findParams });
57
+ const entity = await strapi.entityService.findMany(uid, findParams);
58
58
 
59
59
  // Create or update
60
60
  const value = isNil(entity)
@@ -84,7 +84,7 @@ module.exports = ({ strapi }) => {
84
84
  .get('content-api')
85
85
  .buildMutationsResolvers({ contentType });
86
86
 
87
- const entity = await strapi.entityService.findMany(uid, { params: transformedArgs });
87
+ const entity = await strapi.entityService.findMany(uid, transformedArgs);
88
88
 
89
89
  if (!entity) {
90
90
  throw new NotFoundError('Entity not found');