/* 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 ApiPushUnsubscribeRouteImport } from './routes/api/push/unsubscribe'
import { Route as ApiPushTestRouteImport } from './routes/api/push/test'
import { Route as ApiPushSubscribeRouteImport } from './routes/api/push/subscribe'
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 AuthedTournamentsIdPredictionsRouteImport } from './routes/_authed/tournaments/$id.predictions'
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 AuthedTournamentsIdPredictionsMakeRouteImport } from './routes/_authed/tournaments/$id.predictions_.make'
import { Route as AuthedTournamentsIdPredictionsPlayerIdRouteImport } from './routes/_authed/tournaments/$id.predictions_.$playerId'
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 ApiPushUnsubscribeRoute = ApiPushUnsubscribeRouteImport.update({
  id: '/api/push/unsubscribe',
  path: '/api/push/unsubscribe',
  getParentRoute: () => rootRouteImport,
} as any)
const ApiPushTestRoute = ApiPushTestRouteImport.update({
  id: '/api/push/test',
  path: '/api/push/test',
  getParentRoute: () => rootRouteImport,
} as any)
const ApiPushSubscribeRoute = ApiPushSubscribeRouteImport.update({
  id: '/api/push/subscribe',
  path: '/api/push/subscribe',
  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 AuthedTournamentsIdPredictionsRoute =
  AuthedTournamentsIdPredictionsRouteImport.update({
    id: '/tournaments/$id/predictions',
    path: '/tournaments/$id/predictions',
    getParentRoute: () => AuthedRoute,
  } 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 AuthedTournamentsIdPredictionsMakeRoute =
  AuthedTournamentsIdPredictionsMakeRouteImport.update({
    id: '/tournaments/$id/predictions_/make',
    path: '/tournaments/$id/predictions/make',
    getParentRoute: () => AuthedRoute,
  } as any)
const AuthedTournamentsIdPredictionsPlayerIdRoute =
  AuthedTournamentsIdPredictionsPlayerIdRouteImport.update({
    id: '/tournaments/$id/predictions_/$playerId',
    path: '/tournaments/$id/predictions/$playerId',
    getParentRoute: () => AuthedRoute,
  } 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/push/subscribe': typeof ApiPushSubscribeRoute
  '/api/push/test': typeof ApiPushTestRoute
  '/api/push/unsubscribe': typeof ApiPushUnsubscribeRoute
  '/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
  '/tournaments/$id/predictions': typeof AuthedTournamentsIdPredictionsRoute
  '/admin/tournaments/': typeof AuthedAdminTournamentsIndexRoute
  '/admin/tournaments/$id/assign-partners': typeof AuthedAdminTournamentsIdAssignPartnersRoute
  '/admin/tournaments/$id/teams': typeof AuthedAdminTournamentsIdTeamsRoute
  '/admin/tournaments/run/$id': typeof AuthedAdminTournamentsRunIdRoute
  '/tournaments/$id/predictions/$playerId': typeof AuthedTournamentsIdPredictionsPlayerIdRoute
  '/tournaments/$id/predictions/make': typeof AuthedTournamentsIdPredictionsMakeRoute
  '/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/push/subscribe': typeof ApiPushSubscribeRoute
  '/api/push/test': typeof ApiPushTestRoute
  '/api/push/unsubscribe': typeof ApiPushUnsubscribeRoute
  '/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
  '/tournaments/$id/predictions': typeof AuthedTournamentsIdPredictionsRoute
  '/admin/tournaments': typeof AuthedAdminTournamentsIndexRoute
  '/admin/tournaments/$id/assign-partners': typeof AuthedAdminTournamentsIdAssignPartnersRoute
  '/admin/tournaments/$id/teams': typeof AuthedAdminTournamentsIdTeamsRoute
  '/admin/tournaments/run/$id': typeof AuthedAdminTournamentsRunIdRoute
  '/tournaments/$id/predictions/$playerId': typeof AuthedTournamentsIdPredictionsPlayerIdRoute
  '/tournaments/$id/predictions/make': typeof AuthedTournamentsIdPredictionsMakeRoute
  '/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/push/subscribe': typeof ApiPushSubscribeRoute
  '/api/push/test': typeof ApiPushTestRoute
  '/api/push/unsubscribe': typeof ApiPushUnsubscribeRoute
  '/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/tournaments/$id/predictions': typeof AuthedTournamentsIdPredictionsRoute
  '/_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
  '/_authed/tournaments/$id/predictions_/$playerId': typeof AuthedTournamentsIdPredictionsPlayerIdRoute
  '/_authed/tournaments/$id/predictions_/make': typeof AuthedTournamentsIdPredictionsMakeRoute
  '/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/push/subscribe'
    | '/api/push/test'
    | '/api/push/unsubscribe'
    | '/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'
    | '/tournaments/$id/predictions'
    | '/admin/tournaments/'
    | '/admin/tournaments/$id/assign-partners'
    | '/admin/tournaments/$id/teams'
    | '/admin/tournaments/run/$id'
    | '/tournaments/$id/predictions/$playerId'
    | '/tournaments/$id/predictions/make'
    | '/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/push/subscribe'
    | '/api/push/test'
    | '/api/push/unsubscribe'
    | '/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'
    | '/tournaments/$id/predictions'
    | '/admin/tournaments'
    | '/admin/tournaments/$id/assign-partners'
    | '/admin/tournaments/$id/teams'
    | '/admin/tournaments/run/$id'
    | '/tournaments/$id/predictions/$playerId'
    | '/tournaments/$id/predictions/make'
    | '/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/push/subscribe'
    | '/api/push/test'
    | '/api/push/unsubscribe'
    | '/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/tournaments/$id/predictions'
    | '/_authed/admin/tournaments/'
    | '/_authed/admin/tournaments/$id/assign-partners'
    | '/_authed/admin/tournaments/$id/teams'
    | '/_authed/admin/tournaments/run/$id'
    | '/_authed/tournaments/$id/predictions_/$playerId'
    | '/_authed/tournaments/$id/predictions_/make'
    | '/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
  ApiPushSubscribeRoute: typeof ApiPushSubscribeRoute
  ApiPushTestRoute: typeof ApiPushTestRoute
  ApiPushUnsubscribeRoute: typeof ApiPushUnsubscribeRoute
  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/push/unsubscribe': {
      id: '/api/push/unsubscribe'
      path: '/api/push/unsubscribe'
      fullPath: '/api/push/unsubscribe'
      preLoaderRoute: typeof ApiPushUnsubscribeRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/api/push/test': {
      id: '/api/push/test'
      path: '/api/push/test'
      fullPath: '/api/push/test'
      preLoaderRoute: typeof ApiPushTestRouteImport
      parentRoute: typeof rootRouteImport
    }
    '/api/push/subscribe': {
      id: '/api/push/subscribe'
      path: '/api/push/subscribe'
      fullPath: '/api/push/subscribe'
      preLoaderRoute: typeof ApiPushSubscribeRouteImport
      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/predictions': {
      id: '/_authed/tournaments/$id/predictions'
      path: '/tournaments/$id/predictions'
      fullPath: '/tournaments/$id/predictions'
      preLoaderRoute: typeof AuthedTournamentsIdPredictionsRouteImport
      parentRoute: typeof AuthedRoute
    }
    '/_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/tournaments/$id/predictions_/make': {
      id: '/_authed/tournaments/$id/predictions_/make'
      path: '/tournaments/$id/predictions/make'
      fullPath: '/tournaments/$id/predictions/make'
      preLoaderRoute: typeof AuthedTournamentsIdPredictionsMakeRouteImport
      parentRoute: typeof AuthedRoute
    }
    '/_authed/tournaments/$id/predictions_/$playerId': {
      id: '/_authed/tournaments/$id/predictions_/$playerId'
      path: '/tournaments/$id/predictions/$playerId'
      fullPath: '/tournaments/$id/predictions/$playerId'
      preLoaderRoute: typeof AuthedTournamentsIdPredictionsPlayerIdRouteImport
      parentRoute: typeof AuthedRoute
    }
    '/_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
  AuthedTournamentsIdPredictionsRoute: typeof AuthedTournamentsIdPredictionsRoute
  AuthedTournamentsIdPredictionsPlayerIdRoute: typeof AuthedTournamentsIdPredictionsPlayerIdRoute
  AuthedTournamentsIdPredictionsMakeRoute: typeof AuthedTournamentsIdPredictionsMakeRoute
}

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,
  AuthedTournamentsIdPredictionsRoute: AuthedTournamentsIdPredictionsRoute,
  AuthedTournamentsIdPredictionsPlayerIdRoute:
    AuthedTournamentsIdPredictionsPlayerIdRoute,
  AuthedTournamentsIdPredictionsMakeRoute:
    AuthedTournamentsIdPredictionsMakeRoute,
}

const AuthedRouteWithChildren =
  AuthedRoute._addFileChildren(AuthedRouteChildren)

const rootRouteChildren: RootRouteChildren = {
  AuthedRoute: AuthedRouteWithChildren,
  LoginRoute: LoginRoute,
  LogoutRoute: LogoutRoute,
  RefreshSessionRoute: RefreshSessionRoute,
  ApiHealthRoute: ApiHealthRoute,
  ApiAuthSplatRoute: ApiAuthSplatRoute,
  ApiEventsSplatRoute: ApiEventsSplatRoute,
  ApiPushSubscribeRoute: ApiPushSubscribeRoute,
  ApiPushTestRoute: ApiPushTestRoute,
  ApiPushUnsubscribeRoute: ApiPushUnsubscribeRoute,
  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>>
  }
}
