Who imports who · hover a nodeNo overview comment at the top of the file.
- Imports
- Progression
- Used by
- 1 action1 route
Functions & values
functionbackfillableTournaments
no JSDoc:7 export async function backfillableTournaments({
organizationId,
seriesId,
}: {
organizationId: number;
seriesId: number;
})Unit tests (9)
Unit tests not about one export (1)
Not shown, only used by tests: eligibleWinners
No overview comment at the top of the file.
- Imports
- no other modules
- Used by
- 2 loaders3 routes1 repository2 components2 other
Types
interfaceVariant
no JSDoc:178 export interface Variant {
category: Category;
milestone: Milestone;
}Functions & values
constVARIANTS
no JSDoc:184 export const VARIANTS: ReadonlyArray<Variant & { code: string; name: string }> =
weaponCategories.flatMap(({ name }) =>
MILESTONES.map(({ value }) => {
const variant = { category: toCategory(name), milestone: value };
return { ...variant, code: code(variant), name: variantName(variant) };
}),
);Unit tests (2)
export function code({ category, milestone }: Variant)constCODE_LIKE_PATTERN
no JSDoc:197 export const CODE_LIKE_PATTERN = `${CODE_PREFIX}%`;functionparseCode
no JSDoc:199 export function parseCode(trophyCode: string | null | undefined)
Unit tests (2)
functioncategoryKey
no JSDoc:205 export function categoryKey(category: Category)
functioncategoryWeaponIds
no JSDoc:215 export function categoryWeaponIds(category: Category): readonly MainWeaponId[]
functionawards
no JSDoc:222 export function awards(
placements: ReadonlyArray<{
userId: number;
weaponSplId: MainWeaponId;
power: number;
}>,
)Unit tests (2)
functiondivision
no JSDoc:251 export function division(
placements: ReadonlyArray<{
weaponSplId: MainWeaponId;
power: number;
region: XRankPlacementRegion;
}>,
{ category, milestone }: Variant,
): XRankPlacementRegion | nullUnit tests (1)
functionvariantState
no JSDoc:275 export function variantState(
master: RawPicoCAD2File,
{ category, milestone }: Variant,
): PicoCAD2ViewerStateUnit tests (6)
Unit tests not about one export (1)
Not shown, only used by tests: milestoneFor