Skip to content

Sidebar · Modules

1 module · 7 exports · 0 repositories · 25 e2e tests · 0 routes

Who imports who · hover a node
Depends onSidebar modulesUsed byStreamRanking7 exportsRepositories1 fileComponents1 fileOther1 file

StreamRanking

app/features/sidebar/core/StreamRanking.ts

No overview comment at the top of the file.

Imports
no other modules
Used by
1 repository1 component1 other

Functions & values

const

EXTERNAL_STREAM_SCORE

:9

Below every other source's minimum (0) so external streams take the first sidebar slots.

export const EXTERNAL_STREAM_SCORE = -1;
function

rank

no JSDoc:11
export function rank(
	streams: RankedStream[],
	maxStreams: number,
): SidebarStream[]
function

tournamentTierToScore

no JSDoc:34
export function tournamentTierToScore(
	tier: TournamentTierNumber | null,
	membersPerTeam?: number,
): number
function

upcomingTournamentTierToScore

no JSDoc:44
export function upcomingTournamentTierToScore(
	tier: number,
	membersPerTeam?: number,
): number
function

sendouQTierToScore

no JSDoc:56
export function sendouQTierToScore(tier: {
	name: TierName;
	isPlus: boolean;
}): number
Unit tests (3)
function

minXpForStreamToBeShown

no JSDoc:73
export function minXpForStreamToBeShown(): number