@zuplo/graphql 6.52.10 → 6.52.13
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/out/types/index.d.ts +23 -24
- package/package.json +3 -3
package/out/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InboundPolicyHandler } from
|
|
1
|
+
import { InboundPolicyHandler } from "@zuplo/runtime";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Policy that limits the complexity and depth of GraphQL queries to prevent abuse.
|
|
@@ -76,26 +76,26 @@ export declare const GraphQLComplexityLimitInboundPolicy: InboundPolicyHandler<G
|
|
|
76
76
|
* @public
|
|
77
77
|
*/
|
|
78
78
|
export declare interface GraphQLComplexityLimitInboundPolicyOptions {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
79
|
+
useComplexityLimit: {
|
|
80
|
+
/**
|
|
81
|
+
* The maximum complexity a query is allowed to have.
|
|
82
|
+
*/
|
|
83
|
+
complexityLimit?: number;
|
|
84
|
+
/**
|
|
85
|
+
* The endpoint URL to use for the complexity calculation.
|
|
86
|
+
*/
|
|
87
|
+
endpointUrl?: string;
|
|
88
|
+
};
|
|
89
|
+
useDepthLimit: {
|
|
90
|
+
/**
|
|
91
|
+
* The maximum depth a query is allowed to have.
|
|
92
|
+
*/
|
|
93
|
+
depthLimit?: number;
|
|
94
|
+
/**
|
|
95
|
+
* The fields to ignore when calculating the depth of a query.
|
|
96
|
+
*/
|
|
97
|
+
ignore?: string[];
|
|
98
|
+
};
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
/**
|
|
@@ -159,7 +159,6 @@ export declare const GraphQLDisableIntrospectionInboundPolicy: InboundPolicyHand
|
|
|
159
159
|
* The options for this policy.
|
|
160
160
|
* @public
|
|
161
161
|
*/
|
|
162
|
-
export declare interface GraphqlDisableIntrospectionInboundPolicyOptions {
|
|
163
|
-
}
|
|
162
|
+
export declare interface GraphqlDisableIntrospectionInboundPolicyOptions {}
|
|
164
163
|
|
|
165
|
-
export {
|
|
164
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zuplo/graphql",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "6.52.
|
|
4
|
+
"version": "6.52.13",
|
|
5
5
|
"repository": "https://github.com/zuplo/zuplo",
|
|
6
6
|
"author": "Zuplo, Inc.",
|
|
7
7
|
"exports": {
|
|
@@ -31,6 +31,6 @@
|
|
|
31
31
|
"graphql": "^16.8.1"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@zuplo/runtime": "6.52.
|
|
34
|
+
"@zuplo/runtime": "6.52.13"
|
|
35
35
|
}
|
|
36
|
-
}
|
|
36
|
+
}
|