1 |
|
2 | import { GraphQLObjectType } from 'graphql/type/definition';
|
3 | import { GraphQLField } from 'graphql/type/definition';
|
4 | import { GraphQLType } from 'graphql/type/definition';
|
5 | import { Model } from './interfaces';
|
6 | import { GraphQLSchema } from 'graphql/type/schema';
|
7 | import { OperationDefinitionNode } from 'graphql/language/ast';
|
8 | export declare const isPrimitive: (primitivesMap: any, type: string) => any;
|
9 | export declare const shouldSkip: (typeName: string) => boolean;
|
10 | export declare const isRequired: (type: GraphQLType) => boolean;
|
11 | export declare const isArray: (type: GraphQLType) => boolean;
|
12 | export declare const getTypeName: (primitivesMap: any, type: GraphQLType) => any;
|
13 | export declare function getFieldDef(parentType: any, fieldAST: any): GraphQLField<any, any>;
|
14 | export declare const handleNameDuplications: (name: string, existing: Model[]) => string;
|
15 | export declare const getRoot: (schema: GraphQLSchema, operation: OperationDefinitionNode) => GraphQLObjectType;
|
16 | export declare const buildName: (typesMap: any, name: string, type: string) => string;
|