You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
586 B
JavaScript
30 lines
586 B
JavaScript
import EntryActionTypes from '../constants/EntryActionTypes';
|
|
|
|
const createCommentActivityInCurrentCard = (data) => ({
|
|
type: EntryActionTypes.COMMENT_ACTIVITY_IN_CURRENT_CARD_CREATE,
|
|
payload: {
|
|
data,
|
|
},
|
|
});
|
|
|
|
const updateCommentActivity = (id, data) => ({
|
|
type: EntryActionTypes.COMMENT_ACTIVITY_UPDATE,
|
|
payload: {
|
|
id,
|
|
data,
|
|
},
|
|
});
|
|
|
|
const deleteCommentActivity = (id) => ({
|
|
type: EntryActionTypes.COMMENT_ACTIVITY_DELETE,
|
|
payload: {
|
|
id,
|
|
},
|
|
});
|
|
|
|
export default {
|
|
createCommentActivityInCurrentCard,
|
|
updateCommentActivity,
|
|
deleteCommentActivity,
|
|
};
|