Module

x/pothos/packages/plugin-with-input/types.ts>FieldWithInputOptions

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
type alias FieldWithInputOptions
import { type FieldWithInputOptions } from "https://dotland.deno.dev/x/pothos@release-1684230554/packages/plugin-with-input/types.ts";

Type Parameters

Types extends SchemaTypes
ParentShape
Kind extends FieldKind
Args extends Record<string, InputFieldRef<unknown, "Arg">>
Fields extends Record<string, InputFieldRef<unknown, "InputObject">>
Type extends TypeParam<Types>
Nullable extends FieldNullability<Type>
InputName extends string
ResolveShape
ResolveReturnShape
ArgRequired extends boolean
definition: Omit<FieldOptionsFromKind<Types, ParentShape, Type, Nullable, [K in InputName]: InputFieldRef<InputShapeFromFields<Fields> | (true extends ArgRequired ? never : null | undefined)> & Args, Kind, ResolveShape, ResolveReturnShape>, "args"> & { typeOptions?: WithInputTypeOptions<Types, Fields>; argOptions?: WithInputArgOptions<Types, Fields, InputName, ArgRequired>; input: Fields; args?: Args; }