import { BaseTypeRef } from "https://deno.land/x/pothos@release-1726524975/packages/core/refs/base.ts";
Constructors
new
BaseTypeRef(kind: ,
| "Enum"
| "InputList"
| "InputObject"
| "Interface"
| "List"
| "Object"
| "Scalar"
| "Union"
name: string,
config?: T | null,
Type Parameters
Types extends SchemaTypes
Properties
private
currentConfig: T | nullprotected
configCallbacks: Set<(config: T) => void>association: BaseTypeRef<Types, T> | string | null
Methods
protected
onceOnConfig(cb: (config: T) => T | void)associate(ref: BaseTypeRef<Types, T> | string)
toString()
updateConfig(config: T | ((oldConfig: T) => T))