blob: a8e92e29fd3ea8669a3303c3eab196cdd7a0c10e [file] [log] [blame]
talig8e9c0652017-12-20 14:30:43 +02001
2import keyMirror from 'nfvo-utils/KeyMirror.js';
3
4export 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
13export const notificationType = keyMirror({
14 PERMISSION_CHANGED: 'PermissionChanged',
15 ITEM_CHANGED: {
16 COMMIT: 'commit',
17 SUBMIT: 'submit'
svishnev091edfd2018-03-19 12:15:19 +020018 },
19 ITEM_DELETED: 'delete',
20 ITEM_ARCHIVED: 'archive',
21 ITEM_RESTORED: 'restore'
talig8e9c0652017-12-20 14:30:43 +020022});