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

@@ -41,7 +41,7 @@ import {
getDefaultLineHeight,
measureBaseline,
} from "../element/textElement";
import { convertToExcalidrawElements } from "../element/newElement";
import { convertToExcalidrawElements } from "../data/transform";
type RestoredAppState = Omit<
AppState,