1 | import { GraphQLInputType, GraphQLOutputType, GraphQLNamedType, KindEnum, GraphQLSchema, GraphQLError, DocumentNode, FieldNode } from 'graphql';
|
2 | export declare function safeChangeForField(oldType: GraphQLOutputType, newType: GraphQLOutputType): boolean;
|
3 | export declare function safeChangeForInputValue(oldType: GraphQLInputType, newType: GraphQLInputType): boolean;
|
4 | export declare function getKind(type: GraphQLNamedType): KindEnum;
|
5 | export declare function getTypePrefix(type: GraphQLNamedType): string;
|
6 | export declare function isPrimitive(type: GraphQLNamedType | string): boolean;
|
7 | export declare function isForIntrospection(type: GraphQLNamedType | string): boolean;
|
8 | export declare function findDeprecatedUsages(schema: GraphQLSchema, ast: DocumentNode): Array<GraphQLError>;
|
9 | export declare function removeFieldIfDirectives(node: FieldNode, directiveNames: string[]): FieldNode | null;
|
10 | export declare function removeDirectives(node: FieldNode, directiveNames: string[]): FieldNode;
|