refactor: old paths updated to reflect new path for files in excalidraw package

This commit is contained in:
Deepen Timalsina 2025-04-14 22:50:46 +05:45
parent 98e7946887
commit 18a187e470
107 changed files with 256 additions and 242 deletions

View file

@ -1,5 +1,5 @@
import { MIME_TYPES } from "@excalidraw/common";
import { getDefaultAppState } from "@excalidraw/excalidraw/appState";
import { getDefaultAppState } from "@excalidraw/excalidraw/src/appState";
import {
copyBlobToClipboardAsPng,
copyTextToSystemClipboard,

View file

@ -1,5 +1,5 @@
import { MIME_TYPES } from "@excalidraw/common";
import * as mockedSceneExportUtils from "@excalidraw/excalidraw/scene/export";
import * as mockedSceneExportUtils from "@excalidraw/excalidraw/src/scene/export";
import { diagramFactory } from "@excalidraw/excalidraw/tests/fixtures/diagramFixture";
import { vi } from "vitest";

View file

@ -1,8 +1,8 @@
import { decodePngMetadata } from "@excalidraw/excalidraw/data/image";
import { decodeSvgBase64Payload } from "@excalidraw/excalidraw/scene/export";
import { decodePngMetadata } from "@excalidraw/excalidraw/src/data/image";
import { decodeSvgBase64Payload } from "@excalidraw/excalidraw/src/scene/export";
import { API } from "@excalidraw/excalidraw/tests/helpers/api";
import type { ImportedDataState } from "@excalidraw/excalidraw/data/types";
import type { ImportedDataState } from "@excalidraw/excalidraw/src/data/types";
import * as utils from "../src";