fix: hide post
This commit is contained in:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user