Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ebullient committed Feb 18, 2024
1 parent 12ad078 commit 00374f5
Show file tree
Hide file tree
Showing 55 changed files with 924 additions and 905 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,11 @@
"typescript": "^5.3.3"
},
"dependencies": {
"@codemirror/state": "^6.0.0",
"@codemirror/view": "^6.0.0",
"@codemirror/state": "^6.4.0",
"@codemirror/view": "^6.24.0",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/js-yaml": "^4.0.9",
"@typescript-eslint/parser": "^7.0.1",
"color": "^4.2.3",
"express": "^4.18.2",
Expand Down
77 changes: 74 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 53 additions & 0 deletions src/@types/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import { PaneType } from 'obsidian';

export interface EmbeddedSlideParameters {
slide: string;
page?: number;
}

export interface AdvancedSlidesSettings {
port: string;
autoReload: boolean;
autoStart: boolean;
exportDirectory: string;
enableOverview: boolean;
enableChalkboard: boolean;
enableMenu: boolean;
enablePointer: boolean;
enableTimeBar: boolean;
theme: string;
highlightTheme: string;
transition: string;
transitionSpeed: string;
controls: boolean;
progress: boolean;
slideNumber: boolean;
showGrid: boolean;
autoComplete: string;
paneMode: PaneType;
motm: string;
}

export type Options = {
bg: string;
center: boolean;
css: string | string[];
defaultTemplate: string;
enableLinks: boolean;
height: number;
highlightTheme: string;
log: boolean;
margin: number;
notesSeparator: string;
remoteCSS: string | string[];
separator: string;
showGrid: boolean;
template: string;
theme: string;
timeForPresentation: number;
title: string;
verticalSeparator: string;
width: number;
enableCustomControls: boolean;
transition: string;
};
Loading

0 comments on commit 00374f5

Please sign in to comment.