1 | import { GraphQLSchema } from 'graphql';
|
2 | import { Types } from 'graphql-codegen-core';
|
3 | export interface SchemaLoader<T = any> {
|
4 | canHandle(pointerToSchema: string): Promise<boolean> | boolean;
|
5 | handle(pointerToSchema: string, config: Types.Config, schemaOptions: T): Promise<GraphQLSchema> | GraphQLSchema;
|
6 | }
|