mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 01:11:23 +03:00
24 lines
432 B
JavaScript
Executable File
24 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,
|
|
},
|
|
});
|