UNPKG

gqlpq

Version:

Utility to parse GraphQL files from your client and generate list of persisted queries.

13 lines (12 loc) 437 B
import { Parser } from "./pq"; export declare class InputReader { static loadFiles(path: string, filter: RegExp, parser: Parser): void; static isDir(path: string): boolean; static readDir(path: string, filter: RegExp, parser: Parser): void; static readFile(path: string, parser: Parser): void; } export declare class OutputWriter { static write(path: string, queries: { [key: string]: string; }): void; }