refactor: expose frontiers type

This commit is contained in:
Zixuan Chen 2023-11-16 22:50:22 +08:00
parent ed5324b506
commit 089d05e3a0
No known key found for this signature in database

View file

@ -1,5 +1,5 @@
export * from "loro-wasm"; export * from "loro-wasm";
import { Delta } from "loro-wasm"; import { Delta, OpId } from "loro-wasm";
import { PrelimText, PrelimList, PrelimMap } from "loro-wasm"; import { PrelimText, PrelimList, PrelimMap } from "loro-wasm";
import { import {
ContainerID, ContainerID,
@ -55,6 +55,7 @@ export type Value =
export type Container = LoroList | LoroMap | LoroText | LoroTree; export type Container = LoroList | LoroMap | LoroText | LoroTree;
export type Prelim = PrelimList | PrelimMap | PrelimText; export type Prelim = PrelimList | PrelimMap | PrelimText;
export type Frontiers = OpId[];
/** /**
* Represents a path to identify the exact location of an event's target. * Represents a path to identify the exact location of an event's target.