form-graph
    Preparing search index...

    Interface FieldRecord<T, M>

    interface FieldRecord<T = unknown, M = unknown> {
        address: string;
        boundaryError: FieldError | undefined;
        codec: Codec<T, M> | undefined;
        element?: { id: string; list: string };
        emit?: string | false;
        isComputed: boolean;
        key: string;
        list?: { ids: readonly string[]; max: number; min: number };
        meta: M | undefined;
        metaFn: ((value: unknown) => unknown) | undefined;
        note: ResolutionNote | undefined;
        refined: SchemaLike<unknown> | undefined;
        value: T;
    }

    Type Parameters

    • T = unknown
    • M = unknown
    Index
    address: string

    Intent address this field resolved with — key unscoped, key@scope scoped.

    boundaryError: FieldError | undefined

    Set when a boundary value failed its input schema and the default was used instead.

    codec: Codec<T, M> | undefined
    element?: { id: string; list: string }

    Set on every record resolved INSIDE a list element: which list (full path) and which element id. validateResolution groups element outputs into the list's data array by this.

    emit?: string | false

    Wire disposition: undefined emits under the graph key, a string emits under that name instead, false keeps the key out of parsed data entirely (it still resolves, validates, and holds intent). Validation errors always key by GRAPH name — errors describe fields; only data carries wire names.

    isComputed: boolean
    key: string
    list?: { ids: readonly string[]; max: number; min: number }

    Set on a list's MEMBERSHIP record: the ordered element ids plus the bounds its ops refuse against. Its value is the same id array; parsed data carries the assembled per-element objects instead.

    meta: M | undefined
    metaFn: ((value: unknown) => unknown) | undefined

    The value-derived meta function, kept so f.correct can recompute meta.

    note: ResolutionNote | undefined

    The correction note from this pass, when correct replaced the value.

    refined: SchemaLike<unknown> | undefined

    The refined output schema for this pass (FieldOptions.refine); replaces codec.output at submit.

    value: T