mirror of
https://github.com/plankanban/planka.git
synced 2025-07-31 02:59:46 +02:00
21 lines
426 B
JavaScript
21 lines
426 B
JavaScript
|
import ActionTypes from '../constants/ActionTypes';
|
||
|
|
||
|
/* Events */
|
||
|
|
||
|
export const createNotificationReceived = (notification, user, card, action) => ({
|
||
|
type: ActionTypes.NOTIFICATION_CREATE_RECEIVED,
|
||
|
payload: {
|
||
|
notification,
|
||
|
user,
|
||
|
card,
|
||
|
action,
|
||
|
},
|
||
|
});
|
||
|
|
||
|
export const deleteNotificationReceived = (notification) => ({
|
||
|
type: ActionTypes.NOTIFICATION_DELETE_RECEIVED,
|
||
|
payload: {
|
||
|
notification,
|
||
|
},
|
||
|
});
|