UNPKG

292 BTypeScriptView Raw
1import { GraphQLSchema } from 'graphql';
2import { CLIOptions } from '../../cli-options';
3export interface SchemaLoader {
4 canHandle(pointerToSchema: string): Promise<boolean> | boolean;
5 handle(pointerToSchema: string, cliOptions: CLIOptions): Promise<GraphQLSchema> | GraphQLSchema;
6}