-
-
Notifications
You must be signed in to change notification settings - Fork 193
/
Copy pathConfig.ts
75 lines (58 loc) Β· 1.82 KB
/
Config.ts
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
import {
BaseConfig,
CenterPanelContent,
CenterPanelOptions,
DownloadDialogueContent,
DownloadDialogueOptions,
ModuleConfig,
SettingsDialogueContent,
SettingsDialogueOptions,
ShareDialogueContent,
ShareDialogueOptions,
} from "@/content-handlers/iiif/BaseConfig";
import {
ExpandPanelContent,
ExpandPanelOptions,
} from "../../config/ExpandPanel";
type EbookLeftPanelOptions = ExpandPanelOptions & {};
type EbookLeftPanelContent = ExpandPanelContent & {
title: string;
};
type EbookLeftPanel = {
options: EbookLeftPanelOptions;
content: EbookLeftPanelContent;
};
type EbookCenterPanelOptions = CenterPanelOptions & {};
type EbookCenterPanelContent = CenterPanelContent & {};
type EbookCenterPanel = {
options: EbookCenterPanelOptions;
content: EbookCenterPanelContent;
};
type EbookDownloadDialogueOptions = DownloadDialogueOptions & {};
type EbookDownloadDialogueContent = DownloadDialogueContent & {};
type EbookDownloadDialogue = ModuleConfig & {
options: EbookDownloadDialogueOptions;
content: EbookDownloadDialogueContent;
};
type EbookShareDialogueOptions = ShareDialogueOptions & {};
type EbookShareDialogueContent = ShareDialogueContent & {};
type EbookShareDialogue = ModuleConfig & {
options: EbookShareDialogueOptions;
content: EbookShareDialogueContent;
};
type EbookSettingsDialogueOptions = SettingsDialogueOptions & {};
type EbookSettingsDialogueContent = SettingsDialogueContent & {};
type EbookSettingsDialogue = ModuleConfig & {
options: EbookSettingsDialogueOptions;
content: EbookSettingsDialogueContent;
};
type Modules = {
ebookLeftPanel: EbookLeftPanel;
ebookCenterPanel: EbookCenterPanel;
downloadDialogue: EbookDownloadDialogue;
shareDialogue: EbookShareDialogue;
settingsDialogue: EbookSettingsDialogue;
};
export type Config = BaseConfig & {
modules: Modules;
};