t-graphql
Version:
typed GraphQL - end-to-end type-safe GraphQL for TypeScript. Think tRPC, but GraphQL
10 lines (9 loc) • 559 B
TypeScript
import { CustomScalarType } from '../CustomScalarType';
import { EnumType } from '../EnumType';
import { EnumValueType } from '../EnumValueType';
import { AnyInputFieldType, InputObjectType } from '../inputs/InputObjectType';
import { ScalarType } from './ScalarType.type';
export type AnyInputValueType = ScalarType | CustomScalarType<string, ScalarType> | EnumType<string, string[]> | EnumValueType<string> | InputObjectType<string, Record<string, {
type: AnyInputFieldType;
optional: boolean;
}>> | [AnyInputValueType] | [AnyInputValueType, null];