Files
36-character-flower/src/routeTree.gen.ts
2026-04-23 16:41:39 +08:00

105 lines
2.8 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 LangRouteRouteImport } from './routes/$lang/route'
import { Route as IndexRouteImport } from './routes/index'
import { Route as LangIndexRouteImport } from './routes/$lang/index'
const LangRouteRoute = LangRouteRouteImport.update({
id: '/$lang',
path: '/$lang',
getParentRoute: () => rootRouteImport,
} as any)
const IndexRoute = IndexRouteImport.update({
id: '/',
path: '/',
getParentRoute: () => rootRouteImport,
} as any)
const LangIndexRoute = LangIndexRouteImport.update({
id: '/',
path: '/',
getParentRoute: () => LangRouteRoute,
} as any)
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/$lang': typeof LangRouteRouteWithChildren
'/$lang/': typeof LangIndexRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
'/$lang': typeof LangIndexRoute
}
export interface FileRoutesById {
__root__: typeof rootRouteImport
'/': typeof IndexRoute
'/$lang': typeof LangRouteRouteWithChildren
'/$lang/': typeof LangIndexRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths: '/' | '/$lang' | '/$lang/'
fileRoutesByTo: FileRoutesByTo
to: '/' | '/$lang'
id: '__root__' | '/' | '/$lang' | '/$lang/'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
LangRouteRoute: typeof LangRouteRouteWithChildren
}
declare module '@tanstack/react-router' {
interface FileRoutesByPath {
'/$lang': {
id: '/$lang'
path: '/$lang'
fullPath: '/$lang'
preLoaderRoute: typeof LangRouteRouteImport
parentRoute: typeof rootRouteImport
}
'/': {
id: '/'
path: '/'
fullPath: '/'
preLoaderRoute: typeof IndexRouteImport
parentRoute: typeof rootRouteImport
}
'/$lang/': {
id: '/$lang/'
path: '/'
fullPath: '/$lang/'
preLoaderRoute: typeof LangIndexRouteImport
parentRoute: typeof LangRouteRoute
}
}
}
interface LangRouteRouteChildren {
LangIndexRoute: typeof LangIndexRoute
}
const LangRouteRouteChildren: LangRouteRouteChildren = {
LangIndexRoute: LangIndexRoute,
}
const LangRouteRouteWithChildren = LangRouteRoute._addFileChildren(
LangRouteRouteChildren,
)
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
LangRouteRoute: LangRouteRouteWithChildren,
}
export const routeTree = rootRouteImport
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()