feat: add stats page
This commit is contained in:
@@ -25,6 +25,14 @@ type Post struct {
|
||||
// always false for anonymous viewers (no viewer = no reshare state).
|
||||
// Drives the post-card "Reshare ↔ Send" swap on the frontend.
|
||||
ViewerHasReshared bool `json:"viewer_has_reshared"`
|
||||
|
||||
// ResharedAt is the timestamp at which the feed owner reshared this
|
||||
// post. Non-nil only for rows that appear in a profile feed because
|
||||
// the profile owner reshared them (i.e. the row comes from the
|
||||
// post_reshares union branch of ListByUser / ListByHandle).
|
||||
// Authored-by-feed-owner rows leave this nil. Drives the
|
||||
// "↻ Reshared" badge in the post card.
|
||||
ResharedAt *time.Time `json:"reshared_at,omitempty"`
|
||||
}
|
||||
|
||||
// PostImage represents one attached image on a post.
|
||||
|
||||
Reference in New Issue
Block a user