|
@@ -17,6 +17,7 @@ import {
|
|
getSceneVersion,
|
|
getSceneVersion,
|
|
restoreElements,
|
|
restoreElements,
|
|
zoomToFitBounds,
|
|
zoomToFitBounds,
|
|
|
|
+ reconcileElements,
|
|
} from "../../packages/excalidraw";
|
|
} from "../../packages/excalidraw";
|
|
import { Collaborator, Gesture } from "../../packages/excalidraw/types";
|
|
import { Collaborator, Gesture } from "../../packages/excalidraw/types";
|
|
import {
|
|
import {
|
|
@@ -80,10 +81,9 @@ import { Mutable, ValueOf } from "../../packages/excalidraw/utility-types";
|
|
import { getVisibleSceneBounds } from "../../packages/excalidraw/element/bounds";
|
|
import { getVisibleSceneBounds } from "../../packages/excalidraw/element/bounds";
|
|
import { withBatchedUpdates } from "../../packages/excalidraw/reactUtils";
|
|
import { withBatchedUpdates } from "../../packages/excalidraw/reactUtils";
|
|
import { collabErrorIndicatorAtom } from "./CollabError";
|
|
import { collabErrorIndicatorAtom } from "./CollabError";
|
|
-import {
|
|
|
|
|
|
+import type {
|
|
ReconciledExcalidrawElement,
|
|
ReconciledExcalidrawElement,
|
|
RemoteExcalidrawElement,
|
|
RemoteExcalidrawElement,
|
|
- reconcileElements,
|
|
|
|
} from "../../packages/excalidraw/data/reconcile";
|
|
} from "../../packages/excalidraw/data/reconcile";
|
|
|
|
|
|
export const collabAPIAtom = atom<CollabAPI | null>(null);
|
|
export const collabAPIAtom = atom<CollabAPI | null>(null);
|