UNPKG

455 BTypeScriptView Raw
1/// <reference types="@types/graphql" />
2import { Model } from './interfaces';
3import { GraphQLType, GraphQLArgument } from 'graphql/type/definition';
4import { GraphQLSchema } from 'graphql/type/schema';
5export declare const buildArgumentsType: (primitivesMap: any, fieldName: string, typeName: string, argumentsArr?: GraphQLArgument[]) => Model;
6export declare const handleType: (schema: GraphQLSchema, primitivesMap: any, type: GraphQLType) => Model[];