@graphql-hive/cli
Version:
A CLI util to manage and control your GraphQL Hive
30 lines • 669 B
TypeScript
export declare function loadSchemaFromGitHistory(filePointer: string, commit: string): {
status: "error";
error: {
type: "path";
message: string;
};
path?: undefined;
} | {
status: "ok";
sdl: string;
error?: undefined;
} | {
status: "error";
error: {
type: "git";
message: string;
path: string;
};
sdl?: undefined;
};
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