105 lines
2.9 KiB
TypeScript
105 lines
2.9 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 IndexRouteImport } from './routes/index'
|
|
import { Route as ApiSplatRouteImport } from './routes/api/$'
|
|
import { Route as ApiRpcSplatRouteImport } from './routes/api/rpc.$'
|
|
|
|
const IndexRoute = IndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ApiSplatRoute = ApiSplatRouteImport.update({
|
|
id: '/api/$',
|
|
path: '/api/$',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ApiRpcSplatRoute = ApiRpcSplatRouteImport.update({
|
|
id: '/api/rpc/$',
|
|
path: '/api/rpc/$',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/api/$': typeof ApiSplatRoute
|
|
'/api/rpc/$': typeof ApiRpcSplatRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/api/$': typeof ApiSplatRoute
|
|
'/api/rpc/$': typeof ApiRpcSplatRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/api/$': typeof ApiSplatRoute
|
|
'/api/rpc/$': typeof ApiRpcSplatRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths: '/' | '/api/$' | '/api/rpc/$'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to: '/' | '/api/$' | '/api/rpc/$'
|
|
id: '__root__' | '/' | '/api/$' | '/api/rpc/$'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
ApiSplatRoute: typeof ApiSplatRoute
|
|
ApiRpcSplatRoute: typeof ApiRpcSplatRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/api/$': {
|
|
id: '/api/$'
|
|
path: '/api/$'
|
|
fullPath: '/api/$'
|
|
preLoaderRoute: typeof ApiSplatRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/api/rpc/$': {
|
|
id: '/api/rpc/$'
|
|
path: '/api/rpc/$'
|
|
fullPath: '/api/rpc/$'
|
|
preLoaderRoute: typeof ApiRpcSplatRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
}
|
|
}
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
ApiSplatRoute: ApiSplatRoute,
|
|
ApiRpcSplatRoute: ApiRpcSplatRoute,
|
|
}
|
|
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>>
|
|
}
|
|
}
|