graphql-config
Version:
The easiest way to configure your development environment with your GraphQL schema (supported by most tools, editors & IDEs)
23 lines (22 loc) • 678 B
TypeScript
import { IntrospectionQuery } from 'graphql';
import { GraphQLConfigEnpointsData } from './extensions/';
export declare type IntrospectionResult = {
data: IntrospectionQuery;
extensions?: Object;
errors?: any;
};
export declare type GraphQLConfigExtensions = {
endpoints?: GraphQLConfigEnpointsData;
[name: string]: any;
};
export declare type GraphQLResolvedConfigData = {
schemaPath: string;
includes?: Array<string>;
excludes?: Array<string>;
extensions?: GraphQLConfigExtensions;
};
export declare type GraphQLConfigData = GraphQLResolvedConfigData & {
projects?: {
[projectName: string]: GraphQLResolvedConfigData;
};
};