@y/y
Version:
Shared Editing Library
26 lines • 1.28 kB
TypeScript
export function testMergeUpdates(tc: t.TestCase): void;
export function testKeyEncoding(tc: t.TestCase): void;
export function testMergeUpdates1(_tc: t.TestCase): void;
export function testMergeUpdates2(_tc: t.TestCase): void;
export function testMergeUpdatesStressTest(_tc: t.TestCase): void;
export function testMergePendingUpdates(_tc: t.TestCase): void;
export function testObfuscateUpdates(_tc: t.TestCase): void;
export function testIntersectDoc(): void;
export type Enc = {
mergeUpdates: (arg0: Array<Uint8Array<ArrayBuffer>>) => Uint8Array<ArrayBuffer>;
encodeStateAsUpdate: (arg0: Y.Doc) => Uint8Array<ArrayBuffer>;
applyUpdate: (arg0: Y.Doc, arg1: Uint8Array) => void;
logUpdate: (arg0: Uint8Array) => void;
readUpdateToContentIds: (arg0: Uint8Array) => {
deletes: Y.IdSet;
inserts: Y.IdSet;
};
encodeStateVector: (arg0: Y.Doc) => Uint8Array<ArrayBuffer>;
encodeStateVectorFromUpdate: (arg0: Uint8Array) => Uint8Array<ArrayBuffer>;
updateEventName: "update" | "updateV2";
description: string;
diffUpdate: (arg0: Uint8Array<ArrayBuffer>, arg1: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>;
};
import * as t from 'lib0/testing';
import * as Y from '../src/index.js';
//# sourceMappingURL=updates.tests.d.ts.map