mirror of
https://github.com/plankanban/planka.git
synced 2025-07-23 15:19:44 +02:00
23 lines
432 B
JavaScript
Executable file
23 lines
432 B
JavaScript
Executable file
import EntryActionTypes from '../../constants/EntryActionTypes';
|
|
|
|
export const createTaskInCurrentCard = (data) => ({
|
|
type: EntryActionTypes.TASK_IN_CURRENT_CARD_CREATE,
|
|
payload: {
|
|
data,
|
|
},
|
|
});
|
|
|
|
export const updateTask = (id, data) => ({
|
|
type: EntryActionTypes.TASK_UPDATE,
|
|
payload: {
|
|
id,
|
|
data,
|
|
},
|
|
});
|
|
|
|
export const deleteTask = (id) => ({
|
|
type: EntryActionTypes.TASK_DELETE,
|
|
payload: {
|
|
id,
|
|
},
|
|
});
|