Commit Graph

1 Commits

Author SHA1 Message Date
tigeren 335f47549a feat(api): include rating and bookmark metadata in media queries
- Add bookmark_count, avg_rating, and star_count fields to photo, video, and text queries
- Join bookmarks and stars tables to aggregate counts and average ratings
- Use COALESCE to ensure default values for missing metadata are zero
- Update folder contents handler to use actual thumbnail path from database instead of conditional URLs
2025-10-12 09:03:17 +00:00