UNPKG

@gqlts/cli

Version:

Generate a client sdk from your GraphQl API

28 lines (25 loc) 708 B
export const RUNTIME_LIB_NAME = '@gqlts/runtime'; export interface Config { verbose?: boolean; endpoint?: string; useGet?: boolean; // the schema string schema?: string; // the output dir output?: string; methodPrefix?: string; methodSuffix?: string; // options?: Options headers?: Record<string, string>; scalarTypes?: { [k: string]: string }; 'standalone-name'?: string; 'standalone-compress'?: boolean; onlyEsModules?: boolean; onlyCJSModules?: boolean; sortProperties?: boolean; } // export interface Options { // schemaValidation?: GraphQLSchemaValidationOptions // schemaPrint?: SchemaPrintOptions // schemaBuild?: BuildSchemaOptions & ParseOptions // }