chore: code refactor
This commit is contained in:
@@ -88,6 +88,8 @@ export type Post = {
|
||||
/** The post's pinned comment, if any — hydrated so the card footer can show
|
||||
* it without a separate fetch. Null/absent when nothing is pinned. */
|
||||
pinned_comment?: Comment | null;
|
||||
/** Total comments + replies on the post (drives the footer comment count). */
|
||||
comments_count?: number;
|
||||
};
|
||||
|
||||
/** A comment or reply on a post. Threading is one level deep: `parent_id` is
|
||||
|
||||
Reference in New Issue
Block a user