import { default } from "https://deno.land/x/pothos@release-1677173079/packages/core/config-store.ts";
Properties
private
fieldRefCallbacks: Map<FieldRef | InputFieldRef, ((config: PothosFieldConfig<Types>) => void)[]>private
fieldRefs: WeakMap<FieldRef | InputFieldRef, (name: string,
parentField: string | undefined,
typeConfig: PothosTypeConfig,
private
fieldRefsToConfigs: Map<FieldRef | InputFieldRef, PothosFieldConfig<Types>[]>private
fields: Map<string, Map<string, PothosFieldConfig<Types>>>private
pendingInterfaces: Map<string, (() => InterfaceParam<Types>[])[]>private
pendingRefResolutions: Map<ConfigurableRef<Types>, ((config: PothosTypeConfig) => void)[]>private
pendingUnionTypes: Map<string, (() => ObjectParam<Types>[])[]>private
refsToName: Map<ConfigurableRef<Types>, string>Methods
private
buildField()private
buildFields(typeRef: ConfigurableRef<Types>, fields: FieldMap | InputFieldMap)private
describeRef(ref: ConfigurableRef<Types>): stringaddInterfaces(typeName: string, interfaces: InterfaceParam<Types>[] | (() => InterfaceParam<Types>[]))
addTypeConfig(config: PothosTypeConfig, ref?: ConfigurableRef<Types>)
addUnionTypes(typeName: string, unionTypes: ObjectParam<Types>[] | (() => ObjectParam<Types>[]))
associateRefWithName(ref: ConfigurableRef<Types>, name: string)
createFieldConfig<T extends GraphQLFieldKind>(): Extract<PothosFieldConfig<Types>, { graphqlKind: T; }>
ref: FieldRef | InputFieldRef,
name: string,
typeConfig: PothosTypeConfig,
parentField?: string,
kind?: T,
getImplementers(ref: ConfigurableRef<Types> | string)
getInputTypeRef(ref: ConfigurableRef<Types> | string)
getOutputTypeRef(ref: ConfigurableRef<Types> | string)
getTypeConfig<T extends PothosTypeConfig["kind"]>(ref: ConfigurableRef<Types> | string, kind?: T)
onFieldUse(ref: FieldRef | InputFieldRef, cb: (config: PothosFieldConfig<Types>) => void)
onTypeConfig(ref: ConfigurableRef<Types>, cb: (config: PothosTypeConfig) => void)