UNPKG

mute-structs

Version:

NodeJS module providing an implementation of the LogootSplit CRDT algorithm

10 lines (9 loc) 381 B
import { Epoch } from "../epoch/epoch"; import { RenamableReplicableList } from "../renamablereplicablelist"; import { TextOperation } from "./textoperation"; export declare abstract class RenamableListOperation { abstract readonly author: number; readonly epoch: Epoch; constructor(epoch: Epoch); abstract execute(doc: RenamableReplicableList): TextOperation[]; }