This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
admin-panel/graphql-types/node_modules/@graphql-tools/code-file-loader/es5/helpers.d.ts

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;