aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/sdc-app/onboarding/userNotifications/UserNotificationsConstants.js
blob: f006b5ae1b26b0eec77e680ec7dd81f3098da3c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import keyMirror from 'nfvo-utils/KeyMirror.js';

export const actionTypes = keyMirror({
	NOTIFICATION: null,
	LOAD_NOTIFICATIONS: null,
	LOAD_PREV_NOTIFICATIONS: null,
	UPDATE_READ_NOTIFICATION: null,
	RESET_NEW_NOTIFICATIONS: null,
	TOGGLE_OVERLAY: null
});

export const notificationType = keyMirror({
	PERMISSION_CHANGED: 'PermissionChanged',
	ITEM_CHANGED: {
		COMMIT: 'commit',
		SUBMIT: 'submit'
	}
});