mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
21 lines
908 B
TypeScript
21 lines
908 B
TypeScript
|
import { GraphQLSchema } from 'graphql';
|
||
|
import { IntrospectionResult, GraphQLResolvedConfigData, GraphQLConfigData, GraphQLConfigExtensions } from './types';
|
||
|
import { GraphQLEndpointsExtension } from './extensions';
|
||
|
export declare class GraphQLProjectConfig {
|
||
|
config: GraphQLResolvedConfigData;
|
||
|
configPath: string;
|
||
|
projectName?: string;
|
||
|
constructor(config: GraphQLConfigData, configPath: string, projectName?: string);
|
||
|
resolveConfigPath(relativePath: string): string;
|
||
|
includesFile(fileUri: string): boolean;
|
||
|
getSchema(): GraphQLSchema;
|
||
|
resolveIntrospection(): Promise<IntrospectionResult>;
|
||
|
getSchemaSDL(): string;
|
||
|
readonly configDir: string;
|
||
|
readonly schemaPath: string | null;
|
||
|
readonly includes: string[];
|
||
|
readonly excludes: string[];
|
||
|
readonly extensions: GraphQLConfigExtensions;
|
||
|
readonly endpointsExtension: GraphQLEndpointsExtension | null;
|
||
|
}
|