src/routeTree.gen.ts
Rama main · réplica de lectura del repositorio original.
/* 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 IndexRouteImport } from './routes/index'
import { Route as RoomCodeRouteImport } from './routes/room.$code'
import { Route as HostCodeRouteImport } from './routes/host.$code'
import { Route as DisplayCodeRouteImport } from './routes/display.$code'
const IndexRoute = IndexRouteImport.update({
id: '/',
path: '/',
getParentRoute: () => rootRouteImport,
} as any)
const RoomCodeRoute = RoomCodeRouteImport.update({
id: '/room/$code',
path: '/room/$code',
getParentRoute: () => rootRouteImport,
} as any)
const HostCodeRoute = HostCodeRouteImport.update({
id: '/host/$code',
path: '/host/$code',
getParentRoute: () => rootRouteImport,
} as any)
const DisplayCodeRoute = DisplayCodeRouteImport.update({
id: '/display/$code',
path: '/display/$code',
getParentRoute: () => rootRouteImport,
} as any)
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/display/$code': typeof DisplayCodeRoute
'/host/$code': typeof HostCodeRoute
'/room/$code': typeof RoomCodeRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
'/display/$code': typeof DisplayCodeRoute
'/host/$code': typeof HostCodeRoute
'/room/$code': typeof RoomCodeRoute
}
export interface FileRoutesById {
__root__: typeof rootRouteImport
'/': typeof IndexRoute
'/display/$code': typeof DisplayCodeRoute
'/host/$code': typeof HostCodeRoute
'/room/$code': typeof RoomCodeRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths: '/' | '/display/$code' | '/host/$code' | '/room/$code'
fileRoutesByTo: FileRoutesByTo
to: '/' | '/display/$code' | '/host/$code' | '/room/$code'
id: '__root__' | '/' | '/display/$code' | '/host/$code' | '/room/$code'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
DisplayCodeRoute: typeof DisplayCodeRoute
HostCodeRoute: typeof HostCodeRoute
RoomCodeRoute: typeof RoomCodeRoute
}
declare module '@tanstack/react-router' {
interface FileRoutesByPath {
'/': {
id: '/'
path: '/'
fullPath: '/'
preLoaderRoute: typeof IndexRouteImport
parentRoute: typeof rootRouteImport
}
'/room/$code': {
id: '/room/$code'
path: '/room/$code'
fullPath: '/room/$code'
preLoaderRoute: typeof RoomCodeRouteImport
parentRoute: typeof rootRouteImport
}
'/host/$code': {
id: '/host/$code'
path: '/host/$code'
fullPath: '/host/$code'
preLoaderRoute: typeof HostCodeRouteImport
parentRoute: typeof rootRouteImport
}
'/display/$code': {
id: '/display/$code'
path: '/display/$code'
fullPath: '/display/$code'
preLoaderRoute: typeof DisplayCodeRouteImport
parentRoute: typeof rootRouteImport
}
}
}
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
DisplayCodeRoute: DisplayCodeRoute,
HostCodeRoute: HostCodeRoute,
RoomCodeRoute: RoomCodeRoute,
}
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>>
}
}