24 lines
530 B
TypeScript
24 lines
530 B
TypeScript
import { DocumentNode, IntrospectionQuery } from 'graphql';
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare function pick<T>(obj: any, keys: string[]): T;
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare function isSchemaText(obj: any): obj is string;
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare function isWrappedSchemaJson(obj: any): obj is {
|
|
data: IntrospectionQuery;
|
|
};
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare function isSchemaJson(obj: any): obj is IntrospectionQuery;
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare function isSchemaAst(obj: any): obj is DocumentNode;
|