LiveStreamRepository
app/features/live-streams/LiveStreamRepository.server.ts- Tables
- LiveStreamSkillSplatoonPlayerTournamentStreamerUserUserSubmittedImage
- Calls
- no other repositories
- Imports
- StreamRanking
- Used by
- 1 routine1 script4 other
Functions & values
export function replaceAll(streams: Omit<Tables["LiveStream"], "id">[])
TablesLiveStream
Adds the accounts as streamers of their tournament, returning the inserted ids in order; an account already streaming it is skipped.
export async function insertTournamentStreamers( rows: Omit<Tables["TournamentStreamer"], "id">[], )
TablesTournamentStreamer
The user's ongoing Splatoon 3 streams on their connected accounts, one per platform they are live on, most viewed first.
export function findByUserId(userId: number)
TablesLiveStream
Live streams (on their connected accounts) of high X Power players with a calculated skill (enough sets for the leaderboard) in season season or the one before it.
export function findXRankStreams(season: number)