export declare type PointerWithConfiguration = { [key: string]: T; }; /** * Configuration of each used extension */ export interface IExtensions { [name: string]: any; } /** * Multiple named projects */ export interface IGraphQLProjects { projects: { [name: string]: IGraphQLProject | IGraphQLProjectLegacy; }; } /** * Structure of GraphQL Config */ export declare type IGraphQLConfig = IGraphQLProject | IGraphQLProjects | IGraphQLProjectLegacy; /** * Legacy structure of GraphQL Config v2 */ export interface IGraphQLProjectLegacy { schemaPath: string; includes?: string[]; excludes?: string[]; extensions?: { [name: string]: any; }; } export declare type WithList = T | T[]; export declare type ElementOf = TList extends Array ? TElement : never; export declare type SchemaPointer = WithList; export declare type SchemaPointerSingle = ElementOf; export declare type DocumentGlobPathPointer = string; export declare type DocumentPointer = WithList; /** * GraphQL Project */ export interface IGraphQLProject { schema: SchemaPointer; documents?: DocumentPointer; extensions?: IExtensions; include?: string | string[]; exclude?: string | string[]; } export interface GraphQLConfigResult { config: IGraphQLConfig; filepath: string; } //# sourceMappingURL=types.d.ts.map