mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
refactor(command_palette): use declarative command approach
This commit is contained in:
@@ -10,6 +10,9 @@ export interface Action {
|
||||
actionName: CommandNames;
|
||||
effectiveShortcuts: string[];
|
||||
scope: string;
|
||||
friendlyName: string;
|
||||
description?: string;
|
||||
iconClass?: string;
|
||||
}
|
||||
|
||||
const keyboardActionsLoaded = server.get<Action[]>("keyboard-actions").then((actions) => {
|
||||
|
||||
Reference in New Issue
Block a user