interface ResolveByMetadataParams {
    key: string;
    metadata?: Record<string, unknown>;
    namespace?: string;
    resolvedBy?: ResolvedByIdentity;
    resolverPayload?: Record<string, unknown>;
    roles?: string[];
    value: unknown;
}

Properties

key: string
metadata?: Record<string, unknown>

Merge patch applied to the matched row's metadata (shallow, not replaced) in the same atomic UPDATE. Note this is the resolution patch — distinct from the key/value selector used to find the row. See ResolveEscalationParams.metadata.

namespace?: string
resolvedBy?: ResolvedByIdentity

Resolver identity delivered under $resolution. See ResolveEscalationParams.resolvedBy.

resolverPayload?: Record<string, unknown>
roles?: string[]
value: unknown