polen
Version:
A framework for delightful GraphQL developer portals
6 lines • 1.03 kB
TypeScript
import { type GraphQLEnumType, type GraphQLInputObjectType, type GraphQLInterfaceType, type GraphQLList, type GraphQLNonNull, type GraphQLObjectType, type GraphQLScalarType, type GraphQLUnionType } from 'graphql';
import type { RootTypeMap } from './RootTypeMap.js';
export { GraphQLEnumType as Enum, isEnumType as isEnum, GraphQLInputObjectType as InputObject, isInputObjectType as isInputObject, GraphQLInterfaceType as Interface, isInterfaceType as isInterface, GraphQLList as List, isListType as isList, GraphQLNonNull as NonNull, isNonNullType as isNonNull, GraphQLObjectType as Object, isObjectType as isObject, GraphQLScalarType as Scalar, isScalarType as isScalar, GraphQLUnionType as Union, isUnionType as isUnion, } from 'graphql';
export type Type = GraphQLEnumType | GraphQLInputObjectType | GraphQLInterfaceType | GraphQLObjectType | GraphQLScalarType | GraphQLUnionType | GraphQLList<any> | GraphQLNonNull<any>;
export declare const isRoot: (map: RootTypeMap, type: Type) => boolean;
//# sourceMappingURL=type.d.ts.map