Move queue in common

This commit is contained in:
Marcel Mraz 2025-03-18 20:07:22 +01:00
parent a9b4b758cf
commit a3fef45365
No known key found for this signature in database
GPG key ID: 4EBD6E62DC830CD2
3 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
import { Queue } from "./queue";
import { Queue } from "../src/queue";
describe("Queue", () => {
const calls: any[] = [];

View file

@ -19,6 +19,8 @@ import { hashElementsVersion, hashString } from "@excalidraw/element";
import { getCommonBoundingBox } from "@excalidraw/element/bounds";
import { Queue } from "@excalidraw/common/queue";
import type { ExcalidrawElement } from "@excalidraw/element/types";
import type { MaybePromise } from "@excalidraw/common/utility-types";
@ -29,7 +31,6 @@ import { Emitter } from "../emitter";
import { AbortError } from "../errors";
import { libraryItemSvgsCache } from "../hooks/useLibraryItemSvg";
import { t } from "../i18n";
import { Queue } from "../queue";
import { loadLibraryFromBlob } from "./blob";
import { restoreLibraryItems } from "./restore";