chore: code refactor

This commit is contained in:
gosangam
2026-06-13 02:24:42 +05:30
parent cc5633c37a
commit 439664a97d
151 changed files with 1387 additions and 1138 deletions
+2
View File
@@ -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