graphql-static-binding
Version:
Generate static binding files for a GraphQL schema
7 lines (6 loc) • 443 B
TypeScript
import { GraphQLFieldMap } from 'graphql';
import { Generator } from '../types';
export declare const generator: Generator;
export declare function renderExistsFields(fields: GraphQLFieldMap<any, any>): string;
export declare function renderMainMethodFields(operation: string, fields: GraphQLFieldMap<any, any>): string;
export declare function renderMainSubscriptionMethodFields(operation: string, fields: GraphQLFieldMap<any, any>): string;