1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-21 14:19:44 +02:00
planka/client/src/actions/notification.js

21 lines
426 B
JavaScript
Raw Normal View History

2019-08-31 04:07:25 +05:00
import ActionTypes from '../constants/ActionTypes';
/* Events */
export const createNotificationReceived = (notification, user, card, action) => ({
type: ActionTypes.NOTIFICATION_CREATE_RECEIVED,
payload: {
notification,
user,
card,
action,
},
});
2020-03-25 00:15:47 +05:00
export const deleteNotificationReceived = (notification) => ({
2019-08-31 04:07:25 +05:00
type: ActionTypes.NOTIFICATION_DELETE_RECEIVED,
payload: {
notification,
},
});