Skip to content

Front page · Modules

2 modules · 9 exports · 0 repositories · 0 e2e tests · 2 routes

Who imports who · hover a node
Depends onFront page modulesUsed byProgressiontournament-br…Changelog.server2 expor…ShowcaseTournaments.serverLoaders2 filesRoutes3 filesActions11 filesRepositories1 fileOther2 files

Changelog

serverapp/features/front-page/core/Changelog.server.ts

No overview comment at the top of the file.

Imports
no other modules
Used by
1 loader1 route

Types

interface

ChangelogItem

no JSDoc:90
export interface ChangelogItem {
	id: string;
	text: string;
	createdAtRelative: string;
	postUrl: string;
	images: {
		thumb: string;
		fullsize: string;
		aspectRatio: {
			height: number;
			width: number;
		};
	}[];
	stats: {
		likes: number;
		reposts: number;
		replies: number;
	};
}
Routes/

Functions & values

function

get

no JSDoc:69
export async function get()
Loaders/

ShowcaseTournaments

serverapp/features/front-page/core/ShowcaseTournaments.server.ts

No overview comment at the top of the file.

Imports
Progression
Used by
2 loaders11 actions2 routes1 repository2 other

Functions & values

function

upcomingTournaments

no JSDoc:31
export async function upcomingTournaments(): Promise<ShowcaseCalendarEvent[]>
function

categorizedTournamentsByUserId

no JSDoc:36
export async function categorizedTournamentsByUserId(
	userId: number | null,
): Promise<ShowcaseTournamentCollection>
function

clearParticipationInfoMap

no JSDoc:73
export function clearParticipationInfoMap()
function

addToCached

no JSDoc:77
export function addToCached({
	userId,
	tournamentId,
	type,
}: {
	userId: number;
	tournamentId: number;
	type: "participant" | "organizer";
})
function

removeFromCached

no JSDoc:100
export function removeFromCached({
	userId,
	tournamentId,
	type,
}: {
	userId: number;
	tournamentId: number;
	type: "participant" | "organizer";
})
function

refreshCachedTournamentCounts

:124

Refreshes one cached showcase tournament's team & participant counts; no-op if not cached.

export async function refreshCachedTournamentCounts(tournamentId: number)
function

clearCachedTournaments

no JSDoc:161
export const clearCachedTournaments = () =>