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