blob: f006b5ae1b26b0eec77e680ec7dd81f3098da3c4 [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'
18 }
19});