UNPKG

@graphql-tools/git-loader

Version:

A set of utils for faster development of GraphQL tools

24 lines (23 loc) 488 B
type PartialInput = { ref: string; }; type Input = PartialInput & { path: string; }; /** * @internal */ export declare function readTreeAtRef(ref: string): Promise<string[] | never>; /** * @internal */ export declare function readTreeAtRefSync(ref: string): string[] | never; /** * @internal */ export declare function loadFromGit(input: Input): Promise<string | never>; /** * @internal */ export declare function loadFromGitSync(input: Input): string | never; export {};