data-cap
    Preparing search index...

    Interface ResolvedGovernanceValue<T>

    One resolved governance value plus its provenance (ADR 0057) -- the one path a FieldNode consumer reads for a governed property, replacing what used to require separately checking a bare resolved property AND field.docs.X to get the full picture. declaredOn: undefined means neither the field nor its capability declared a value at all (value is then also undefined).

    interface ResolvedGovernanceValue<T> {
        declaredOn: "field" | "capability" | undefined;
        value: T | undefined;
    }

    Type Parameters

    • T
    Index
    declaredOn: "field" | "capability" | undefined

    Where value came from.

    value: T | undefined

    The effective value: the field's own declaration, else the capability's.