|
| 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 Routes |
| 12 | + |
| 13 | +import { Route as rootRoute } from './routes/__root' |
| 14 | +import { Route as AboutImport } from './routes/about' |
| 15 | +import { Route as IndexImport } from './routes/index' |
| 16 | + |
| 17 | +// Create/Update Routes |
| 18 | + |
| 19 | +const AboutRoute = AboutImport.update({ |
| 20 | + id: '/about', |
| 21 | + path: '/about', |
| 22 | + getParentRoute: () => rootRoute, |
| 23 | +} as any) |
| 24 | + |
| 25 | +const IndexRoute = IndexImport.update({ |
| 26 | + id: '/', |
| 27 | + path: '/', |
| 28 | + getParentRoute: () => rootRoute, |
| 29 | +} as any) |
| 30 | + |
| 31 | +// Populate the FileRoutesByPath interface |
| 32 | + |
| 33 | +declare module '@tanstack/react-router' { |
| 34 | + interface FileRoutesByPath { |
| 35 | + '/': { |
| 36 | + id: '/' |
| 37 | + path: '/' |
| 38 | + fullPath: '/' |
| 39 | + preLoaderRoute: typeof IndexImport |
| 40 | + parentRoute: typeof rootRoute |
| 41 | + } |
| 42 | + '/about': { |
| 43 | + id: '/about' |
| 44 | + path: '/about' |
| 45 | + fullPath: '/about' |
| 46 | + preLoaderRoute: typeof AboutImport |
| 47 | + parentRoute: typeof rootRoute |
| 48 | + } |
| 49 | + } |
| 50 | +} |
| 51 | + |
| 52 | +// Create and export the route tree |
| 53 | + |
| 54 | +export interface FileRoutesByFullPath { |
| 55 | + '/': typeof IndexRoute |
| 56 | + '/about': typeof AboutRoute |
| 57 | +} |
| 58 | + |
| 59 | +export interface FileRoutesByTo { |
| 60 | + '/': typeof IndexRoute |
| 61 | + '/about': typeof AboutRoute |
| 62 | +} |
| 63 | + |
| 64 | +export interface FileRoutesById { |
| 65 | + __root__: typeof rootRoute |
| 66 | + '/': typeof IndexRoute |
| 67 | + '/about': typeof AboutRoute |
| 68 | +} |
| 69 | + |
| 70 | +export interface FileRouteTypes { |
| 71 | + fileRoutesByFullPath: FileRoutesByFullPath |
| 72 | + fullPaths: '/' | '/about' |
| 73 | + fileRoutesByTo: FileRoutesByTo |
| 74 | + to: '/' | '/about' |
| 75 | + id: '__root__' | '/' | '/about' |
| 76 | + fileRoutesById: FileRoutesById |
| 77 | +} |
| 78 | + |
| 79 | +export interface RootRouteChildren { |
| 80 | + IndexRoute: typeof IndexRoute |
| 81 | + AboutRoute: typeof AboutRoute |
| 82 | +} |
| 83 | + |
| 84 | +const rootRouteChildren: RootRouteChildren = { |
| 85 | + IndexRoute: IndexRoute, |
| 86 | + AboutRoute: AboutRoute, |
| 87 | +} |
| 88 | + |
| 89 | +export const routeTree = rootRoute |
| 90 | + ._addFileChildren(rootRouteChildren) |
| 91 | + ._addFileTypes<FileRouteTypes>() |
| 92 | + |
| 93 | +/* ROUTE_MANIFEST_START |
| 94 | +{ |
| 95 | + "routes": { |
| 96 | + "__root__": { |
| 97 | + "filePath": "__root.tsx", |
| 98 | + "children": [ |
| 99 | + "/", |
| 100 | + "/about" |
| 101 | + ] |
| 102 | + }, |
| 103 | + "/": { |
| 104 | + "filePath": "index.tsx" |
| 105 | + }, |
| 106 | + "/about": { |
| 107 | + "filePath": "about.tsx" |
| 108 | + } |
| 109 | + } |
| 110 | +} |
| 111 | +ROUTE_MANIFEST_END */ |
0 commit comments