json-joy
    Preparing search index...

    Represents a JSON CRDT Patch object.

    interface JsonCodecPatch {
        id: [sessionId: number, time: number];
        meta?: unknown;
        ops: JsonCodecOperation[];
    }
    Index

    Properties

    Properties

    id: [sessionId: number, time: number]

    ID of the first operation in the patch. IDs of subsequent operations are derived from this ID.

    meta?: unknown

    Custom metadata.

    List of operations comprising this patch. Patches are atomic, so all operations are applied at once. "time" part of the IDs of all operations is incremented by size of each operation in the patch.