interface ResolveByMetadataParams {
    key: string;
    metadata?: Record<string, unknown>;
    namespace?: string;
    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
resolverPayload?: Record<string, unknown>
roles?: string[]
value: unknown