Operation which inserts a substring into a "str" RGA-string data type.

interface JsonCodecInsStrOperation {
    after: JsonCodecTimestamp;
    obj: JsonCodecTimestamp;
    op: "ins_str";
    value: string;
}

Hierarchy (view full)

Properties

Properties

Specifies the ID of element after which to attempt to insert the substring using the RGA algorithm.

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: "ins_str"

Mnemonic.

value: string

The substring to insert in the string.