newsnow/src/routeTree.gen.ts

114 lines
2.3 KiB
TypeScript
Raw Normal View History

2024-09-26 11:30:21 +08:00
/* 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 IndexImport } from './routes/index'
2024-10-15 12:05:03 +08:00
import { Route as CColumnImport } from './routes/c.$column'
2024-09-26 11:30:21 +08:00
// Create/Update Routes
2024-10-05 21:34:17 +08:00
const IndexRoute = IndexImport.update({
2024-10-24 20:50:30 +08:00
id: '/',
2024-10-05 21:34:17 +08:00
path: '/',
2024-09-26 11:30:21 +08:00
getParentRoute: () => rootRoute,
} as any)
2024-10-15 12:05:03 +08:00
const CColumnRoute = CColumnImport.update({
2024-10-24 20:50:30 +08:00
id: '/c/$column',
2024-10-15 12:05:03 +08:00
path: '/c/$column',
2024-09-26 11:30:21 +08:00
getParentRoute: () => rootRoute,
} as any)
// Populate the FileRoutesByPath interface
declare module '@tanstack/react-router' {
interface FileRoutesByPath {
'/': {
id: '/'
path: '/'
fullPath: '/'
preLoaderRoute: typeof IndexImport
parentRoute: typeof rootRoute
}
2024-10-15 12:05:03 +08:00
'/c/$column': {
id: '/c/$column'
path: '/c/$column'
fullPath: '/c/$column'
preLoaderRoute: typeof CColumnImport
2024-09-26 11:30:21 +08:00
parentRoute: typeof rootRoute
}
}
}
// Create and export the route tree
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
2024-10-15 12:05:03 +08:00
'/c/$column': typeof CColumnRoute
2024-09-26 11:30:21 +08:00
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
2024-10-15 12:05:03 +08:00
'/c/$column': typeof CColumnRoute
2024-09-26 11:30:21 +08:00
}
export interface FileRoutesById {
__root__: typeof rootRoute
'/': typeof IndexRoute
2024-10-15 12:05:03 +08:00
'/c/$column': typeof CColumnRoute
2024-09-26 11:30:21 +08:00
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
2024-10-15 12:05:03 +08:00
fullPaths: '/' | '/c/$column'
2024-09-26 11:30:21 +08:00
fileRoutesByTo: FileRoutesByTo
2024-10-15 12:05:03 +08:00
to: '/' | '/c/$column'
id: '__root__' | '/' | '/c/$column'
2024-09-26 11:30:21 +08:00
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
2024-10-15 12:05:03 +08:00
CColumnRoute: typeof CColumnRoute
2024-09-26 11:30:21 +08:00
}
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
2024-10-15 12:05:03 +08:00
CColumnRoute: CColumnRoute,
2024-09-26 11:30:21 +08:00
}
export const routeTree = rootRoute
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()
/* prettier-ignore-end */
/* ROUTE_MANIFEST_START
{
"routes": {
"__root__": {
"filePath": "__root.tsx",
"children": [
"/",
2024-10-15 12:05:03 +08:00
"/c/$column"
2024-09-26 11:30:21 +08:00
]
},
"/": {
"filePath": "index.tsx"
},
2024-10-15 12:05:03 +08:00
"/c/$column": {
"filePath": "c.$column.tsx"
2024-09-26 11:30:21 +08:00
}
}
}
ROUTE_MANIFEST_END */