Setu-TS
    Preparing search index...

    Interface InboxRecord

    One inbox row. Every field is a JSON scalar, so the row is portable to every backend the store supports (times are epoch milliseconds).

    Optional fields are ABSENT when they carry no value, never undefined.

    0.9.0

    interface InboxRecord {
        attempts: number;
        consumer: string;
        envelope?: string;
        envelopeId?: string;
        id: string;
        kind: "setu-inbox";
        lastError?: string;
        status: InboxStatus;
        topic: string;
        updatedAt: number;
    }
    Index
    attempts: number

    Failures recorded for the delivery; 0 on a first-try success.

    consumer: string

    The consumer name the delivery was handled under.

    envelope?: string

    The delivered envelope as received, on a parked marker within the configured size cap. Absent otherwise.

    envelopeId?: string

    The envelope id, stored only when it is a valid publish id (at most 128 UTF-8 bytes, no control or format characters). Absent otherwise.

    id: string

    The primary key: the marker id (64 lowercase hex characters), or for the failure-count row the marker id followed by .attempts.

    kind: "setu-inbox"

    The discriminator, always INBOX_RECORD_KIND.

    lastError?: string

    The last handler failure, one bounded line. Absent when none.

    status: InboxStatus

    The row's status.

    topic: string

    The subscription topic.

    updatedAt: number

    Epoch milliseconds of the row's last write — the retention clock.