import { InputFieldBuilder } from "https://deno.land/x/pothos@release-1730496474/packages/core/fieldUtils/input.ts";
Type Parameters
Types extends SchemaTypes
Properties
builder: PothosSchemaTypes.SchemaBuilder<Types>
kind: Kind
listRef: <T extends InputTypeParam<Types>, Required extends boolean = true>(type: T, options?: { required?: Required; }) => InputListRef<Types, InputShapeFromTypeParam<Types, T, Required>[]>
Methods
field<Type extends InputType<Types> | [InputType<Types>], Req extends FieldRequiredness<Type>>(options: PothosSchemaTypes.InputFieldOptionsByKind<Types, Type, Req>[Kind]): InputOrArgRef<Types, InputShapeFromTypeParam<Types, Type, Req>, Kind>
Create in input field or argument for the current type