UNPKG

json-joy

Version:

Collection of libraries for building collaborative editing apps.

11 lines (10 loc) 313 B
import { type ITimestampStruct } from './clock'; import type { Patch } from './Patch'; export declare class Batch { patches: Patch[]; constructor(patches: Patch[]); getId(): ITimestampStruct | undefined; rebase(serverTime: number): Batch; clone(): Batch; toString(tab?: string): string; }