The "del" operation deletes contents from list CRDT (RGA) data types, such as "str", "bin", and "arr". The what property specifies the ranges of contents to delete.

interface JsonCodecDelOperation {
    obj: JsonCodecTimestamp;
    op: "del";
    what: JsonCodecTimespan[];
}

Hierarchy (view full)

Properties

Properties

Object on which to perform the operation.

For "val" CRDT object, if omitted, or set to falsy value, or equal to origin [0, 0], the "set" operation is applied to the root object, which is LWW Register of a pointer to another CRDT data type.

op: "del"

Mnemonic.

Range of content to delete.