forked from chinchang/web-maker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommands.js
34 lines (33 loc) · 831 Bytes
/
commands.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
export const SWITCH_FILE_EVENT = 'switchFileEvent';
export const NEW_CREATION_EVENT = 'newCreationEvent';
export const OPEN_SAVED_CREATIONS_EVENT = 'openSavedCreationsEvent';
export const SAVE_EVENT = 'saveEvent';
export const OPEN_SETTINGS_EVENT = 'openSettingsEvent';
export const SHOW_KEYBOARD_SHORTCUTS_EVENT = 'showKeyboardShortcutsEvent';
export const commands = [
{
name: 'Start New Creation',
event: NEW_CREATION_EVENT,
keyboardShortcut: ''
},
{
name: 'Open Creation',
event: OPEN_SAVED_CREATIONS_EVENT,
keyboardShortcut: 'Cmd+O'
},
{
name: 'Save Creation',
event: SAVE_EVENT,
keyboardShortcut: 'Cmd+S'
},
{
name: 'Open Settings',
event: OPEN_SETTINGS_EVENT,
keyboardShortcut: ''
},
{
name: 'Show Keyboard Shortcuts',
event: SHOW_KEYBOARD_SHORTCUTS_EVENT,
keyboardShortcut: ''
}
];