139 lines
3.3 KiB
TypeScript
139 lines
3.3 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 { createFileRoute } from '@tanstack/react-router'
|
|
|
|
// Import Routes
|
|
|
|
import { Route as rootRoute } from './pages/__root'
|
|
|
|
// Create Virtual Routes
|
|
|
|
const BookLazyImport = createFileRoute('/book')()
|
|
const AboutLazyImport = createFileRoute('/about')()
|
|
const IndexLazyImport = createFileRoute('/')()
|
|
|
|
// Create/Update Routes
|
|
|
|
const BookLazyRoute = BookLazyImport.update({
|
|
id: '/book',
|
|
path: '/book',
|
|
getParentRoute: () => rootRoute,
|
|
} as any).lazy(() => import('./pages/book.lazy').then((d) => d.Route))
|
|
|
|
const AboutLazyRoute = AboutLazyImport.update({
|
|
id: '/about',
|
|
path: '/about',
|
|
getParentRoute: () => rootRoute,
|
|
} as any).lazy(() => import('./pages/about.lazy').then((d) => d.Route))
|
|
|
|
const IndexLazyRoute = IndexLazyImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRoute,
|
|
} as any).lazy(() => import('./pages/index.lazy').then((d) => d.Route))
|
|
|
|
// Populate the FileRoutesByPath interface
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexLazyImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
'/about': {
|
|
id: '/about'
|
|
path: '/about'
|
|
fullPath: '/about'
|
|
preLoaderRoute: typeof AboutLazyImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
'/book': {
|
|
id: '/book'
|
|
path: '/book'
|
|
fullPath: '/book'
|
|
preLoaderRoute: typeof BookLazyImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
}
|
|
}
|
|
|
|
// Create and export the route tree
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexLazyRoute
|
|
'/about': typeof AboutLazyRoute
|
|
'/book': typeof BookLazyRoute
|
|
}
|
|
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexLazyRoute
|
|
'/about': typeof AboutLazyRoute
|
|
'/book': typeof BookLazyRoute
|
|
}
|
|
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRoute
|
|
'/': typeof IndexLazyRoute
|
|
'/about': typeof AboutLazyRoute
|
|
'/book': typeof BookLazyRoute
|
|
}
|
|
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths: '/' | '/about' | '/book'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to: '/' | '/about' | '/book'
|
|
id: '__root__' | '/' | '/about' | '/book'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
|
|
export interface RootRouteChildren {
|
|
IndexLazyRoute: typeof IndexLazyRoute
|
|
AboutLazyRoute: typeof AboutLazyRoute
|
|
BookLazyRoute: typeof BookLazyRoute
|
|
}
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexLazyRoute: IndexLazyRoute,
|
|
AboutLazyRoute: AboutLazyRoute,
|
|
BookLazyRoute: BookLazyRoute,
|
|
}
|
|
|
|
export const routeTree = rootRoute
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|
|
|
|
/* ROUTE_MANIFEST_START
|
|
{
|
|
"routes": {
|
|
"__root__": {
|
|
"filePath": "__root.tsx",
|
|
"children": [
|
|
"/",
|
|
"/about",
|
|
"/book"
|
|
]
|
|
},
|
|
"/": {
|
|
"filePath": "index.lazy.tsx"
|
|
},
|
|
"/about": {
|
|
"filePath": "about.lazy.tsx"
|
|
},
|
|
"/book": {
|
|
"filePath": "book.lazy.tsx"
|
|
}
|
|
}
|
|
}
|
|
ROUTE_MANIFEST_END */
|