Module

x/pothos/packages/plugin-with-input/mod.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-1713397530/packages/plugin-with-input/mod.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, Args & [K in InputName]: InputFieldRef<InputShapeFromFields<Fields> | (true extends ArgRequired ? never : null | undefined)>, Kind, ResolveShape, ResolveReturnShape>, "args"> & { typeOptions?: WithInputTypeOptions<Types, Fields>; argOptions?: WithInputArgOptions<Types, Fields, InputName, ArgRequired>; input: Fields; args?: Args; }