@gqlts/cli
Version:
Generate a client sdk from your GraphQl API
6 lines (5 loc) • 364 B
TypeScript
import { RenderContext } from '../common/RenderContext';
import { CompressedTypeMap, TypeMap } from '@gqlts/runtime/dist/types';
import { GraphQLSchema } from 'graphql';
export declare function renderTypeMap(schema: GraphQLSchema, ctx: RenderContext): void;
export declare function replaceTypeNamesWithIndexes(typeMap: TypeMap<string>): CompressedTypeMap<number>;