fix: hide post

This commit is contained in:
Krispire Admin
2026-06-14 19:51:57 +05:30
parent 93e92c610c
commit 438258ade0
8 changed files with 176 additions and 8 deletions
+5
View File
@@ -20,6 +20,11 @@ type Post struct {
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
// IsHidden — owner has hidden this post from timelines (their profile as
// seen by others, the home feed) and from public collections. It still
// shows to the owner on their own profile and in private collections.
IsHidden bool `json:"is_hidden"`
// Author info — populated by repo joins for feed listings.
AuthorName string `json:"author_name,omitempty"`
AuthorHandle string `json:"author_handle,omitempty"`