support ids, clean up code and move the api related stuff to transform.ts

This commit is contained in:
Aakansha Doshi
2023-05-24 17:12:26 +05:30
parent da8e97ad14
commit 985318e960
11 changed files with 337 additions and 250 deletions

View File

@@ -1,6 +1,6 @@
import { decodePngMetadata, decodeSvgMetadata } from "../../data/image";
import { ImportedDataState } from "../../data/types";
import { convertToExcalidrawElements } from "../../element/newElement";
import { convertToExcalidrawElements } from "../../data/transform";
import * as utils from "../../packages/utils";
import { API } from "../helpers/api";