Collapse post according to flag, view ratio

This commit is contained in:
2025-02-17 17:30:42 +08:00
parent 269e79ca58
commit 3a4948d590
2 changed files with 17 additions and 0 deletions

View File

@ -52,6 +52,7 @@ type Post struct {
PinnedAt *time.Time `json:"pinned_at"`
LockedAt *time.Time `json:"locked_at"`
IsCollapsed bool `json:"is_collapsed"`
IsDraft bool `json:"is_draft"`
PublishedAt *time.Time `json:"published_at"`
PublishedUntil *time.Time `json:"published_until"`