aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/scrapbook/ScrapbookSlot.tsx
blob: 2c8f93778d6ae2ffd4d2d7c19c7da6a8d891a1db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//IGNORE FOR NOW, CURRENTLY NOT USED IN SCRAPBOOK IMPLEMENTATION
export interface SlotDefinition {
    id: string;
    x: number; y: number;
    defaultWidth: number;
    defaultHeight: number;
  }
  
  export interface SlotContentMap {
    slotId: string;
    docId?: string;
  }
  
  export interface ScrapbookConfig {
    slots: SlotDefinition[];
    contents?: SlotContentMap[];
  }
  
  export const DEFAULT_SCRAPBOOK_CONFIG: ScrapbookConfig = {
    slots: [
      { id: "slot1", x: 10, y: 10, defaultWidth: 180, defaultHeight: 120 },
      { id: "slot2", x: 200, y: 10, defaultWidth: 180, defaultHeight: 120 },
      // …etc
    ],
    contents: []
  };