mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
16 lines
663 B
TypeScript
16 lines
663 B
TypeScript
|
import { GraphQLConfigData } from './types';
|
||
|
import { GraphQLProjectConfig } from './GraphQLProjectConfig';
|
||
|
export declare class GraphQLConfig {
|
||
|
config: GraphQLConfigData;
|
||
|
configPath: string;
|
||
|
constructor(config: GraphQLConfigData, configPath: string);
|
||
|
readonly configDir: string;
|
||
|
getProjectConfig(projectName?: string): GraphQLProjectConfig;
|
||
|
getConfigForFile(filePath: string): GraphQLProjectConfig | undefined;
|
||
|
getProjectNameForFile(filePath: string): string | undefined;
|
||
|
getProjects(): {
|
||
|
[name: string]: GraphQLProjectConfig;
|
||
|
} | undefined;
|
||
|
saveConfig(newConfig: GraphQLConfigData, projectName?: string): void;
|
||
|
}
|