talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 1 | import keyMirror from 'nfvo-utils/KeyMirror.js'; |
| 2 | |
| 3 | export const actionTypes = keyMirror({ |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 4 | NOTIFICATION: null, |
| 5 | LOAD_NOTIFICATIONS: null, |
| 6 | LOAD_PREV_NOTIFICATIONS: null, |
| 7 | UPDATE_READ_NOTIFICATION: null, |
| 8 | RESET_NEW_NOTIFICATIONS: null, |
| 9 | TOGGLE_OVERLAY: null |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 10 | }); |
| 11 | |
| 12 | export const notificationType = keyMirror({ |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 13 | PERMISSION_CHANGED: 'PermissionChanged', |
| 14 | ITEM_CHANGED: { |
| 15 | COMMIT: 'commit', |
| 16 | SUBMIT: 'submit' |
| 17 | }, |
| 18 | ITEM_DELETED: 'delete', |
| 19 | ITEM_ARCHIVED: 'archive', |
| 20 | ITEM_RESTORED: 'restore' |
| 21 | }); |