This commit is contained in:
Zef Hemel
2022-02-23 14:09:26 +01:00
parent 6158713dd1
commit aa7929ea29
6 changed files with 226 additions and 169 deletions
+3 -6
View File
@@ -1,4 +1,3 @@
export type NoteMeta = {
name: string;
};
@@ -6,10 +5,10 @@ export type NoteMeta = {
export type AppCommand = {
name: string;
run: () => void;
}
};
export type AppViewState = {
currentNote: string;
currentNote?: string;
isSaved: boolean;
showNoteNavigator: boolean;
showCommandPalette: boolean;
@@ -24,6 +23,4 @@ export type Action =
| { type: "start-navigate" }
| { type: "stop-navigate" }
| { type: "show-palette" }
| { type: "hide-palette" }
;
| { type: "hide-palette" };