@zuplo/graphql 5.1585.0 → 5.1587.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/index.d.ts +6 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -56,26 +56,26 @@ declare type CorsPolicy = string | "anything-goes" | "none";
|
|
|
56
56
|
export declare const GraphQLComplexityLimitInboundPolicy: InboundPolicyHandler<GraphQLComplexityLimitInboundPolicyOptions>;
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
* The options for this policy
|
|
59
|
+
* The options for this policy.
|
|
60
60
|
*/
|
|
61
61
|
export declare interface GraphQLComplexityLimitInboundPolicyOptions {
|
|
62
62
|
useComplexityLimit: {
|
|
63
63
|
/**
|
|
64
|
-
* The maximum complexity a query is allowed to have
|
|
64
|
+
* The maximum complexity a query is allowed to have.
|
|
65
65
|
*/
|
|
66
66
|
complexityLimit?: number;
|
|
67
67
|
/**
|
|
68
|
-
* The endpoint URL to use for the complexity calculation
|
|
68
|
+
* The endpoint URL to use for the complexity calculation.
|
|
69
69
|
*/
|
|
70
70
|
endpointUrl?: string;
|
|
71
71
|
};
|
|
72
72
|
useDepthLimit: {
|
|
73
73
|
/**
|
|
74
|
-
* The maximum depth a query is allowed to have
|
|
74
|
+
* The maximum depth a query is allowed to have.
|
|
75
75
|
*/
|
|
76
76
|
depthLimit?: number;
|
|
77
77
|
/**
|
|
78
|
-
* The fields to ignore when calculating the depth of a query
|
|
78
|
+
* The fields to ignore when calculating the depth of a query.
|
|
79
79
|
*/
|
|
80
80
|
ignore?: string[];
|
|
81
81
|
};
|
|
@@ -99,7 +99,7 @@ export declare interface GraphQLComplexityLimitInboundPolicyOptions {
|
|
|
99
99
|
export declare const GraphQLDisableIntrospectionInboundPolicy: InboundPolicyHandler<GraphqlDisableIntrospectionInboundPolicyOptions>;
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
|
-
* The options for this policy
|
|
102
|
+
* The options for this policy.
|
|
103
103
|
*/
|
|
104
104
|
export declare interface GraphqlDisableIntrospectionInboundPolicyOptions {
|
|
105
105
|
}
|