mirror of
https://github.com/plankanban/planka.git
synced 2025-07-29 18:19:46 +02:00
23 lines
458 B
JavaScript
23 lines
458 B
JavaScript
|
import EntryActionTypes from '../../constants/EntryActionTypes';
|
||
|
|
||
|
export const handleActionCreate = (action) => ({
|
||
|
type: EntryActionTypes.ACTION_CREATE_HANDLE,
|
||
|
payload: {
|
||
|
action,
|
||
|
},
|
||
|
});
|
||
|
|
||
|
export const handleActionUpdate = (action) => ({
|
||
|
type: EntryActionTypes.ACTION_UPDATE_HANDLE,
|
||
|
payload: {
|
||
|
action,
|
||
|
},
|
||
|
});
|
||
|
|
||
|
export const handleActionDelete = (action) => ({
|
||
|
type: EntryActionTypes.ACTION_DELETE_HANDLE,
|
||
|
payload: {
|
||
|
action,
|
||
|
},
|
||
|
});
|