189 lines
6.2 KiB
TypeScript
189 lines
6.2 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 AuthenticatedRouteImport } from './routes/_authenticated'
|
||
|
import { Route as AuthRouteImport } from './routes/_auth'
|
||
|
import { Route as IndexRouteImport } from './routes/index'
|
||
|
import { Route as AuthenticatedRoomIndexRouteImport } from './routes/_authenticated/room/index'
|
||
|
import { Route as AuthenticatedAppsIndexRouteImport } from './routes/_authenticated/apps/index'
|
||
|
import { Route as AuthLoginIndexRouteImport } from './routes/_auth/login/index'
|
||
|
import { Route as AuthenticatedRoomRoomNameIndexRouteImport } from './routes/_authenticated/room/$roomName/index'
|
||
|
|
||
|
const AuthenticatedRoute = AuthenticatedRouteImport.update({
|
||
|
id: '/_authenticated',
|
||
|
getParentRoute: () => rootRouteImport,
|
||
|
} as any)
|
||
|
const AuthRoute = AuthRouteImport.update({
|
||
|
id: '/_auth',
|
||
|
getParentRoute: () => rootRouteImport,
|
||
|
} as any)
|
||
|
const IndexRoute = IndexRouteImport.update({
|
||
|
id: '/',
|
||
|
path: '/',
|
||
|
getParentRoute: () => rootRouteImport,
|
||
|
} as any)
|
||
|
const AuthenticatedRoomIndexRoute = AuthenticatedRoomIndexRouteImport.update({
|
||
|
id: '/room/',
|
||
|
path: '/room/',
|
||
|
getParentRoute: () => AuthenticatedRoute,
|
||
|
} as any)
|
||
|
const AuthenticatedAppsIndexRoute = AuthenticatedAppsIndexRouteImport.update({
|
||
|
id: '/apps/',
|
||
|
path: '/apps/',
|
||
|
getParentRoute: () => AuthenticatedRoute,
|
||
|
} as any)
|
||
|
const AuthLoginIndexRoute = AuthLoginIndexRouteImport.update({
|
||
|
id: '/login/',
|
||
|
path: '/login/',
|
||
|
getParentRoute: () => AuthRoute,
|
||
|
} as any)
|
||
|
const AuthenticatedRoomRoomNameIndexRoute =
|
||
|
AuthenticatedRoomRoomNameIndexRouteImport.update({
|
||
|
id: '/room/$roomName/',
|
||
|
path: '/room/$roomName/',
|
||
|
getParentRoute: () => AuthenticatedRoute,
|
||
|
} as any)
|
||
|
|
||
|
export interface FileRoutesByFullPath {
|
||
|
'/': typeof IndexRoute
|
||
|
'/login': typeof AuthLoginIndexRoute
|
||
|
'/apps': typeof AuthenticatedAppsIndexRoute
|
||
|
'/room': typeof AuthenticatedRoomIndexRoute
|
||
|
'/room/$roomName': typeof AuthenticatedRoomRoomNameIndexRoute
|
||
|
}
|
||
|
export interface FileRoutesByTo {
|
||
|
'/': typeof IndexRoute
|
||
|
'/login': typeof AuthLoginIndexRoute
|
||
|
'/apps': typeof AuthenticatedAppsIndexRoute
|
||
|
'/room': typeof AuthenticatedRoomIndexRoute
|
||
|
'/room/$roomName': typeof AuthenticatedRoomRoomNameIndexRoute
|
||
|
}
|
||
|
export interface FileRoutesById {
|
||
|
__root__: typeof rootRouteImport
|
||
|
'/': typeof IndexRoute
|
||
|
'/_auth': typeof AuthRouteWithChildren
|
||
|
'/_authenticated': typeof AuthenticatedRouteWithChildren
|
||
|
'/_auth/login/': typeof AuthLoginIndexRoute
|
||
|
'/_authenticated/apps/': typeof AuthenticatedAppsIndexRoute
|
||
|
'/_authenticated/room/': typeof AuthenticatedRoomIndexRoute
|
||
|
'/_authenticated/room/$roomName/': typeof AuthenticatedRoomRoomNameIndexRoute
|
||
|
}
|
||
|
export interface FileRouteTypes {
|
||
|
fileRoutesByFullPath: FileRoutesByFullPath
|
||
|
fullPaths: '/' | '/login' | '/apps' | '/room' | '/room/$roomName'
|
||
|
fileRoutesByTo: FileRoutesByTo
|
||
|
to: '/' | '/login' | '/apps' | '/room' | '/room/$roomName'
|
||
|
id:
|
||
|
| '__root__'
|
||
|
| '/'
|
||
|
| '/_auth'
|
||
|
| '/_authenticated'
|
||
|
| '/_auth/login/'
|
||
|
| '/_authenticated/apps/'
|
||
|
| '/_authenticated/room/'
|
||
|
| '/_authenticated/room/$roomName/'
|
||
|
fileRoutesById: FileRoutesById
|
||
|
}
|
||
|
export interface RootRouteChildren {
|
||
|
IndexRoute: typeof IndexRoute
|
||
|
AuthRoute: typeof AuthRouteWithChildren
|
||
|
AuthenticatedRoute: typeof AuthenticatedRouteWithChildren
|
||
|
}
|
||
|
|
||
|
declare module '@tanstack/react-router' {
|
||
|
interface FileRoutesByPath {
|
||
|
'/_authenticated': {
|
||
|
id: '/_authenticated'
|
||
|
path: ''
|
||
|
fullPath: ''
|
||
|
preLoaderRoute: typeof AuthenticatedRouteImport
|
||
|
parentRoute: typeof rootRouteImport
|
||
|
}
|
||
|
'/_auth': {
|
||
|
id: '/_auth'
|
||
|
path: ''
|
||
|
fullPath: ''
|
||
|
preLoaderRoute: typeof AuthRouteImport
|
||
|
parentRoute: typeof rootRouteImport
|
||
|
}
|
||
|
'/': {
|
||
|
id: '/'
|
||
|
path: '/'
|
||
|
fullPath: '/'
|
||
|
preLoaderRoute: typeof IndexRouteImport
|
||
|
parentRoute: typeof rootRouteImport
|
||
|
}
|
||
|
'/_authenticated/room/': {
|
||
|
id: '/_authenticated/room/'
|
||
|
path: '/room'
|
||
|
fullPath: '/room'
|
||
|
preLoaderRoute: typeof AuthenticatedRoomIndexRouteImport
|
||
|
parentRoute: typeof AuthenticatedRoute
|
||
|
}
|
||
|
'/_authenticated/apps/': {
|
||
|
id: '/_authenticated/apps/'
|
||
|
path: '/apps'
|
||
|
fullPath: '/apps'
|
||
|
preLoaderRoute: typeof AuthenticatedAppsIndexRouteImport
|
||
|
parentRoute: typeof AuthenticatedRoute
|
||
|
}
|
||
|
'/_auth/login/': {
|
||
|
id: '/_auth/login/'
|
||
|
path: '/login'
|
||
|
fullPath: '/login'
|
||
|
preLoaderRoute: typeof AuthLoginIndexRouteImport
|
||
|
parentRoute: typeof AuthRoute
|
||
|
}
|
||
|
'/_authenticated/room/$roomName/': {
|
||
|
id: '/_authenticated/room/$roomName/'
|
||
|
path: '/room/$roomName'
|
||
|
fullPath: '/room/$roomName'
|
||
|
preLoaderRoute: typeof AuthenticatedRoomRoomNameIndexRouteImport
|
||
|
parentRoute: typeof AuthenticatedRoute
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
interface AuthRouteChildren {
|
||
|
AuthLoginIndexRoute: typeof AuthLoginIndexRoute
|
||
|
}
|
||
|
|
||
|
const AuthRouteChildren: AuthRouteChildren = {
|
||
|
AuthLoginIndexRoute: AuthLoginIndexRoute,
|
||
|
}
|
||
|
|
||
|
const AuthRouteWithChildren = AuthRoute._addFileChildren(AuthRouteChildren)
|
||
|
|
||
|
interface AuthenticatedRouteChildren {
|
||
|
AuthenticatedAppsIndexRoute: typeof AuthenticatedAppsIndexRoute
|
||
|
AuthenticatedRoomIndexRoute: typeof AuthenticatedRoomIndexRoute
|
||
|
AuthenticatedRoomRoomNameIndexRoute: typeof AuthenticatedRoomRoomNameIndexRoute
|
||
|
}
|
||
|
|
||
|
const AuthenticatedRouteChildren: AuthenticatedRouteChildren = {
|
||
|
AuthenticatedAppsIndexRoute: AuthenticatedAppsIndexRoute,
|
||
|
AuthenticatedRoomIndexRoute: AuthenticatedRoomIndexRoute,
|
||
|
AuthenticatedRoomRoomNameIndexRoute: AuthenticatedRoomRoomNameIndexRoute,
|
||
|
}
|
||
|
|
||
|
const AuthenticatedRouteWithChildren = AuthenticatedRoute._addFileChildren(
|
||
|
AuthenticatedRouteChildren,
|
||
|
)
|
||
|
|
||
|
const rootRouteChildren: RootRouteChildren = {
|
||
|
IndexRoute: IndexRoute,
|
||
|
AuthRoute: AuthRouteWithChildren,
|
||
|
AuthenticatedRoute: AuthenticatedRouteWithChildren,
|
||
|
}
|
||
|
export const routeTree = rootRouteImport
|
||
|
._addFileChildren(rootRouteChildren)
|
||
|
._addFileTypes<FileRouteTypes>()
|