UNPKG

gotql

Version:

A GraphQL query framework for serverside apps

10 lines 408 B
import { GotQL } from '../types/generics'; import { QueryType } from '../types/QueryType'; /** * Parses a JSON-like query into a string * @param {queryType} query The JSON-like query to be parsed * @param {string} type Can be 'query' or 'mutation' * @return {string} Parsed query */ export declare function parse(query: QueryType, type: GotQL.ExecutionType): string; //# sourceMappingURL=parser.d.ts.map