Comparing version 0.0.0-main-0762a16f to 0.0.0-main-262191a2
@@ -36,3 +36,13 @@ { | ||
"trailingComma": "all" | ||
}, | ||
"pnpm": { | ||
"peerDependencyRules": { | ||
"ignoreMissing": [ | ||
"@codemirror/language" | ||
], | ||
"allowedVersions": { | ||
"graphql": "16.6.0" | ||
} | ||
} | ||
} | ||
} |
@@ -391,2 +391,3 @@ "use strict"; | ||
var fields = this.collectInputFields(node); | ||
var deprecatedDirective = this.collectDeprecated(node); | ||
this.definitions.push({ | ||
@@ -397,3 +398,4 @@ kind: graphql_1.Kind.INPUT_OBJECT_TYPE_DEFINITION, | ||
name: name, | ||
fields: fields !== null && fields !== void 0 ? fields : undefined | ||
fields: fields !== null && fields !== void 0 ? fields : undefined, | ||
directives: deprecatedDirective == null ? undefined : [deprecatedDirective] | ||
}); | ||
@@ -440,2 +442,3 @@ }; | ||
var description = this.collectDescription(node.name); | ||
var deprecatedDirective = this.collectDeprecated(node); | ||
return { | ||
@@ -448,3 +451,3 @@ kind: graphql_1.Kind.INPUT_VALUE_DEFINITION, | ||
defaultValue: undefined, | ||
directives: undefined | ||
directives: deprecatedDirective == null ? undefined : [deprecatedDirective] | ||
}; | ||
@@ -842,2 +845,3 @@ }; | ||
} | ||
var deprecatedDirective = this.collectDeprecated(node); | ||
return { | ||
@@ -850,3 +854,3 @@ kind: graphql_1.Kind.INPUT_VALUE_DEFINITION, | ||
defaultValue: defaultValue || undefined, | ||
directives: [] | ||
directives: deprecatedDirective != null ? [deprecatedDirective] : undefined | ||
}; | ||
@@ -853,0 +857,0 @@ }; |
{ | ||
"name": "grats", | ||
"version": "0.0.0-main-0762a16f", | ||
"version": "0.0.0-main-262191a2", | ||
"main": "dist/src/index.js", | ||
@@ -5,0 +5,0 @@ "bin": "dist/src/cli.js", |
143798
25
2679