Notes/src/services/keyboard_actions_interface.ts

12 lines
310 B
TypeScript
Raw Normal View History

2024-02-18 13:32:00 +02:00
export interface KeyboardShortcut {
separator?: string;
actionName?: string;
description?: string;
defaultShortcuts?: string[];
effectiveShortcuts?: string[];
scope?: string;
}
export interface KeyboardShortcutWithRequiredActionName extends KeyboardShortcut {
actionName: string;
}