@strapi/plugin-graphql 5.0.3 → 5.0.5

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.
@@ -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.2";
12
+ const version = "5.0.4";
13
13
  const description = "Adds GraphQL endpoint with default API methods.";
14
14
  const repository = {
15
15
  type: "git",
@@ -100,7 +100,7 @@ const peerDependencies = {
100
100
  "styled-components": "^6.0.0"
101
101
  };
102
102
  const engines = {
103
- node: ">=18.0.0 <=20.x.x",
103
+ node: ">=18.0.0 <=22.x.x",
104
104
  npm: ">=6.0.0"
105
105
  };
106
106
  const strapi = {
@@ -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.2";
11
+ const version = "5.0.4";
12
12
  const description = "Adds GraphQL endpoint with default API methods.";
13
13
  const repository = {
14
14
  type: "git",
@@ -99,7 +99,7 @@ const peerDependencies = {
99
99
  "styled-components": "^6.0.0"
100
100
  };
101
101
  const engines = {
102
- node: ">=18.0.0 <=20.x.x",
102
+ node: ">=18.0.0 <=22.x.x",
103
103
  npm: ">=6.0.0"
104
104
  };
105
105
  const strapi = {
@@ -242,7 +242,20 @@ declare const _default: {
242
242
  getEntityResponseCollectionName: (contentType: import("@strapi/types/dist/struct").Schema) => string;
243
243
  getRelationResponseCollectionName: (contentType: import("@strapi/types/dist/struct").Schema) => string;
244
244
  getComponentName: (contentType: import("@strapi/types/dist/struct").Schema) => string;
245
- getComponentNameFromAttribute: (attribute: import("@strapi/types/dist/schema/attribute").OfType<"component"> & import("@strapi/types/dist/schema/attribute").ComponentProperties<`${string}.${string}`, false> & import("@strapi/types/dist/schema/attribute").ConfigurableOption & import("@strapi/types/dist/schema/attribute").MinMaxOption<number> & import("@strapi/types/dist/schema/attribute").PrivateOption & import("@strapi/types/dist/schema/attribute").RequiredOption & import("@strapi/types/dist/schema/attribute").WritableOption & import("@strapi/types/dist/schema/attribute").VisibleOption) => string;
245
+ getComponentNameFromAttribute: (attribute: {
246
+ type: "component";
247
+ pluginOptions?: object | undefined;
248
+ searchable?: boolean | undefined;
249
+ component: `${string}.${string}`;
250
+ repeatable?: false | undefined;
251
+ configurable?: boolean | undefined;
252
+ min?: number | undefined;
253
+ max?: number | undefined;
254
+ private?: boolean | undefined;
255
+ required?: boolean | undefined;
256
+ writable?: boolean | undefined;
257
+ visible?: boolean | undefined;
258
+ }) => string;
246
259
  getDynamicZoneName: (contentType: import("@strapi/types/dist/struct").Schema, attributeName: string) => string;
247
260
  getDynamicZoneInputName: (contentType: import("@strapi/types/dist/struct").Schema, attributeName: string) => string;
248
261
  getComponentInputName: (contentType: import("@strapi/types/dist/struct").Schema) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../server/src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGxC,wBAIE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../server/src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGxC,wBAIE"}
@@ -229,7 +229,20 @@ export declare const services: {
229
229
  getEntityResponseCollectionName: (contentType: import("@strapi/types/dist/struct").Schema) => string;
230
230
  getRelationResponseCollectionName: (contentType: import("@strapi/types/dist/struct").Schema) => string;
231
231
  getComponentName: (contentType: import("@strapi/types/dist/struct").Schema) => string;
232
- getComponentNameFromAttribute: (attribute: import("@strapi/types/dist/schema/attribute").OfType<"component"> & import("@strapi/types/dist/schema/attribute").ComponentProperties<`${string}.${string}`, false> & import("@strapi/types/dist/schema/attribute").ConfigurableOption & import("@strapi/types/dist/schema/attribute").MinMaxOption<number> & import("@strapi/types/dist/schema/attribute").PrivateOption & import("@strapi/types/dist/schema/attribute").RequiredOption & import("@strapi/types/dist/schema/attribute").WritableOption & import("@strapi/types/dist/schema/attribute").VisibleOption) => string;
232
+ getComponentNameFromAttribute: (attribute: {
233
+ type: "component";
234
+ pluginOptions?: object | undefined;
235
+ searchable?: boolean | undefined;
236
+ component: `${string}.${string}`;
237
+ repeatable?: false | undefined;
238
+ configurable?: boolean | undefined;
239
+ min?: number | undefined;
240
+ max?: number | undefined;
241
+ private?: boolean | undefined;
242
+ required?: boolean | undefined;
243
+ writable?: boolean | undefined;
244
+ visible?: boolean | undefined;
245
+ }) => string;
233
246
  getDynamicZoneName: (contentType: import("@strapi/types/dist/struct").Schema, attributeName: string) => string;
234
247
  getDynamicZoneInputName: (contentType: import("@strapi/types/dist/struct").Schema, attributeName: string) => string;
235
248
  getComponentInputName: (contentType: import("@strapi/types/dist/struct").Schema) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/services/index.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASpB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/services/index.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASpB,CAAC"}
@@ -14,7 +14,20 @@ declare const _default: (context: Context) => {
14
14
  getEntityResponseCollectionName: (contentType: import("@strapi/types/dist/struct").Schema) => string;
15
15
  getRelationResponseCollectionName: (contentType: import("@strapi/types/dist/struct").Schema) => string;
16
16
  getComponentName: (contentType: import("@strapi/types/dist/struct").Schema) => string;
17
- getComponentNameFromAttribute: (attribute: import("@strapi/types/dist/schema/attribute").OfType<"component"> & import("@strapi/types/dist/schema/attribute").ComponentProperties<`${string}.${string}`, false> & import("@strapi/types/dist/schema/attribute").ConfigurableOption & import("@strapi/types/dist/schema/attribute").MinMaxOption<number> & import("@strapi/types/dist/schema/attribute").PrivateOption & import("@strapi/types/dist/schema/attribute").RequiredOption & import("@strapi/types/dist/schema/attribute").WritableOption & import("@strapi/types/dist/schema/attribute").VisibleOption) => string;
17
+ getComponentNameFromAttribute: (attribute: {
18
+ type: "component";
19
+ pluginOptions?: object | undefined;
20
+ searchable?: boolean | undefined;
21
+ component: `${string}.${string}`;
22
+ repeatable?: false | undefined;
23
+ configurable?: boolean | undefined;
24
+ min?: number | undefined;
25
+ max?: number | undefined;
26
+ private?: boolean | undefined;
27
+ required?: boolean | undefined;
28
+ writable?: boolean | undefined;
29
+ visible?: boolean | undefined;
30
+ }) => string;
18
31
  getDynamicZoneName: (contentType: import("@strapi/types/dist/struct").Schema, attributeName: string) => string;
19
32
  getDynamicZoneInputName: (contentType: import("@strapi/types/dist/struct").Schema, attributeName: string) => string;
20
33
  getComponentInputName: (contentType: import("@strapi/types/dist/struct").Schema) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../server/src/services/utils/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;kCAEf,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAhC,wBAKG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../server/src/services/utils/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;kCAEf,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAhC,wBAKG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/plugin-graphql",
3
- "version": "5.0.3",
3
+ "version": "5.0.5",
4
4
  "description": "Adds GraphQL endpoint with default API methods.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -55,7 +55,7 @@
55
55
  "@koa/cors": "5.0.0",
56
56
  "@strapi/design-system": "2.0.0-rc.11",
57
57
  "@strapi/icons": "2.0.0-rc.11",
58
- "@strapi/utils": "5.0.3",
58
+ "@strapi/utils": "5.0.5",
59
59
  "graphql": "^16.8.1",
60
60
  "graphql-depth-limit": "^1.1.0",
61
61
  "graphql-playground-middleware-koa": "^1.6.21",
@@ -68,19 +68,19 @@
68
68
  },
69
69
  "devDependencies": {
70
70
  "@strapi/sdk-plugin": "^5.0.0",
71
- "@strapi/strapi": "5.0.3",
72
- "@strapi/types": "5.0.3",
71
+ "@strapi/strapi": "5.0.5",
72
+ "@strapi/types": "5.0.5",
73
73
  "@types/graphql-depth-limit": "1.1.5",
74
74
  "@types/koa-bodyparser": "4.3.12",
75
75
  "@types/koa__cors": "5.0.0",
76
76
  "cross-env": "^7.0.3",
77
- "eslint-config-custom": "5.0.3",
77
+ "eslint-config-custom": "5.0.5",
78
78
  "koa": "2.15.2",
79
79
  "react": "18.3.1",
80
80
  "react-dom": "18.3.1",
81
81
  "react-router-dom": "6.22.3",
82
82
  "styled-components": "6.1.8",
83
- "tsconfig": "5.0.3",
83
+ "tsconfig": "5.0.5",
84
84
  "typescript": "5.3.2"
85
85
  },
86
86
  "peerDependencies": {
@@ -91,7 +91,7 @@
91
91
  "styled-components": "^6.0.0"
92
92
  },
93
93
  "engines": {
94
- "node": ">=18.0.0 <=20.x.x",
94
+ "node": ">=18.0.0 <=22.x.x",
95
95
  "npm": ">=6.0.0"
96
96
  },
97
97
  "strapi": {
@@ -100,5 +100,5 @@
100
100
  "description": "Adds GraphQL endpoint with default API methods.",
101
101
  "kind": "plugin"
102
102
  },
103
- "gitHead": "3e37ea0306e6faf2c214a654ab00a2323d7e3ab7"
103
+ "gitHead": "9cbf0e65dc4979f0db4355c05a03917f21448367"
104
104
  }