newsnow/src/routeTree.gen.ts
2024-09-29 20:57:24 +08:00

112 lines
2.2 KiB
TypeScript

/* prettier-ignore-start */
/* eslint-disable */
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// This file is auto-generated by TanStack Router
// Import Routes
import { Route as rootRoute } from './routes/__root'
import { Route as SettingImport } from './routes/setting'
import { Route as IndexImport } from './routes/index'
// Create/Update Routes
const SettingRoute = SettingImport.update({
path: '/setting',
getParentRoute: () => rootRoute,
} as any)
const IndexRoute = IndexImport.update({
path: '/',
getParentRoute: () => rootRoute,
} as any)
// Populate the FileRoutesByPath interface
declare module '@tanstack/react-router' {
interface FileRoutesByPath {
'/': {
id: '/'
path: '/'
fullPath: '/'
preLoaderRoute: typeof IndexImport
parentRoute: typeof rootRoute
}
'/setting': {
id: '/setting'
path: '/setting'
fullPath: '/setting'
preLoaderRoute: typeof SettingImport
parentRoute: typeof rootRoute
}
}
}
// Create and export the route tree
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/setting': typeof SettingRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
'/setting': typeof SettingRoute
}
export interface FileRoutesById {
__root__: typeof rootRoute
'/': typeof IndexRoute
'/setting': typeof SettingRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths: '/' | '/setting'
fileRoutesByTo: FileRoutesByTo
to: '/' | '/setting'
id: '__root__' | '/' | '/setting'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
SettingRoute: typeof SettingRoute
}
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
SettingRoute: SettingRoute,
}
export const routeTree = rootRoute
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()
/* prettier-ignore-end */
/* ROUTE_MANIFEST_START
{
"routes": {
"__root__": {
"filePath": "__root.tsx",
"children": [
"/",
"/setting"
]
},
"/": {
"filePath": "index.tsx"
},
"/setting": {
"filePath": "setting.tsx"
}
}
}
ROUTE_MANIFEST_END */