1 | import { ListTypeNode, NamedTypeNode, NonNullTypeNode, Source, TypeNode } from 'graphql';
|
2 | export declare function isStringTypes(types: any): types is string;
|
3 | export declare function isSourceTypes(types: any): types is Source;
|
4 | export declare function extractType(type: TypeNode): NamedTypeNode;
|
5 | export declare function isWrappingTypeNode(type: TypeNode): type is ListTypeNode | NonNullTypeNode;
|
6 | export declare function isListTypeNode(type: TypeNode): type is ListTypeNode;
|
7 | export declare function isNonNullTypeNode(type: TypeNode): type is NonNullTypeNode;
|
8 | export declare function printTypeNode(type: TypeNode): string;
|
9 | export declare enum CompareVal {
|
10 | A_SMALLER_THAN_B = -1,
|
11 | A_EQUALS_B = 0,
|
12 | A_GREATER_THAN_B = 1
|
13 | }
|
14 | export type CompareFn<T> = (a: T | undefined, b: T | undefined) => -1 | 0 | 1;
|
15 | export declare function defaultStringComparator(a: string | undefined, b: string | undefined): CompareVal;
|