interface FlagBatchItemParams {
    actor?: string;
    id?: string;
    itemKey: string;
    label: string;
    metadata?: Record<string, unknown>;
    namespace?: string;
    payload?: Record<string, unknown>;
    resolvedBy?: ResolvedByIdentity;
    signalKey?: string;
}

Properties

actor?: string

Recorded on the flag.

id?: string

Row selector — exactly one of id | signalKey.

itemKey: string

A declared batch key that is still pending.

label: string

What the flag says, e.g. Missing.

metadata?: Record<string, unknown>

Merge patch for the row's metadata, in the same UPDATE. Reserved batch keys are rejected.

namespace?: string
payload?: Record<string, unknown>

Detail stored with the flag and delivered with $flags.

resolvedBy?: ResolvedByIdentity

Delivered under $resolution when the flag ends the wait.

signalKey?: string