This commit is contained in:
Michael Freno
2025-12-18 15:03:13 -05:00
parent 5aecf6e555
commit fec58c4c17
12 changed files with 790 additions and 249 deletions

View File

@@ -24,6 +24,7 @@ export const blogRouter = createTRPCRouter({
p.published,
p.category,
p.author_id,
p.banner_photo,
p.reads,
COUNT(DISTINCT pl.user_id) as total_likes,
COUNT(DISTINCT c.id) as total_comments