* shareable links * fix * review comments * json-excaliber (#464) * draw * Boom * backend * Remove local Co-authored-by: Lipis <lipiridis@gmail.com>
20 lines
394 B
TypeScript
20 lines
394 B
TypeScript
import { ExcalidrawTextElement } from "../element/types";
|
|
|
|
export type SceneState = {
|
|
scrollX: number;
|
|
scrollY: number;
|
|
// null indicates transparent bg
|
|
viewBackgroundColor: string | null;
|
|
};
|
|
|
|
export type SceneScroll = {
|
|
scrollX: number;
|
|
scrollY: number;
|
|
};
|
|
|
|
export interface Scene {
|
|
elements: ExcalidrawTextElement[];
|
|
}
|
|
|
|
export type ExportType = "png" | "clipboard" | "backend";
|