feat: use @excalidraw/utils as a workspace in the codebase

This commit is contained in:
Aakansha Doshi 2024-05-03 15:54:06 +05:30
parent d9bbf1eda6
commit 6a1477a55c
12 changed files with 151 additions and 73 deletions

View file

@ -3,12 +3,6 @@ import {
exportToSvg as _exportToSvg,
} from "../excalidraw/scene/export";
import { getDefaultAppState } from "../excalidraw/appState";
import { AppState, BinaryFiles } from "../excalidraw/types";
import {
ExcalidrawElement,
ExcalidrawFrameLikeElement,
NonDeleted,
} from "../excalidraw/element/types";
import { restore } from "../excalidraw/data/restore";
import { MIME_TYPES } from "../excalidraw/constants";
import { encodePngMetadata } from "../excalidraw/data/image";
@ -19,6 +13,13 @@ import {
copyToClipboard,
} from "../excalidraw/clipboard";
import type { AppState, BinaryFiles } from "../excalidraw/types";
import type {
ExcalidrawElement,
ExcalidrawFrameLikeElement,
NonDeleted,
} from "../excalidraw/element/types";
export { MIME_TYPES };
type ExportOpts = {