Skip to content

Commit

Permalink
feat: add more ipc events
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesjo committed Nov 6, 2018
1 parent 91329fc commit 1574ea7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/ipc-events.const.ts
Expand Up @@ -3,3 +3,16 @@ export const IPC_EVENT_SHUTDOWN_NOW = 'SHUTDOWN_NOW';
export const IPC_JIRA_CB_EVENT = 'JIRA_RESPONSE';
export const IPC_JIRA_MAKE_REQUEST_EVENT = 'JIRA';
export const IPC_REGISTER_GLOBAL_SHORTCUT_EVENT = 'REGISTER_GLOBAL_SHORTCUT';
export const IPC_EVENT_IDLE_TIME = 'IDLE_TIME';

export const IPC_EVENT_CURRENT_TASK_UPDATED = 'CHANGED_CURRENT_TASK';
export const IPC_EVENT_TASK_MARK_AS_DONE = 'TASK_MARK_AS_DONE';
export const IPC_EVENT_TASK_START = 'TASK_START';
export const IPC_EVENT_TASK_PAUSE = 'TASK_PAUSE';

export const maybe_UPDATE_CURRENT_TASK = 'UPDATE_CURRENT_TASK';
export const maybe_IS_IDLE = 'IS_IDLE';
export const maybe_IS_BUSY = 'IS_BUSY';
export const maybe_IPC_EVENT_POMODORO_UPDATE = 'IPC_EVENT_POMODORO_UPDATE';
export const maybe_PROJECT_CHANGED = 'PROJECT_CHANGED';
export const maybe_COMPLETE_DATA_RELOAD = 'COMPLETE_DATA_RELOAD';

0 comments on commit 1574ea7

Please sign in to comment.