UNPKG

385 BTypeScriptView Raw
1import { Types } from 'graphql-codegen-core';
2import { SchemaLoader } from './schema-loader';
3import { DocumentNode, Source } from 'graphql';
4export declare class SchemaFromTypedefs implements SchemaLoader {
5 canHandle(globPath: string): boolean;
6 handle(globPath: string, config: Types.Config, schemaOptions: any): DocumentNode;
7 loadFileContent(filePath: string): Source;
8}