mirror of
https://github.com/plankanban/planka.git
synced 2025-12-27 09:14:59 +03:00
24 lines
548 B
JavaScript
Executable File
24 lines
548 B
JavaScript
Executable File
/*!
|
|
* Copyright (c) 2024 PLANKA Software GmbH
|
|
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
|
|
*/
|
|
|
|
import EntryActionTypes from '../constants/EntryActionTypes';
|
|
|
|
const fetchActivitiesInCurrentCard = () => ({
|
|
type: EntryActionTypes.ACTIVITIES_IN_CURRENT_CARD_FETCH,
|
|
payload: {},
|
|
});
|
|
|
|
const handleActivityCreate = (activity) => ({
|
|
type: EntryActionTypes.ACTIVITY_CREATE_HANDLE,
|
|
payload: {
|
|
activity,
|
|
},
|
|
});
|
|
|
|
export default {
|
|
fetchActivitiesInCurrentCard,
|
|
handleActivityCreate,
|
|
};
|