blob: b2466f19af5f20dbc4293fdfcfafc98460a72172 [file] [log] [blame]
talig8e9c0652017-12-20 14:30:43 +02001import keyMirror from 'nfvo-utils/KeyMirror.js';
2
3export const actionTypes = keyMirror({
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +02004 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
talig8e9c0652017-12-20 14:30:43 +020010});
11
12export const notificationType = keyMirror({
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020013 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});