feat: add post mention
This commit is contained in:
@@ -46,6 +46,10 @@ type Post struct {
|
||||
// false for anonymous viewers.
|
||||
LikesCount int `json:"likes_count"`
|
||||
ViewerHasLiked bool `json:"viewer_has_liked"`
|
||||
|
||||
// MentionsCount is how many users are tagged on this post (drives the
|
||||
// post-card mentions icon). Hydrated by the mention layer.
|
||||
MentionsCount int `json:"mentions_count"`
|
||||
}
|
||||
|
||||
// PostImage represents one attached image on a post.
|
||||
|
||||
Reference in New Issue
Block a user