66dcc9b2e1
* Working version * fix * Fixed console log * Fix lint * wip * Fix * Fix * consolelog --------- Co-authored-by: Charles Bochet <charles@twenty.com>
18 lines
535 B
TypeScript
18 lines
535 B
TypeScript
import { HotkeysScopeStackItem } from '../types/internal/HotkeysScopeStackItems';
|
|
import { InternalHotkeysScope } from '../types/internal/InternalHotkeysScope';
|
|
|
|
export const INITIAL_HOTKEYS_SCOPES: string[] = [InternalHotkeysScope.App];
|
|
|
|
export const ALWAYS_ON_HOTKEYS_SCOPES: string[] = [
|
|
InternalHotkeysScope.CommandMenu,
|
|
InternalHotkeysScope.App,
|
|
];
|
|
|
|
export const DEFAULT_HOTKEYS_SCOPE_STACK_ITEM: HotkeysScopeStackItem = {
|
|
scope: InternalHotkeysScope.App,
|
|
customScopes: {
|
|
'command-menu': true,
|
|
goto: true,
|
|
},
|
|
};
|