Open ManPhamQuang opened 3 years ago
sender: applicant receiver: post owner & teammates link: to the post
examples:
sender: post owner receiver: applicant link: to the post
sender: post owner receiver: users who star post owner link: to the post
sender: who ever post the comment receiver: post owner & applicants & teammates link: to the post comment
When sending notification API from frontend client, the user will include an array list of receiver and the server will create new separate Notification documents for each receiver in the array
apply to post
sender: applicant receiver: post owner & teammates link: to the post
examples:
approve to post
sender: post owner receiver: applicant link: to the post
examples:
new post (stared users)
sender: post owner receiver: users who star post owner link: to the post
examples:
post comment
sender: who ever post the comment receiver: post owner & applicants & teammates link: to the post comment
examples:
OPEN FOR SUGGESTION