import { ArgumentRef } from "https://deno.land/x/pothos@release-1721854018/packages/core/refs/arg.ts";
Constructors
new
ArgumentRef(initConfig: () => PothosInputFieldConfig<Types>)Type Parameters
Types extends SchemaTypes
Properties
private
initConfig: () => PothosInputFieldConfig<Types>private
onUseCallbacks: Set<(config: PothosInputFieldConfig<Types>) => void>protected
pendingActions: ((config: PothosInputFieldConfig<Types>) => PothosInputFieldConfig<Types> | void)[]$inferInput: T
[inputFieldShapeKey]: T
Methods
onConfig(cb: (config: PothosInputFieldConfig<Types>) => PothosInputFieldConfig<Types> | void)
onFirstUse(cb: (config: PothosInputFieldConfig<Types>) => void)
updateConfig(cb: (config: PothosInputFieldConfig<Types>) => PothosInputFieldConfig<Types> | void)