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' | ||||
18 | } | ||||
19 | }); |