newsnow/src/routeTree.gen.ts
2024-10-24 20:50:30 +08:00

114 lines
2.3 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 IndexImport } from './routes/index'
import { Route as CColumnImport } from './routes/c.$column'
// Create/Update Routes
const IndexRoute = IndexImport.update({
id: '/',
path: '/',
getParentRoute: () => rootRoute,
} as any)
const CColumnRoute = CColumnImport.update({
id: '/c/$column',
path: '/c/$column',
getParentRoute: () => rootRoute,
} as any)
// Populate the FileRoutesByPath interface
declare module '@tanstack/react-router' {
interface FileRoutesByPath {
'/': {
id: '/'
path: '/'
fullPath: '/'
preLoaderRoute: typeof IndexImport
parentRoute: typeof rootRoute
}
'/c/$column': {
id: '/c/$column'
path: '/c/$column'
fullPath: '/c/$column'
preLoaderRoute: typeof CColumnImport
parentRoute: typeof rootRoute
}
}
}
// Create and export the route tree
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/c/$column': typeof CColumnRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
'/c/$column': typeof CColumnRoute
}
export interface FileRoutesById {
__root__: typeof rootRoute
'/': typeof IndexRoute
'/c/$column': typeof CColumnRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths: '/' | '/c/$column'
fileRoutesByTo: FileRoutesByTo
to: '/' | '/c/$column'
id: '__root__' | '/' | '/c/$column'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
CColumnRoute: typeof CColumnRoute
}
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
CColumnRoute: CColumnRoute,
}
export const routeTree = rootRoute
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()
/* prettier-ignore-end */
/* ROUTE_MANIFEST_START
{
"routes": {
"__root__": {
"filePath": "__root.tsx",
"children": [
"/",
"/c/$column"
]
},
"/": {
"filePath": "index.tsx"
},
"/c/$column": {
"filePath": "c.$column.tsx"
}
}
}
ROUTE_MANIFEST_END */