UNPKG

@gqlts/cli

Version:

Generate a client sdk from your GraphQl API

6 lines (5 loc) 386 B
import { RenderContext } from '../common/RenderContext'; import { GraphQLSchema } from 'graphql'; export declare function renderEnumsMaps(schema: GraphQLSchema, moduleType: 'esm' | 'cjs' | 'type'): string; export declare function renderClientCjs(schema: GraphQLSchema, ctx: RenderContext): void; export declare function renderClientEsm(schema: GraphQLSchema, ctx: RenderContext): void;