mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-09 18:40:08 +02:00
[feat] serialize export options when embedding scene in an image
This commit is contained in:
@@ -5,7 +5,7 @@ import {
|
||||
LibraryItems,
|
||||
LibraryItems_anyVersion,
|
||||
} from "../types";
|
||||
import type { cleanAppStateForExport } from "../appState";
|
||||
import type { cleanAppStateForTextExport } from "../appState";
|
||||
import { VERSIONS } from "../constants";
|
||||
|
||||
export interface ExportedDataState {
|
||||
@@ -13,7 +13,7 @@ export interface ExportedDataState {
|
||||
version: number;
|
||||
source: string;
|
||||
elements: readonly ExcalidrawElement[];
|
||||
appState: ReturnType<typeof cleanAppStateForExport>;
|
||||
appState: ReturnType<typeof cleanAppStateForTextExport>;
|
||||
files: BinaryFiles | undefined;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user