mirror of
https://github.com/plankanban/planka.git
synced 2025-07-26 08:39:45 +02:00
Initial commit
This commit is contained in:
commit
5ffef61fe7
613 changed files with 91659 additions and 0 deletions
20
client/src/actions/notification.js
Normal file
20
client/src/actions/notification.js
Normal file
|
@ -0,0 +1,20 @@
|
|||
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,
|
||||
},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue