postActionSaga.js 433 B

1234567891011121314151617
  1. export const actionFullOnePostSaga = (_id) => ({
  2. type:"ONE_POST", _id
  3. })
  4. export const actionAddFullCommentSaga = (postId, text) => ({
  5. type:"ONE_POST_COMMENT", postId, text
  6. })
  7. export const actionAddSubCommentTypeSaga = ( commentId,
  8. newResult) => ({
  9. type:"POST_SUB_COMMENT", commentId, newResult
  10. })
  11. export const actionFindSubCommentTypeSaga = (commentId) => ({
  12. type:"GET_SUB_COMMENT",commentId
  13. })