import { InputFieldRef } from "https://deno.land/x/pothos@release-1730496474/packages/core/index.ts";
Constructors
new
InputFieldRef(initConfig: (name: string, typeConfig: PothosTypeConfig) => PothosInputFieldConfig<Types>)Type Parameters
Types extends SchemaTypes
Properties
private
initConfig: (name: string, typeConfig: PothosTypeConfig) => PothosInputFieldConfig<Types>private
onUseCallbacks: Set<(config: PothosInputFieldConfig<Types>) => void>protected
pendingActions: ((config: PothosInputFieldConfig<Types>) => PothosInputFieldConfig<Types> | void)[]$inferInput: T
[inputFieldShapeKey]: T
Methods
getConfig(name: string, typeConfig: PothosTypeConfig): PothosInputFieldConfig<Types>
onFirstUse(cb: (config: PothosInputFieldConfig<Types>) => void)
updateConfig(cb: (config: PothosInputFieldConfig<Types>) => PothosInputFieldConfig<Types> | void)