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/wrap/introspect.d.ts

5 lines
530 B
TypeScript

import { GraphQLSchema, IntrospectionOptions } from 'graphql';
import { AsyncExecutor, SyncExecutor } from '@graphql-tools/delegate';
export declare function introspectSchema<TExecutor extends AsyncExecutor | SyncExecutor>(executor: TExecutor, context?: Record<string, any>, options?: IntrospectionOptions): TExecutor extends AsyncExecutor ? Promise<GraphQLSchema> : GraphQLSchema;
export declare function introspectSchemaSync(executor: SyncExecutor, context?: Record<string, any>, options?: IntrospectionOptions): GraphQLSchema;