@graphql-inspector/validate-command 0.0.0-canary.b784517 → 0.0.0-canary.d95a8a3
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 +2 -0
- package/index.js +4 -0
- package/index.mjs +4 -0
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ declare const _default: CommandFactory<{}, {
|
|
|
26
26
|
apollo: boolean;
|
|
27
27
|
keepClientFields: boolean;
|
|
28
28
|
maxDepth?: number | undefined;
|
|
29
|
+
maxAliasCount?: number | undefined;
|
|
30
|
+
maxDirectiveCount?: number | undefined;
|
|
29
31
|
filter?: string[] | undefined;
|
|
30
32
|
onlyErrors?: boolean | undefined;
|
|
31
33
|
relativePaths?: boolean | undefined;
|
package/index.js
CHANGED
|
@@ -173,6 +173,8 @@ const index = commands.createCommand(api => {
|
|
|
173
173
|
const apolloFederation = args.federation || false;
|
|
174
174
|
const method = ((_a = args.method) === null || _a === void 0 ? void 0 : _a.toUpperCase()) || 'POST';
|
|
175
175
|
const maxDepth = args.maxDepth || undefined;
|
|
176
|
+
const maxAliasCount = args.maxAliasCount || undefined;
|
|
177
|
+
const maxDirectiveCount = args.maxDirectiveCount || undefined;
|
|
176
178
|
const strictFragments = !args.noStrictFragments;
|
|
177
179
|
const keepClientFields = args.keepClientFields || false;
|
|
178
180
|
const failOnDeprecated = args.deprecated;
|
|
@@ -194,6 +196,8 @@ const index = commands.createCommand(api => {
|
|
|
194
196
|
documents,
|
|
195
197
|
apollo,
|
|
196
198
|
maxDepth,
|
|
199
|
+
maxAliasCount,
|
|
200
|
+
maxDirectiveCount,
|
|
197
201
|
strictFragments,
|
|
198
202
|
keepClientFields,
|
|
199
203
|
failOnDeprecated,
|
package/index.mjs
CHANGED
|
@@ -169,6 +169,8 @@ const index = createCommand(api => {
|
|
|
169
169
|
const apolloFederation = args.federation || false;
|
|
170
170
|
const method = ((_a = args.method) === null || _a === void 0 ? void 0 : _a.toUpperCase()) || 'POST';
|
|
171
171
|
const maxDepth = args.maxDepth || undefined;
|
|
172
|
+
const maxAliasCount = args.maxAliasCount || undefined;
|
|
173
|
+
const maxDirectiveCount = args.maxDirectiveCount || undefined;
|
|
172
174
|
const strictFragments = !args.noStrictFragments;
|
|
173
175
|
const keepClientFields = args.keepClientFields || false;
|
|
174
176
|
const failOnDeprecated = args.deprecated;
|
|
@@ -190,6 +192,8 @@ const index = createCommand(api => {
|
|
|
190
192
|
documents,
|
|
191
193
|
apollo,
|
|
192
194
|
maxDepth,
|
|
195
|
+
maxAliasCount,
|
|
196
|
+
maxDirectiveCount,
|
|
193
197
|
strictFragments,
|
|
194
198
|
keepClientFields,
|
|
195
199
|
failOnDeprecated,
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-inspector/validate-command",
|
|
3
|
-
"version": "0.0.0-canary.
|
|
3
|
+
"version": "0.0.0-canary.d95a8a3",
|
|
4
4
|
"description": "Validate Documents in GraphQL Inspector",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"graphql": "^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@graphql-inspector/commands": "0.0.0-canary.
|
|
11
|
-
"@graphql-inspector/core": "0.0.0-canary.
|
|
12
|
-
"@graphql-inspector/logger": "0.0.0-canary.
|
|
10
|
+
"@graphql-inspector/commands": "0.0.0-canary.d95a8a3",
|
|
11
|
+
"@graphql-inspector/core": "0.0.0-canary.d95a8a3",
|
|
12
|
+
"@graphql-inspector/logger": "0.0.0-canary.d95a8a3",
|
|
13
13
|
"tslib": "^2.0.0"
|
|
14
14
|
},
|
|
15
15
|
"repository": {
|