| 1 | import { type LayoutType } from "@/components/notebook/presentation/utils/parser"; |
| 2 | |
| 3 | export type ContentAlignment = "start" | "center" | "end"; |
| 4 | export const layoutMap: Record<number, LayoutType> = { |
| 5 | 0: "none", |
| 6 | 1: "vertical", |
| 7 | 2: "left", |
| 8 | 3: "right", |
| 9 | 4: "background", |
| 10 | }; |
| 11 | |
| 12 | export interface SlideUpdatePayload { |
| 13 | layoutType?: LayoutType; |
| 14 | bgColor?: string; |
| 15 | width?: "S" | "M" | "L"; |
| 16 | alignment?: ContentAlignment; |
| 17 | rootImage?: { |
| 18 | query: string; |
| 19 | url?: string; |
| 20 | }; |
| 21 | } |
| 22 |