feat(routes-f): add queue, archives, leaderboards, and clip collections#544
Merged
davedumto merged 4 commits intoStreamFi-x:devfrom Apr 5, 2026
Conversation
|
@CMI-James is attempting to deploy a commit to the david's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@Jay-Peter-Egemasi Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This was referenced Apr 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Implement the four requested standalone
routes-ffeatures in a single backend-focused PR: live viewer queue management, weekly/monthly/all-time leaderboard data, creator goal history archives, and public clip collections/playlists.Closes #536
Closes #537
Closes #538
Closes #539
Changes proposed
What were you told to do?
Add the following
routes-fendpoints and keep them isolated to their requested route trees:app/api/routes-f/live/queue/app/api/routes-f/leaderboard/weekly/app/api/routes-f/creator/goals/history/app/api/routes-f/clips/collections/Open one combined PR instead of four, target the upstream
devbranch, and skip GPG signing.What did I do?
Live Queue
GET,PATCH,join,leave, andnexthandlers with creator-only queue control.Leaderboards
GET /api/routes-f/leaderboard/weeklywithtype,limit, andperiodquery support.earnings,tips_sent,watch_time, andnew_followers.Goal History
sub_count,tip_amount, andviewer_countfilters.Clip Collections
Verification And Compatibility
Check List (Check all the applicable boxes)
Screenshots / Testing Evidence
npx jest "app/api/routes-f/live/queue/__tests__/route.test.ts" "app/api/routes-f/leaderboard/weekly/__tests__/route.test.ts" "app/api/routes-f/creator/goals/history/__tests__/route.test.ts" "app/api/routes-f/clips/collections/__tests__/route.test.ts" --runInBandnpm run type-checknpm run build