| 1 | /* eslint-disable */ |
| 2 | |
| 3 | // @ts-nocheck |
| 4 | |
| 5 | // noinspection JSUnusedGlobalSymbols |
| 6 | |
| 7 | // This file was automatically generated by TanStack Router. |
| 8 | // You should NOT make any changes in this file as it will be overwritten. |
| 9 | // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. |
| 10 | |
| 11 | import { Route as rootRouteImport } from './routes/__root' |
| 12 | import { Route as IndexRouteImport } from './routes/index' |
| 13 | import { Route as AboutRouteImport } from './routes/about' |
| 14 | import { Route as ApiDbRouteImport } from './routes/api.db' |
| 15 | import { Route as ApiWasmRouteImport } from './routes/api.wasm' |
| 16 | |
| 17 | const IndexRoute = IndexRouteImport.update({ |
| 18 | id: '/', |
| 19 | path: '/', |
| 20 | getParentRoute: () => rootRouteImport, |
| 21 | } as any) |
| 22 | const AboutRoute = AboutRouteImport.update({ |
| 23 | id: '/about', |
| 24 | path: '/about', |
| 25 | getParentRoute: () => rootRouteImport, |
| 26 | } as any) |
| 27 | const ApiDbRoute = ApiDbRouteImport.update({ |
| 28 | id: '/api/db', |
| 29 | path: '/api/db', |
| 30 | getParentRoute: () => rootRouteImport, |
| 31 | } as any) |
| 32 | const ApiWasmRoute = ApiWasmRouteImport.update({ |
| 33 | id: '/api/wasm', |
| 34 | path: '/api/wasm', |
| 35 | getParentRoute: () => rootRouteImport, |
| 36 | } as any) |
| 37 | |
| 38 | export interface FileRoutesByFullPath { |
| 39 | '/': typeof IndexRoute |
| 40 | '/about': typeof AboutRoute |
| 41 | '/api/db': typeof ApiDbRoute |
| 42 | '/api/wasm': typeof ApiWasmRoute |
| 43 | } |
| 44 | export interface FileRoutesByTo { |
| 45 | '/': typeof IndexRoute |
| 46 | '/about': typeof AboutRoute |
| 47 | '/api/db': typeof ApiDbRoute |
| 48 | '/api/wasm': typeof ApiWasmRoute |
| 49 | } |
| 50 | export interface FileRoutesById { |
| 51 | __root__: typeof rootRouteImport |
| 52 | '/': typeof IndexRoute |
| 53 | '/about': typeof AboutRoute |
| 54 | '/api/db': typeof ApiDbRoute |
| 55 | '/api/wasm': typeof ApiWasmRoute |
| 56 | } |
| 57 | export interface FileRouteTypes { |
| 58 | fileRoutesByFullPath: FileRoutesByFullPath |
| 59 | fullPaths: '/' | '/about' | '/api/db' | '/api/wasm' |
| 60 | fileRoutesByTo: FileRoutesByTo |
| 61 | to: '/' | '/about' | '/api/db' | '/api/wasm' |
| 62 | id: '__root__' | '/' | '/about' | '/api/db' | '/api/wasm' |
| 63 | fileRoutesById: FileRoutesById |
| 64 | } |
| 65 | export interface RootRouteChildren { |
| 66 | IndexRoute: typeof IndexRoute |
| 67 | AboutRoute: typeof AboutRoute |
| 68 | ApiDbRoute: typeof ApiDbRoute |
| 69 | ApiWasmRoute: typeof ApiWasmRoute |
| 70 | } |
| 71 | |
| 72 | declare module '@tanstack/react-router' { |
| 73 | interface FileRoutesByPath { |
| 74 | '/': { |
| 75 | id: '/' |
| 76 | path: '/' |
| 77 | fullPath: '/' |
| 78 | preLoaderRoute: typeof IndexRouteImport |
| 79 | parentRoute: typeof rootRouteImport |
| 80 | } |
| 81 | '/about': { |
| 82 | id: '/about' |
| 83 | path: '/about' |
| 84 | fullPath: '/about' |
| 85 | preLoaderRoute: typeof AboutRouteImport |
| 86 | parentRoute: typeof rootRouteImport |
| 87 | } |
| 88 | '/api/db': { |
| 89 | id: '/api/db' |
| 90 | path: '/api/db' |
| 91 | fullPath: '/api/db' |
| 92 | preLoaderRoute: typeof ApiDbRouteImport |
| 93 | parentRoute: typeof rootRouteImport |
| 94 | } |
| 95 | '/api/wasm': { |
| 96 | id: '/api/wasm' |
| 97 | path: '/api/wasm' |
| 98 | fullPath: '/api/wasm' |
| 99 | preLoaderRoute: typeof ApiWasmRouteImport |
| 100 | parentRoute: typeof rootRouteImport |
| 101 | } |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | const rootRouteChildren: RootRouteChildren = { |
| 106 | IndexRoute: IndexRoute, |
| 107 | AboutRoute: AboutRoute, |
| 108 | ApiDbRoute: ApiDbRoute, |
| 109 | ApiWasmRoute: ApiWasmRoute, |
| 110 | } |
| 111 | export const routeTree = rootRouteImport |
| 112 | ._addFileChildren(rootRouteChildren) |
| 113 | ._addFileTypes<FileRouteTypes>() |
| 114 | |
| 115 | import type { getRouter } from './router.tsx' |
| 116 | import type { createStart } from '@tanstack/react-start' |
| 117 | declare module '@tanstack/react-start' { |
| 118 | interface Register { |
| 119 | ssr: true |
| 120 | router: Awaited<ReturnType<typeof getRouter>> |
| 121 | } |
| 122 | } |