@tindtechnologies/universalviewer
Version:
The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎
55 lines (54 loc) • 2.2 kB
TypeScript
import { BaseConfig, CenterPanelContent, CenterPanelOptions, DownloadDialogueContent, DownloadDialogueOptions, ModuleConfig, SettingsDialogueContent, SettingsDialogueOptions, ShareDialogueContent, ShareDialogueOptions } from "@/content-handlers/iiif/BaseConfig";
import { ExpandPanelContent, ExpandPanelOptions } from "../../config/ExpandPanel";
type AlephLeftPanelOptions = ExpandPanelOptions & {
/** Determines if the console tab is enabled */
consoleTabEnabled: boolean;
/** Determines if the graph tab is enabled */
graphTabEnabled: boolean;
/** Determines if the settings tab is enabled */
settingsTabEnabled: boolean;
/** Determines if the source tab is enabled */
srcTabEnabled: boolean;
};
type AlephLeftPanelContent = ExpandPanelContent & {
title: string;
};
type AlephLeftPanel = {
options: AlephLeftPanelOptions;
content: AlephLeftPanelContent;
};
type AlephCenterPanelOptions = CenterPanelOptions & {};
type AlephCenterPanelContent = CenterPanelContent & {};
type AlephCenterPanel = {
options: AlephCenterPanelOptions;
content: AlephCenterPanelContent;
};
type AlephDownloadDialogueOptions = DownloadDialogueOptions & {};
type AlephDownloadDialogueContent = DownloadDialogueContent & {};
type AlephDownloadDialogue = ModuleConfig & {
options: AlephDownloadDialogueOptions;
content: AlephDownloadDialogueContent;
};
type AlephShareDialogueOptions = ShareDialogueOptions & {};
type AlephShareDialogueContent = ShareDialogueContent & {};
type AlephShareDialogue = ModuleConfig & {
options: AlephShareDialogueOptions;
content: AlephShareDialogueContent;
};
type AlephSettingsDialogueOptions = SettingsDialogueOptions & {};
type AlephSettingsDialogueContent = SettingsDialogueContent & {};
type AlephSettingsDialogue = ModuleConfig & {
options: AlephSettingsDialogueOptions;
content: AlephSettingsDialogueContent;
};
type Modules = {
alephLeftPanel: AlephLeftPanel;
alephCenterPanel: AlephCenterPanel;
downloadDialogue: AlephDownloadDialogue;
shareDialogue: AlephShareDialogue;
settingsDialogue: AlephSettingsDialogue;
};
export type Config = BaseConfig & {
modules: Modules;
};
export {};