110 lines
2.9 KiB
TypeScript
110 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 AppRouteImport } from './routes/_app'
|
||
|
|
import { Route as AppIndexRouteImport } from './routes/_app.index'
|
||
|
|
import { Route as AppSplatRouteImport } from './routes/_app.$'
|
||
|
|
|
||
|
|
const AppRoute = AppRouteImport.update({
|
||
|
|
id: '/_app',
|
||
|
|
getParentRoute: () => rootRouteImport,
|
||
|
|
} as any)
|
||
|
|
const AppIndexRoute = AppIndexRouteImport.update({
|
||
|
|
id: '/',
|
||
|
|
path: '/',
|
||
|
|
getParentRoute: () => AppRoute,
|
||
|
|
} as any)
|
||
|
|
const AppSplatRoute = AppSplatRouteImport.update({
|
||
|
|
id: '/$',
|
||
|
|
path: '/$',
|
||
|
|
getParentRoute: () => AppRoute,
|
||
|
|
} as any)
|
||
|
|
|
||
|
|
export interface FileRoutesByFullPath {
|
||
|
|
'/': typeof AppIndexRoute
|
||
|
|
'/$': typeof AppSplatRoute
|
||
|
|
}
|
||
|
|
export interface FileRoutesByTo {
|
||
|
|
'/$': typeof AppSplatRoute
|
||
|
|
'/': typeof AppIndexRoute
|
||
|
|
}
|
||
|
|
export interface FileRoutesById {
|
||
|
|
__root__: typeof rootRouteImport
|
||
|
|
'/_app': typeof AppRouteWithChildren
|
||
|
|
'/_app/$': typeof AppSplatRoute
|
||
|
|
'/_app/': typeof AppIndexRoute
|
||
|
|
}
|
||
|
|
export interface FileRouteTypes {
|
||
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
||
|
|
fullPaths: '/' | '/$'
|
||
|
|
fileRoutesByTo: FileRoutesByTo
|
||
|
|
to: '/$' | '/'
|
||
|
|
id: '__root__' | '/_app' | '/_app/$' | '/_app/'
|
||
|
|
fileRoutesById: FileRoutesById
|
||
|
|
}
|
||
|
|
export interface RootRouteChildren {
|
||
|
|
AppRoute: typeof AppRouteWithChildren
|
||
|
|
}
|
||
|
|
|
||
|
|
declare module '@tanstack/react-router' {
|
||
|
|
interface FileRoutesByPath {
|
||
|
|
'/_app': {
|
||
|
|
id: '/_app'
|
||
|
|
path: ''
|
||
|
|
fullPath: '/'
|
||
|
|
preLoaderRoute: typeof AppRouteImport
|
||
|
|
parentRoute: typeof rootRouteImport
|
||
|
|
}
|
||
|
|
'/_app/': {
|
||
|
|
id: '/_app/'
|
||
|
|
path: '/'
|
||
|
|
fullPath: '/'
|
||
|
|
preLoaderRoute: typeof AppIndexRouteImport
|
||
|
|
parentRoute: typeof AppRoute
|
||
|
|
}
|
||
|
|
'/_app/$': {
|
||
|
|
id: '/_app/$'
|
||
|
|
path: '/$'
|
||
|
|
fullPath: '/$'
|
||
|
|
preLoaderRoute: typeof AppSplatRouteImport
|
||
|
|
parentRoute: typeof AppRoute
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
interface AppRouteChildren {
|
||
|
|
AppSplatRoute: typeof AppSplatRoute
|
||
|
|
AppIndexRoute: typeof AppIndexRoute
|
||
|
|
}
|
||
|
|
|
||
|
|
const AppRouteChildren: AppRouteChildren = {
|
||
|
|
AppSplatRoute: AppSplatRoute,
|
||
|
|
AppIndexRoute: AppIndexRoute,
|
||
|
|
}
|
||
|
|
|
||
|
|
const AppRouteWithChildren = AppRoute._addFileChildren(AppRouteChildren)
|
||
|
|
|
||
|
|
const rootRouteChildren: RootRouteChildren = {
|
||
|
|
AppRoute: AppRouteWithChildren,
|
||
|
|
}
|
||
|
|
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>>
|
||
|
|
}
|
||
|
|
}
|