UNPKG

loro-mirror

Version:

Type-safe state management synchronized with Loro CRDT via a declarative schema and bidirectional mirroring.

12 lines 547 B
/** * Loro Mirror Core * A TypeScript state management library that automatically syncs application state with loro-crdt */ export * from "./schema"; export { Mirror, toNormalizedJson, type MirrorOptions, type SetStateOptions, type UpdateMetadata, type SubscriberCallback, type InferContainerOptions, SyncDirection, } from "./core"; import * as schema from "./schema"; import * as core from "./core"; type Combined = typeof schema & typeof core; declare const loroMirror: Combined; export default loroMirror; //# sourceMappingURL=index.d.ts.map