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