831 lines
32 KiB
TypeScript
831 lines
32 KiB
TypeScript
/* eslint-disable */
|
|
|
|
// @ts-nocheck
|
|
|
|
// noinspection JSUnusedGlobalSymbols
|
|
|
|
// This file was automatically generated by TanStack Router.
|
|
// You should NOT make any changes in this file as it will be overwritten.
|
|
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
|
|
|
|
import { Route as rootRouteImport } from './routes/__root'
|
|
import { Route as RefreshSessionRouteImport } from './routes/refresh-session'
|
|
import { Route as LogoutRouteImport } from './routes/logout'
|
|
import { Route as LoginRouteImport } from './routes/login'
|
|
import { Route as AuthedRouteImport } from './routes/_authed'
|
|
import { Route as AuthedIndexRouteImport } from './routes/_authed/index'
|
|
import { Route as ApiHealthRouteImport } from './routes/api/health'
|
|
import { Route as AuthedStatsRouteImport } from './routes/_authed/stats'
|
|
import { Route as AuthedSettingsRouteImport } from './routes/_authed/settings'
|
|
import { Route as AuthedBadgesRouteImport } from './routes/_authed/badges'
|
|
import { Route as AuthedAdminRouteImport } from './routes/_authed/admin'
|
|
import { Route as AuthedTournamentsIndexRouteImport } from './routes/_authed/tournaments/index'
|
|
import { Route as AuthedAdminIndexRouteImport } from './routes/_authed/admin/index'
|
|
import { Route as ApiTournamentsUploadLogoRouteImport } from './routes/api/tournaments/upload-logo'
|
|
import { Route as ApiTeamsUploadLogoRouteImport } from './routes/api/teams/upload-logo'
|
|
import { Route as ApiSpotifyTokenRouteImport } from './routes/api/spotify/token'
|
|
import { Route as ApiSpotifySearchRouteImport } from './routes/api/spotify/search'
|
|
import { Route as ApiSpotifyResumeRouteImport } from './routes/api/spotify/resume'
|
|
import { Route as ApiSpotifyPlaybackRouteImport } from './routes/api/spotify/playback'
|
|
import { Route as ApiSpotifyCaptureRouteImport } from './routes/api/spotify/capture'
|
|
import { Route as ApiSpotifyCallbackRouteImport } from './routes/api/spotify/callback'
|
|
import { Route as ApiEventsSplatRouteImport } from './routes/api/events.$'
|
|
import { Route as ApiAuthSplatRouteImport } from './routes/api/auth.$'
|
|
import { Route as AuthedTournamentsTournamentIdRouteImport } from './routes/_authed/tournaments/$tournamentId'
|
|
import { Route as AuthedTeamsTeamIdRouteImport } from './routes/_authed/teams.$teamId'
|
|
import { Route as AuthedProfilePlayerIdRouteImport } from './routes/_authed/profile.$playerId'
|
|
import { Route as AuthedAdminPreviewRouteImport } from './routes/_authed/admin/preview'
|
|
import { Route as AuthedAdminBadgesRouteImport } from './routes/_authed/admin/badges'
|
|
import { Route as AuthedAdminActivitiesRouteImport } from './routes/_authed/admin/activities'
|
|
import { Route as AuthedAdminTournamentsIndexRouteImport } from './routes/_authed/admin/tournaments/index'
|
|
import { Route as AuthedTournamentsIdGroupsRouteImport } from './routes/_authed/tournaments/$id.groups'
|
|
import { Route as AuthedTournamentsIdBracketRouteImport } from './routes/_authed/tournaments/$id.bracket'
|
|
import { Route as AuthedAdminTournamentsIdIndexRouteImport } from './routes/_authed/admin/tournaments/$id/index'
|
|
import { Route as ApiFilesCollectionRecordIdFileRouteImport } from './routes/api/files/$collection/$recordId/$file'
|
|
import { Route as AuthedAdminTournamentsRunIdRouteImport } from './routes/_authed/admin/tournaments/run.$id'
|
|
import { Route as AuthedAdminTournamentsIdTeamsRouteImport } from './routes/_authed/admin/tournaments/$id/teams'
|
|
import { Route as AuthedAdminTournamentsIdAssignPartnersRouteImport } from './routes/_authed/admin/tournaments/$id/assign-partners'
|
|
|
|
const RefreshSessionRoute = RefreshSessionRouteImport.update({
|
|
id: '/refresh-session',
|
|
path: '/refresh-session',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const LogoutRoute = LogoutRouteImport.update({
|
|
id: '/logout',
|
|
path: '/logout',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const LoginRoute = LoginRouteImport.update({
|
|
id: '/login',
|
|
path: '/login',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AuthedRoute = AuthedRouteImport.update({
|
|
id: '/_authed',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AuthedIndexRoute = AuthedIndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => AuthedRoute,
|
|
} as any)
|
|
const ApiHealthRoute = ApiHealthRouteImport.update({
|
|
id: '/api/health',
|
|
path: '/api/health',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AuthedStatsRoute = AuthedStatsRouteImport.update({
|
|
id: '/stats',
|
|
path: '/stats',
|
|
getParentRoute: () => AuthedRoute,
|
|
} as any)
|
|
const AuthedSettingsRoute = AuthedSettingsRouteImport.update({
|
|
id: '/settings',
|
|
path: '/settings',
|
|
getParentRoute: () => AuthedRoute,
|
|
} as any)
|
|
const AuthedBadgesRoute = AuthedBadgesRouteImport.update({
|
|
id: '/badges',
|
|
path: '/badges',
|
|
getParentRoute: () => AuthedRoute,
|
|
} as any)
|
|
const AuthedAdminRoute = AuthedAdminRouteImport.update({
|
|
id: '/admin',
|
|
path: '/admin',
|
|
getParentRoute: () => AuthedRoute,
|
|
} as any)
|
|
const AuthedTournamentsIndexRoute = AuthedTournamentsIndexRouteImport.update({
|
|
id: '/tournaments/',
|
|
path: '/tournaments/',
|
|
getParentRoute: () => AuthedRoute,
|
|
} as any)
|
|
const AuthedAdminIndexRoute = AuthedAdminIndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => AuthedAdminRoute,
|
|
} as any)
|
|
const ApiTournamentsUploadLogoRoute =
|
|
ApiTournamentsUploadLogoRouteImport.update({
|
|
id: '/api/tournaments/upload-logo',
|
|
path: '/api/tournaments/upload-logo',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ApiTeamsUploadLogoRoute = ApiTeamsUploadLogoRouteImport.update({
|
|
id: '/api/teams/upload-logo',
|
|
path: '/api/teams/upload-logo',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ApiSpotifyTokenRoute = ApiSpotifyTokenRouteImport.update({
|
|
id: '/api/spotify/token',
|
|
path: '/api/spotify/token',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ApiSpotifySearchRoute = ApiSpotifySearchRouteImport.update({
|
|
id: '/api/spotify/search',
|
|
path: '/api/spotify/search',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ApiSpotifyResumeRoute = ApiSpotifyResumeRouteImport.update({
|
|
id: '/api/spotify/resume',
|
|
path: '/api/spotify/resume',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ApiSpotifyPlaybackRoute = ApiSpotifyPlaybackRouteImport.update({
|
|
id: '/api/spotify/playback',
|
|
path: '/api/spotify/playback',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ApiSpotifyCaptureRoute = ApiSpotifyCaptureRouteImport.update({
|
|
id: '/api/spotify/capture',
|
|
path: '/api/spotify/capture',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ApiSpotifyCallbackRoute = ApiSpotifyCallbackRouteImport.update({
|
|
id: '/api/spotify/callback',
|
|
path: '/api/spotify/callback',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ApiEventsSplatRoute = ApiEventsSplatRouteImport.update({
|
|
id: '/api/events/$',
|
|
path: '/api/events/$',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ApiAuthSplatRoute = ApiAuthSplatRouteImport.update({
|
|
id: '/api/auth/$',
|
|
path: '/api/auth/$',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AuthedTournamentsTournamentIdRoute =
|
|
AuthedTournamentsTournamentIdRouteImport.update({
|
|
id: '/tournaments/$tournamentId',
|
|
path: '/tournaments/$tournamentId',
|
|
getParentRoute: () => AuthedRoute,
|
|
} as any)
|
|
const AuthedTeamsTeamIdRoute = AuthedTeamsTeamIdRouteImport.update({
|
|
id: '/teams/$teamId',
|
|
path: '/teams/$teamId',
|
|
getParentRoute: () => AuthedRoute,
|
|
} as any)
|
|
const AuthedProfilePlayerIdRoute = AuthedProfilePlayerIdRouteImport.update({
|
|
id: '/profile/$playerId',
|
|
path: '/profile/$playerId',
|
|
getParentRoute: () => AuthedRoute,
|
|
} as any)
|
|
const AuthedAdminPreviewRoute = AuthedAdminPreviewRouteImport.update({
|
|
id: '/preview',
|
|
path: '/preview',
|
|
getParentRoute: () => AuthedAdminRoute,
|
|
} as any)
|
|
const AuthedAdminBadgesRoute = AuthedAdminBadgesRouteImport.update({
|
|
id: '/badges',
|
|
path: '/badges',
|
|
getParentRoute: () => AuthedAdminRoute,
|
|
} as any)
|
|
const AuthedAdminActivitiesRoute = AuthedAdminActivitiesRouteImport.update({
|
|
id: '/activities',
|
|
path: '/activities',
|
|
getParentRoute: () => AuthedAdminRoute,
|
|
} as any)
|
|
const AuthedAdminTournamentsIndexRoute =
|
|
AuthedAdminTournamentsIndexRouteImport.update({
|
|
id: '/tournaments/',
|
|
path: '/tournaments/',
|
|
getParentRoute: () => AuthedAdminRoute,
|
|
} as any)
|
|
const AuthedTournamentsIdGroupsRoute =
|
|
AuthedTournamentsIdGroupsRouteImport.update({
|
|
id: '/tournaments/$id/groups',
|
|
path: '/tournaments/$id/groups',
|
|
getParentRoute: () => AuthedRoute,
|
|
} as any)
|
|
const AuthedTournamentsIdBracketRoute =
|
|
AuthedTournamentsIdBracketRouteImport.update({
|
|
id: '/tournaments/$id/bracket',
|
|
path: '/tournaments/$id/bracket',
|
|
getParentRoute: () => AuthedRoute,
|
|
} as any)
|
|
const AuthedAdminTournamentsIdIndexRoute =
|
|
AuthedAdminTournamentsIdIndexRouteImport.update({
|
|
id: '/tournaments/$id/',
|
|
path: '/tournaments/$id/',
|
|
getParentRoute: () => AuthedAdminRoute,
|
|
} as any)
|
|
const ApiFilesCollectionRecordIdFileRoute =
|
|
ApiFilesCollectionRecordIdFileRouteImport.update({
|
|
id: '/api/files/$collection/$recordId/$file',
|
|
path: '/api/files/$collection/$recordId/$file',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const AuthedAdminTournamentsRunIdRoute =
|
|
AuthedAdminTournamentsRunIdRouteImport.update({
|
|
id: '/tournaments/run/$id',
|
|
path: '/tournaments/run/$id',
|
|
getParentRoute: () => AuthedAdminRoute,
|
|
} as any)
|
|
const AuthedAdminTournamentsIdTeamsRoute =
|
|
AuthedAdminTournamentsIdTeamsRouteImport.update({
|
|
id: '/tournaments/$id/teams',
|
|
path: '/tournaments/$id/teams',
|
|
getParentRoute: () => AuthedAdminRoute,
|
|
} as any)
|
|
const AuthedAdminTournamentsIdAssignPartnersRoute =
|
|
AuthedAdminTournamentsIdAssignPartnersRouteImport.update({
|
|
id: '/tournaments/$id/assign-partners',
|
|
path: '/tournaments/$id/assign-partners',
|
|
getParentRoute: () => AuthedAdminRoute,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof AuthedIndexRoute
|
|
'/login': typeof LoginRoute
|
|
'/logout': typeof LogoutRoute
|
|
'/refresh-session': typeof RefreshSessionRoute
|
|
'/admin': typeof AuthedAdminRouteWithChildren
|
|
'/badges': typeof AuthedBadgesRoute
|
|
'/settings': typeof AuthedSettingsRoute
|
|
'/stats': typeof AuthedStatsRoute
|
|
'/api/health': typeof ApiHealthRoute
|
|
'/admin/activities': typeof AuthedAdminActivitiesRoute
|
|
'/admin/badges': typeof AuthedAdminBadgesRoute
|
|
'/admin/preview': typeof AuthedAdminPreviewRoute
|
|
'/profile/$playerId': typeof AuthedProfilePlayerIdRoute
|
|
'/teams/$teamId': typeof AuthedTeamsTeamIdRoute
|
|
'/tournaments/$tournamentId': typeof AuthedTournamentsTournamentIdRoute
|
|
'/api/auth/$': typeof ApiAuthSplatRoute
|
|
'/api/events/$': typeof ApiEventsSplatRoute
|
|
'/api/spotify/callback': typeof ApiSpotifyCallbackRoute
|
|
'/api/spotify/capture': typeof ApiSpotifyCaptureRoute
|
|
'/api/spotify/playback': typeof ApiSpotifyPlaybackRoute
|
|
'/api/spotify/resume': typeof ApiSpotifyResumeRoute
|
|
'/api/spotify/search': typeof ApiSpotifySearchRoute
|
|
'/api/spotify/token': typeof ApiSpotifyTokenRoute
|
|
'/api/teams/upload-logo': typeof ApiTeamsUploadLogoRoute
|
|
'/api/tournaments/upload-logo': typeof ApiTournamentsUploadLogoRoute
|
|
'/admin/': typeof AuthedAdminIndexRoute
|
|
'/tournaments/': typeof AuthedTournamentsIndexRoute
|
|
'/tournaments/$id/bracket': typeof AuthedTournamentsIdBracketRoute
|
|
'/tournaments/$id/groups': typeof AuthedTournamentsIdGroupsRoute
|
|
'/admin/tournaments/': typeof AuthedAdminTournamentsIndexRoute
|
|
'/admin/tournaments/$id/assign-partners': typeof AuthedAdminTournamentsIdAssignPartnersRoute
|
|
'/admin/tournaments/$id/teams': typeof AuthedAdminTournamentsIdTeamsRoute
|
|
'/admin/tournaments/run/$id': typeof AuthedAdminTournamentsRunIdRoute
|
|
'/api/files/$collection/$recordId/$file': typeof ApiFilesCollectionRecordIdFileRoute
|
|
'/admin/tournaments/$id/': typeof AuthedAdminTournamentsIdIndexRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/login': typeof LoginRoute
|
|
'/logout': typeof LogoutRoute
|
|
'/refresh-session': typeof RefreshSessionRoute
|
|
'/badges': typeof AuthedBadgesRoute
|
|
'/settings': typeof AuthedSettingsRoute
|
|
'/stats': typeof AuthedStatsRoute
|
|
'/api/health': typeof ApiHealthRoute
|
|
'/': typeof AuthedIndexRoute
|
|
'/admin/activities': typeof AuthedAdminActivitiesRoute
|
|
'/admin/badges': typeof AuthedAdminBadgesRoute
|
|
'/admin/preview': typeof AuthedAdminPreviewRoute
|
|
'/profile/$playerId': typeof AuthedProfilePlayerIdRoute
|
|
'/teams/$teamId': typeof AuthedTeamsTeamIdRoute
|
|
'/tournaments/$tournamentId': typeof AuthedTournamentsTournamentIdRoute
|
|
'/api/auth/$': typeof ApiAuthSplatRoute
|
|
'/api/events/$': typeof ApiEventsSplatRoute
|
|
'/api/spotify/callback': typeof ApiSpotifyCallbackRoute
|
|
'/api/spotify/capture': typeof ApiSpotifyCaptureRoute
|
|
'/api/spotify/playback': typeof ApiSpotifyPlaybackRoute
|
|
'/api/spotify/resume': typeof ApiSpotifyResumeRoute
|
|
'/api/spotify/search': typeof ApiSpotifySearchRoute
|
|
'/api/spotify/token': typeof ApiSpotifyTokenRoute
|
|
'/api/teams/upload-logo': typeof ApiTeamsUploadLogoRoute
|
|
'/api/tournaments/upload-logo': typeof ApiTournamentsUploadLogoRoute
|
|
'/admin': typeof AuthedAdminIndexRoute
|
|
'/tournaments': typeof AuthedTournamentsIndexRoute
|
|
'/tournaments/$id/bracket': typeof AuthedTournamentsIdBracketRoute
|
|
'/tournaments/$id/groups': typeof AuthedTournamentsIdGroupsRoute
|
|
'/admin/tournaments': typeof AuthedAdminTournamentsIndexRoute
|
|
'/admin/tournaments/$id/assign-partners': typeof AuthedAdminTournamentsIdAssignPartnersRoute
|
|
'/admin/tournaments/$id/teams': typeof AuthedAdminTournamentsIdTeamsRoute
|
|
'/admin/tournaments/run/$id': typeof AuthedAdminTournamentsRunIdRoute
|
|
'/api/files/$collection/$recordId/$file': typeof ApiFilesCollectionRecordIdFileRoute
|
|
'/admin/tournaments/$id': typeof AuthedAdminTournamentsIdIndexRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/_authed': typeof AuthedRouteWithChildren
|
|
'/login': typeof LoginRoute
|
|
'/logout': typeof LogoutRoute
|
|
'/refresh-session': typeof RefreshSessionRoute
|
|
'/_authed/admin': typeof AuthedAdminRouteWithChildren
|
|
'/_authed/badges': typeof AuthedBadgesRoute
|
|
'/_authed/settings': typeof AuthedSettingsRoute
|
|
'/_authed/stats': typeof AuthedStatsRoute
|
|
'/api/health': typeof ApiHealthRoute
|
|
'/_authed/': typeof AuthedIndexRoute
|
|
'/_authed/admin/activities': typeof AuthedAdminActivitiesRoute
|
|
'/_authed/admin/badges': typeof AuthedAdminBadgesRoute
|
|
'/_authed/admin/preview': typeof AuthedAdminPreviewRoute
|
|
'/_authed/profile/$playerId': typeof AuthedProfilePlayerIdRoute
|
|
'/_authed/teams/$teamId': typeof AuthedTeamsTeamIdRoute
|
|
'/_authed/tournaments/$tournamentId': typeof AuthedTournamentsTournamentIdRoute
|
|
'/api/auth/$': typeof ApiAuthSplatRoute
|
|
'/api/events/$': typeof ApiEventsSplatRoute
|
|
'/api/spotify/callback': typeof ApiSpotifyCallbackRoute
|
|
'/api/spotify/capture': typeof ApiSpotifyCaptureRoute
|
|
'/api/spotify/playback': typeof ApiSpotifyPlaybackRoute
|
|
'/api/spotify/resume': typeof ApiSpotifyResumeRoute
|
|
'/api/spotify/search': typeof ApiSpotifySearchRoute
|
|
'/api/spotify/token': typeof ApiSpotifyTokenRoute
|
|
'/api/teams/upload-logo': typeof ApiTeamsUploadLogoRoute
|
|
'/api/tournaments/upload-logo': typeof ApiTournamentsUploadLogoRoute
|
|
'/_authed/admin/': typeof AuthedAdminIndexRoute
|
|
'/_authed/tournaments/': typeof AuthedTournamentsIndexRoute
|
|
'/_authed/tournaments/$id/bracket': typeof AuthedTournamentsIdBracketRoute
|
|
'/_authed/tournaments/$id/groups': typeof AuthedTournamentsIdGroupsRoute
|
|
'/_authed/admin/tournaments/': typeof AuthedAdminTournamentsIndexRoute
|
|
'/_authed/admin/tournaments/$id/assign-partners': typeof AuthedAdminTournamentsIdAssignPartnersRoute
|
|
'/_authed/admin/tournaments/$id/teams': typeof AuthedAdminTournamentsIdTeamsRoute
|
|
'/_authed/admin/tournaments/run/$id': typeof AuthedAdminTournamentsRunIdRoute
|
|
'/api/files/$collection/$recordId/$file': typeof ApiFilesCollectionRecordIdFileRoute
|
|
'/_authed/admin/tournaments/$id/': typeof AuthedAdminTournamentsIdIndexRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/login'
|
|
| '/logout'
|
|
| '/refresh-session'
|
|
| '/admin'
|
|
| '/badges'
|
|
| '/settings'
|
|
| '/stats'
|
|
| '/api/health'
|
|
| '/admin/activities'
|
|
| '/admin/badges'
|
|
| '/admin/preview'
|
|
| '/profile/$playerId'
|
|
| '/teams/$teamId'
|
|
| '/tournaments/$tournamentId'
|
|
| '/api/auth/$'
|
|
| '/api/events/$'
|
|
| '/api/spotify/callback'
|
|
| '/api/spotify/capture'
|
|
| '/api/spotify/playback'
|
|
| '/api/spotify/resume'
|
|
| '/api/spotify/search'
|
|
| '/api/spotify/token'
|
|
| '/api/teams/upload-logo'
|
|
| '/api/tournaments/upload-logo'
|
|
| '/admin/'
|
|
| '/tournaments/'
|
|
| '/tournaments/$id/bracket'
|
|
| '/tournaments/$id/groups'
|
|
| '/admin/tournaments/'
|
|
| '/admin/tournaments/$id/assign-partners'
|
|
| '/admin/tournaments/$id/teams'
|
|
| '/admin/tournaments/run/$id'
|
|
| '/api/files/$collection/$recordId/$file'
|
|
| '/admin/tournaments/$id/'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/login'
|
|
| '/logout'
|
|
| '/refresh-session'
|
|
| '/badges'
|
|
| '/settings'
|
|
| '/stats'
|
|
| '/api/health'
|
|
| '/'
|
|
| '/admin/activities'
|
|
| '/admin/badges'
|
|
| '/admin/preview'
|
|
| '/profile/$playerId'
|
|
| '/teams/$teamId'
|
|
| '/tournaments/$tournamentId'
|
|
| '/api/auth/$'
|
|
| '/api/events/$'
|
|
| '/api/spotify/callback'
|
|
| '/api/spotify/capture'
|
|
| '/api/spotify/playback'
|
|
| '/api/spotify/resume'
|
|
| '/api/spotify/search'
|
|
| '/api/spotify/token'
|
|
| '/api/teams/upload-logo'
|
|
| '/api/tournaments/upload-logo'
|
|
| '/admin'
|
|
| '/tournaments'
|
|
| '/tournaments/$id/bracket'
|
|
| '/tournaments/$id/groups'
|
|
| '/admin/tournaments'
|
|
| '/admin/tournaments/$id/assign-partners'
|
|
| '/admin/tournaments/$id/teams'
|
|
| '/admin/tournaments/run/$id'
|
|
| '/api/files/$collection/$recordId/$file'
|
|
| '/admin/tournaments/$id'
|
|
id:
|
|
| '__root__'
|
|
| '/_authed'
|
|
| '/login'
|
|
| '/logout'
|
|
| '/refresh-session'
|
|
| '/_authed/admin'
|
|
| '/_authed/badges'
|
|
| '/_authed/settings'
|
|
| '/_authed/stats'
|
|
| '/api/health'
|
|
| '/_authed/'
|
|
| '/_authed/admin/activities'
|
|
| '/_authed/admin/badges'
|
|
| '/_authed/admin/preview'
|
|
| '/_authed/profile/$playerId'
|
|
| '/_authed/teams/$teamId'
|
|
| '/_authed/tournaments/$tournamentId'
|
|
| '/api/auth/$'
|
|
| '/api/events/$'
|
|
| '/api/spotify/callback'
|
|
| '/api/spotify/capture'
|
|
| '/api/spotify/playback'
|
|
| '/api/spotify/resume'
|
|
| '/api/spotify/search'
|
|
| '/api/spotify/token'
|
|
| '/api/teams/upload-logo'
|
|
| '/api/tournaments/upload-logo'
|
|
| '/_authed/admin/'
|
|
| '/_authed/tournaments/'
|
|
| '/_authed/tournaments/$id/bracket'
|
|
| '/_authed/tournaments/$id/groups'
|
|
| '/_authed/admin/tournaments/'
|
|
| '/_authed/admin/tournaments/$id/assign-partners'
|
|
| '/_authed/admin/tournaments/$id/teams'
|
|
| '/_authed/admin/tournaments/run/$id'
|
|
| '/api/files/$collection/$recordId/$file'
|
|
| '/_authed/admin/tournaments/$id/'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
AuthedRoute: typeof AuthedRouteWithChildren
|
|
LoginRoute: typeof LoginRoute
|
|
LogoutRoute: typeof LogoutRoute
|
|
RefreshSessionRoute: typeof RefreshSessionRoute
|
|
ApiHealthRoute: typeof ApiHealthRoute
|
|
ApiAuthSplatRoute: typeof ApiAuthSplatRoute
|
|
ApiEventsSplatRoute: typeof ApiEventsSplatRoute
|
|
ApiSpotifyCallbackRoute: typeof ApiSpotifyCallbackRoute
|
|
ApiSpotifyCaptureRoute: typeof ApiSpotifyCaptureRoute
|
|
ApiSpotifyPlaybackRoute: typeof ApiSpotifyPlaybackRoute
|
|
ApiSpotifyResumeRoute: typeof ApiSpotifyResumeRoute
|
|
ApiSpotifySearchRoute: typeof ApiSpotifySearchRoute
|
|
ApiSpotifyTokenRoute: typeof ApiSpotifyTokenRoute
|
|
ApiTeamsUploadLogoRoute: typeof ApiTeamsUploadLogoRoute
|
|
ApiTournamentsUploadLogoRoute: typeof ApiTournamentsUploadLogoRoute
|
|
ApiFilesCollectionRecordIdFileRoute: typeof ApiFilesCollectionRecordIdFileRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/refresh-session': {
|
|
id: '/refresh-session'
|
|
path: '/refresh-session'
|
|
fullPath: '/refresh-session'
|
|
preLoaderRoute: typeof RefreshSessionRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/logout': {
|
|
id: '/logout'
|
|
path: '/logout'
|
|
fullPath: '/logout'
|
|
preLoaderRoute: typeof LogoutRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/login': {
|
|
id: '/login'
|
|
path: '/login'
|
|
fullPath: '/login'
|
|
preLoaderRoute: typeof LoginRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_authed': {
|
|
id: '/_authed'
|
|
path: ''
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof AuthedRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_authed/': {
|
|
id: '/_authed/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof AuthedIndexRouteImport
|
|
parentRoute: typeof AuthedRoute
|
|
}
|
|
'/api/health': {
|
|
id: '/api/health'
|
|
path: '/api/health'
|
|
fullPath: '/api/health'
|
|
preLoaderRoute: typeof ApiHealthRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_authed/stats': {
|
|
id: '/_authed/stats'
|
|
path: '/stats'
|
|
fullPath: '/stats'
|
|
preLoaderRoute: typeof AuthedStatsRouteImport
|
|
parentRoute: typeof AuthedRoute
|
|
}
|
|
'/_authed/settings': {
|
|
id: '/_authed/settings'
|
|
path: '/settings'
|
|
fullPath: '/settings'
|
|
preLoaderRoute: typeof AuthedSettingsRouteImport
|
|
parentRoute: typeof AuthedRoute
|
|
}
|
|
'/_authed/badges': {
|
|
id: '/_authed/badges'
|
|
path: '/badges'
|
|
fullPath: '/badges'
|
|
preLoaderRoute: typeof AuthedBadgesRouteImport
|
|
parentRoute: typeof AuthedRoute
|
|
}
|
|
'/_authed/admin': {
|
|
id: '/_authed/admin'
|
|
path: '/admin'
|
|
fullPath: '/admin'
|
|
preLoaderRoute: typeof AuthedAdminRouteImport
|
|
parentRoute: typeof AuthedRoute
|
|
}
|
|
'/_authed/tournaments/': {
|
|
id: '/_authed/tournaments/'
|
|
path: '/tournaments'
|
|
fullPath: '/tournaments/'
|
|
preLoaderRoute: typeof AuthedTournamentsIndexRouteImport
|
|
parentRoute: typeof AuthedRoute
|
|
}
|
|
'/_authed/admin/': {
|
|
id: '/_authed/admin/'
|
|
path: '/'
|
|
fullPath: '/admin/'
|
|
preLoaderRoute: typeof AuthedAdminIndexRouteImport
|
|
parentRoute: typeof AuthedAdminRoute
|
|
}
|
|
'/api/tournaments/upload-logo': {
|
|
id: '/api/tournaments/upload-logo'
|
|
path: '/api/tournaments/upload-logo'
|
|
fullPath: '/api/tournaments/upload-logo'
|
|
preLoaderRoute: typeof ApiTournamentsUploadLogoRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/api/teams/upload-logo': {
|
|
id: '/api/teams/upload-logo'
|
|
path: '/api/teams/upload-logo'
|
|
fullPath: '/api/teams/upload-logo'
|
|
preLoaderRoute: typeof ApiTeamsUploadLogoRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/api/spotify/token': {
|
|
id: '/api/spotify/token'
|
|
path: '/api/spotify/token'
|
|
fullPath: '/api/spotify/token'
|
|
preLoaderRoute: typeof ApiSpotifyTokenRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/api/spotify/search': {
|
|
id: '/api/spotify/search'
|
|
path: '/api/spotify/search'
|
|
fullPath: '/api/spotify/search'
|
|
preLoaderRoute: typeof ApiSpotifySearchRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/api/spotify/resume': {
|
|
id: '/api/spotify/resume'
|
|
path: '/api/spotify/resume'
|
|
fullPath: '/api/spotify/resume'
|
|
preLoaderRoute: typeof ApiSpotifyResumeRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/api/spotify/playback': {
|
|
id: '/api/spotify/playback'
|
|
path: '/api/spotify/playback'
|
|
fullPath: '/api/spotify/playback'
|
|
preLoaderRoute: typeof ApiSpotifyPlaybackRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/api/spotify/capture': {
|
|
id: '/api/spotify/capture'
|
|
path: '/api/spotify/capture'
|
|
fullPath: '/api/spotify/capture'
|
|
preLoaderRoute: typeof ApiSpotifyCaptureRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/api/spotify/callback': {
|
|
id: '/api/spotify/callback'
|
|
path: '/api/spotify/callback'
|
|
fullPath: '/api/spotify/callback'
|
|
preLoaderRoute: typeof ApiSpotifyCallbackRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/api/events/$': {
|
|
id: '/api/events/$'
|
|
path: '/api/events/$'
|
|
fullPath: '/api/events/$'
|
|
preLoaderRoute: typeof ApiEventsSplatRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/api/auth/$': {
|
|
id: '/api/auth/$'
|
|
path: '/api/auth/$'
|
|
fullPath: '/api/auth/$'
|
|
preLoaderRoute: typeof ApiAuthSplatRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_authed/tournaments/$tournamentId': {
|
|
id: '/_authed/tournaments/$tournamentId'
|
|
path: '/tournaments/$tournamentId'
|
|
fullPath: '/tournaments/$tournamentId'
|
|
preLoaderRoute: typeof AuthedTournamentsTournamentIdRouteImport
|
|
parentRoute: typeof AuthedRoute
|
|
}
|
|
'/_authed/teams/$teamId': {
|
|
id: '/_authed/teams/$teamId'
|
|
path: '/teams/$teamId'
|
|
fullPath: '/teams/$teamId'
|
|
preLoaderRoute: typeof AuthedTeamsTeamIdRouteImport
|
|
parentRoute: typeof AuthedRoute
|
|
}
|
|
'/_authed/profile/$playerId': {
|
|
id: '/_authed/profile/$playerId'
|
|
path: '/profile/$playerId'
|
|
fullPath: '/profile/$playerId'
|
|
preLoaderRoute: typeof AuthedProfilePlayerIdRouteImport
|
|
parentRoute: typeof AuthedRoute
|
|
}
|
|
'/_authed/admin/preview': {
|
|
id: '/_authed/admin/preview'
|
|
path: '/preview'
|
|
fullPath: '/admin/preview'
|
|
preLoaderRoute: typeof AuthedAdminPreviewRouteImport
|
|
parentRoute: typeof AuthedAdminRoute
|
|
}
|
|
'/_authed/admin/badges': {
|
|
id: '/_authed/admin/badges'
|
|
path: '/badges'
|
|
fullPath: '/admin/badges'
|
|
preLoaderRoute: typeof AuthedAdminBadgesRouteImport
|
|
parentRoute: typeof AuthedAdminRoute
|
|
}
|
|
'/_authed/admin/activities': {
|
|
id: '/_authed/admin/activities'
|
|
path: '/activities'
|
|
fullPath: '/admin/activities'
|
|
preLoaderRoute: typeof AuthedAdminActivitiesRouteImport
|
|
parentRoute: typeof AuthedAdminRoute
|
|
}
|
|
'/_authed/admin/tournaments/': {
|
|
id: '/_authed/admin/tournaments/'
|
|
path: '/tournaments'
|
|
fullPath: '/admin/tournaments/'
|
|
preLoaderRoute: typeof AuthedAdminTournamentsIndexRouteImport
|
|
parentRoute: typeof AuthedAdminRoute
|
|
}
|
|
'/_authed/tournaments/$id/groups': {
|
|
id: '/_authed/tournaments/$id/groups'
|
|
path: '/tournaments/$id/groups'
|
|
fullPath: '/tournaments/$id/groups'
|
|
preLoaderRoute: typeof AuthedTournamentsIdGroupsRouteImport
|
|
parentRoute: typeof AuthedRoute
|
|
}
|
|
'/_authed/tournaments/$id/bracket': {
|
|
id: '/_authed/tournaments/$id/bracket'
|
|
path: '/tournaments/$id/bracket'
|
|
fullPath: '/tournaments/$id/bracket'
|
|
preLoaderRoute: typeof AuthedTournamentsIdBracketRouteImport
|
|
parentRoute: typeof AuthedRoute
|
|
}
|
|
'/_authed/admin/tournaments/$id/': {
|
|
id: '/_authed/admin/tournaments/$id/'
|
|
path: '/tournaments/$id'
|
|
fullPath: '/admin/tournaments/$id/'
|
|
preLoaderRoute: typeof AuthedAdminTournamentsIdIndexRouteImport
|
|
parentRoute: typeof AuthedAdminRoute
|
|
}
|
|
'/api/files/$collection/$recordId/$file': {
|
|
id: '/api/files/$collection/$recordId/$file'
|
|
path: '/api/files/$collection/$recordId/$file'
|
|
fullPath: '/api/files/$collection/$recordId/$file'
|
|
preLoaderRoute: typeof ApiFilesCollectionRecordIdFileRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/_authed/admin/tournaments/run/$id': {
|
|
id: '/_authed/admin/tournaments/run/$id'
|
|
path: '/tournaments/run/$id'
|
|
fullPath: '/admin/tournaments/run/$id'
|
|
preLoaderRoute: typeof AuthedAdminTournamentsRunIdRouteImport
|
|
parentRoute: typeof AuthedAdminRoute
|
|
}
|
|
'/_authed/admin/tournaments/$id/teams': {
|
|
id: '/_authed/admin/tournaments/$id/teams'
|
|
path: '/tournaments/$id/teams'
|
|
fullPath: '/admin/tournaments/$id/teams'
|
|
preLoaderRoute: typeof AuthedAdminTournamentsIdTeamsRouteImport
|
|
parentRoute: typeof AuthedAdminRoute
|
|
}
|
|
'/_authed/admin/tournaments/$id/assign-partners': {
|
|
id: '/_authed/admin/tournaments/$id/assign-partners'
|
|
path: '/tournaments/$id/assign-partners'
|
|
fullPath: '/admin/tournaments/$id/assign-partners'
|
|
preLoaderRoute: typeof AuthedAdminTournamentsIdAssignPartnersRouteImport
|
|
parentRoute: typeof AuthedAdminRoute
|
|
}
|
|
}
|
|
}
|
|
|
|
interface AuthedAdminRouteChildren {
|
|
AuthedAdminActivitiesRoute: typeof AuthedAdminActivitiesRoute
|
|
AuthedAdminBadgesRoute: typeof AuthedAdminBadgesRoute
|
|
AuthedAdminPreviewRoute: typeof AuthedAdminPreviewRoute
|
|
AuthedAdminIndexRoute: typeof AuthedAdminIndexRoute
|
|
AuthedAdminTournamentsIndexRoute: typeof AuthedAdminTournamentsIndexRoute
|
|
AuthedAdminTournamentsIdAssignPartnersRoute: typeof AuthedAdminTournamentsIdAssignPartnersRoute
|
|
AuthedAdminTournamentsIdTeamsRoute: typeof AuthedAdminTournamentsIdTeamsRoute
|
|
AuthedAdminTournamentsRunIdRoute: typeof AuthedAdminTournamentsRunIdRoute
|
|
AuthedAdminTournamentsIdIndexRoute: typeof AuthedAdminTournamentsIdIndexRoute
|
|
}
|
|
|
|
const AuthedAdminRouteChildren: AuthedAdminRouteChildren = {
|
|
AuthedAdminActivitiesRoute: AuthedAdminActivitiesRoute,
|
|
AuthedAdminBadgesRoute: AuthedAdminBadgesRoute,
|
|
AuthedAdminPreviewRoute: AuthedAdminPreviewRoute,
|
|
AuthedAdminIndexRoute: AuthedAdminIndexRoute,
|
|
AuthedAdminTournamentsIndexRoute: AuthedAdminTournamentsIndexRoute,
|
|
AuthedAdminTournamentsIdAssignPartnersRoute:
|
|
AuthedAdminTournamentsIdAssignPartnersRoute,
|
|
AuthedAdminTournamentsIdTeamsRoute: AuthedAdminTournamentsIdTeamsRoute,
|
|
AuthedAdminTournamentsRunIdRoute: AuthedAdminTournamentsRunIdRoute,
|
|
AuthedAdminTournamentsIdIndexRoute: AuthedAdminTournamentsIdIndexRoute,
|
|
}
|
|
|
|
const AuthedAdminRouteWithChildren = AuthedAdminRoute._addFileChildren(
|
|
AuthedAdminRouteChildren,
|
|
)
|
|
|
|
interface AuthedRouteChildren {
|
|
AuthedAdminRoute: typeof AuthedAdminRouteWithChildren
|
|
AuthedBadgesRoute: typeof AuthedBadgesRoute
|
|
AuthedSettingsRoute: typeof AuthedSettingsRoute
|
|
AuthedStatsRoute: typeof AuthedStatsRoute
|
|
AuthedIndexRoute: typeof AuthedIndexRoute
|
|
AuthedProfilePlayerIdRoute: typeof AuthedProfilePlayerIdRoute
|
|
AuthedTeamsTeamIdRoute: typeof AuthedTeamsTeamIdRoute
|
|
AuthedTournamentsTournamentIdRoute: typeof AuthedTournamentsTournamentIdRoute
|
|
AuthedTournamentsIndexRoute: typeof AuthedTournamentsIndexRoute
|
|
AuthedTournamentsIdBracketRoute: typeof AuthedTournamentsIdBracketRoute
|
|
AuthedTournamentsIdGroupsRoute: typeof AuthedTournamentsIdGroupsRoute
|
|
}
|
|
|
|
const AuthedRouteChildren: AuthedRouteChildren = {
|
|
AuthedAdminRoute: AuthedAdminRouteWithChildren,
|
|
AuthedBadgesRoute: AuthedBadgesRoute,
|
|
AuthedSettingsRoute: AuthedSettingsRoute,
|
|
AuthedStatsRoute: AuthedStatsRoute,
|
|
AuthedIndexRoute: AuthedIndexRoute,
|
|
AuthedProfilePlayerIdRoute: AuthedProfilePlayerIdRoute,
|
|
AuthedTeamsTeamIdRoute: AuthedTeamsTeamIdRoute,
|
|
AuthedTournamentsTournamentIdRoute: AuthedTournamentsTournamentIdRoute,
|
|
AuthedTournamentsIndexRoute: AuthedTournamentsIndexRoute,
|
|
AuthedTournamentsIdBracketRoute: AuthedTournamentsIdBracketRoute,
|
|
AuthedTournamentsIdGroupsRoute: AuthedTournamentsIdGroupsRoute,
|
|
}
|
|
|
|
const AuthedRouteWithChildren =
|
|
AuthedRoute._addFileChildren(AuthedRouteChildren)
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
AuthedRoute: AuthedRouteWithChildren,
|
|
LoginRoute: LoginRoute,
|
|
LogoutRoute: LogoutRoute,
|
|
RefreshSessionRoute: RefreshSessionRoute,
|
|
ApiHealthRoute: ApiHealthRoute,
|
|
ApiAuthSplatRoute: ApiAuthSplatRoute,
|
|
ApiEventsSplatRoute: ApiEventsSplatRoute,
|
|
ApiSpotifyCallbackRoute: ApiSpotifyCallbackRoute,
|
|
ApiSpotifyCaptureRoute: ApiSpotifyCaptureRoute,
|
|
ApiSpotifyPlaybackRoute: ApiSpotifyPlaybackRoute,
|
|
ApiSpotifyResumeRoute: ApiSpotifyResumeRoute,
|
|
ApiSpotifySearchRoute: ApiSpotifySearchRoute,
|
|
ApiSpotifyTokenRoute: ApiSpotifyTokenRoute,
|
|
ApiTeamsUploadLogoRoute: ApiTeamsUploadLogoRoute,
|
|
ApiTournamentsUploadLogoRoute: ApiTournamentsUploadLogoRoute,
|
|
ApiFilesCollectionRecordIdFileRoute: ApiFilesCollectionRecordIdFileRoute,
|
|
}
|
|
export const routeTree = rootRouteImport
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|
|
|
|
import type { getRouter } from './router.tsx'
|
|
import type { createStart } from '@tanstack/react-start'
|
|
declare module '@tanstack/react-start' {
|
|
interface Register {
|
|
ssr: true
|
|
router: Awaited<ReturnType<typeof getRouter>>
|
|
}
|
|
}
|