@graphql-tools/utils 8.3.0 → 8.4.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.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
- package/types.d.ts +2 -1
package/index.js
CHANGED
|
@@ -1781,7 +1781,7 @@ function buildOperationAndCollectVariables({ schema, fieldName, kind, models, ig
|
|
|
1781
1781
|
kind: graphql.Kind.OPERATION_DEFINITION,
|
|
1782
1782
|
operation: kind,
|
|
1783
1783
|
name: {
|
|
1784
|
-
kind:
|
|
1784
|
+
kind: graphql.Kind.NAME,
|
|
1785
1785
|
value: operationName,
|
|
1786
1786
|
},
|
|
1787
1787
|
variableDefinitions: [],
|
package/index.mjs
CHANGED
|
@@ -1777,7 +1777,7 @@ function buildOperationAndCollectVariables({ schema, fieldName, kind, models, ig
|
|
|
1777
1777
|
kind: Kind.OPERATION_DEFINITION,
|
|
1778
1778
|
operation: kind,
|
|
1779
1779
|
name: {
|
|
1780
|
-
kind:
|
|
1780
|
+
kind: Kind.NAME,
|
|
1781
1781
|
value: operationName,
|
|
1782
1782
|
},
|
|
1783
1783
|
variableDefinitions: [],
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GraphQLEnumType, GraphQLInputObjectType, GraphQLNamedType, GraphQLScalarType } from 'graphql';
|
|
1
|
+
import { GraphQLEnumType, GraphQLInputObjectType, GraphQLNamedType, GraphQLScalarType, visit } from 'graphql';
|
|
2
2
|
export interface SchemaPrintOptions {
|
|
3
3
|
/**
|
|
4
4
|
* Descriptions are defined as preceding string literals, however an older
|
|
@@ -47,3 +47,4 @@ export interface PruneSchemaOptions {
|
|
|
47
47
|
}
|
|
48
48
|
export declare type InputLeafValueTransformer = (type: GraphQLEnumType | GraphQLScalarType, originalValue: any) => any;
|
|
49
49
|
export declare type InputObjectValueTransformer = (type: GraphQLInputObjectType, originalValue: Record<string, any>) => Record<string, any>;
|
|
50
|
+
export declare type ASTVisitorKeyMap = Partial<Parameters<typeof visit>[2]>;
|