UNPKG

@graphql-hive/cli

Version:

A CLI util to manage and control your GraphQL Hive

30 lines • 669 B
export declare function loadSchemaFromGitHistory(filePointer: string, commit: string): { status: 'error'; error: { type: 'path'; message: string; }; path?: undefined; } | { error?: undefined; status: 'ok'; sdl: string; } | { sdl?: undefined; status: 'error'; error: { type: 'git'; message: string; path: string; }; }; export declare function parseBaselineGitFileReference(schemaPointer: string): { status: 'error'; commit?: undefined; filePath?: undefined; } | { status: 'ok'; commit: string; filePath: string; }; //# sourceMappingURL=git-schema-loader.d.ts.map