refactor(ui): centralize shortcut schema
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
export {
|
||||
eventMatchesShortcut,
|
||||
eventMatchesShortcutPrefix,
|
||||
formatShortcutForDisplay,
|
||||
getModifierLabel,
|
||||
getShortcutConflict,
|
||||
isRiskyBrowserShortcut,
|
||||
isShortcutPrefixHeld,
|
||||
keyToShortcutToken,
|
||||
normalizeCombo,
|
||||
parseShortcut,
|
||||
UNASSIGNED_SHORTCUT,
|
||||
} from './bindings';
|
||||
export type { ShortcutCombo } from './bindings';
|
||||
export { ShortcutDispatcher } from './dispatcher';
|
||||
export { shortcutRegistry } from './registry';
|
||||
export type { ShortcutHandler } from './registry';
|
||||
export {
|
||||
getCustomizableShortcutActions,
|
||||
getEffectiveShortcutCombo,
|
||||
getEffectiveShortcutPrefix,
|
||||
getShortcutAction,
|
||||
SHORTCUT_SCHEMA,
|
||||
} from './schema';
|
||||
export type {
|
||||
CustomizableShortcutAction,
|
||||
ShortcutActionId,
|
||||
ShortcutCategory,
|
||||
} from './schema';
|
||||
Reference in New Issue
Block a user