import { ArgumentRef } from "https://deno.land/x/pothos@release-1730496474/packages/core/index.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)