1 | import { GraphQLInputType, GraphQLOutputType, GraphQLType } from 'graphql';
|
2 | export interface ResolvedType {
|
3 | raw: string;
|
4 | name: string;
|
5 | isRequired: boolean;
|
6 | isArray: boolean;
|
7 | isNullableArray: boolean;
|
8 | dimensionOfArray: number;
|
9 | }
|
10 | export declare function isRequired(type: GraphQLOutputType | GraphQLInputType): boolean;
|
11 | export declare function isNullable(type: GraphQLOutputType | GraphQLInputType): boolean;
|
12 | export declare function isArray(type: GraphQLOutputType | GraphQLInputType): boolean;
|
13 | export declare function dimensionOfArray(type: GraphQLOutputType | GraphQLInputType): number;
|
14 | export declare function resolveType(type: GraphQLType): ResolvedType;
|