mirror of
https://github.com/plankanban/planka.git
synced 2025-07-24 15:49:46 +02:00
20 lines
426 B
JavaScript
20 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,
|
|
},
|
|
});
|