graphql-codegen-core
Version:
GraphQL types and code generator based on schema
4 lines (3 loc) • 387 B
TypeScript
import { GraphQLFieldMap, GraphQLSchema, GraphQLInterfaceType, GraphQLObjectType, GraphQLInputObjectType, GraphQLInputFieldMap } from 'graphql';
import { Field } from '../types';
export declare function resolveFields(schema: GraphQLSchema, rawFields: GraphQLFieldMap<any, any> | GraphQLInputFieldMap, _parent: GraphQLObjectType | GraphQLInterfaceType | GraphQLInputObjectType): Field[];