rmapi-js
    Preparing search index...

    Interface SceneItem<V>

    the CRDT-sequence envelope shared by every scene item

    interface SceneItem<V> {
        deletedLength: number;
        itemId: CrdtId;
        leftId: CrdtId;
        rightId: CrdtId;
        value: V | undefined;
    }

    Type Parameters

    • V
    Index

    Properties

    deletedLength: number

    how many following items this deletes

    itemId: CrdtId

    this item's own id

    leftId: CrdtId

    the id of the left sibling in the CRDT sequence

    rightId: CrdtId

    the id of the right sibling

    value: V | undefined

    the item's value, or undefined if it carries none (e.g. a tombstone)