@sovereignbase/convergent-replicated-list
    Preparing search index...

    Type Alias CRListSnapshotRange<T>

    Block record used by snapshots and deltas.

    items are live payload references. Consumers that mutate items outside CRList operations must provide their own isolation first.

    type CRListSnapshotRange<T> = {
        id: Uint32UuidV7;
        items: T[] | undefined;
        length?: number;
        pending?: boolean;
        previousRangeId: Uint32UuidV7;
    }

    Type Parameters

    • T
    Index

    Properties

    Stable identity for this block's first item.

    items: T[] | undefined

    User payload items stored in this block.

    length?: number

    Number of entries represented by a tombstoned range.

    pending?: boolean

    Range waiting for missing predecessor dependencies during hydration.

    previousRangeId: Uint32UuidV7

    Stable previous block or item id, or '0' for root-level blocks.