@gqlts/cli
Version:
Generate a client sdk from your GraphQl API
5 lines (4 loc) • 349 B
TypeScript
import { RenderContext } from '../common/RenderContext';
import { FieldMap } from '@gqlts/runtime/dist/types';
import { GraphQLInputObjectType, GraphQLInterfaceType, GraphQLObjectType } from 'graphql';
export declare function objectType(type: GraphQLObjectType | GraphQLInterfaceType | GraphQLInputObjectType, ctx: RenderContext): FieldMap<string>;