|
| 1 | +/* prettier-ignore-start */ |
| 2 | + |
| 3 | +/* eslint-disable */ |
| 4 | + |
| 5 | +// @ts-nocheck |
| 6 | + |
| 7 | +// noinspection JSUnusedGlobalSymbols |
| 8 | + |
| 9 | +// This file is auto-generated by TanStack Router |
| 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 | + path: "/about", |
| 21 | + getParentRoute: () => rootRoute, |
| 22 | +} as any); |
| 23 | + |
| 24 | +const IndexRoute = IndexImport.update({ |
| 25 | + path: "/", |
| 26 | + getParentRoute: () => rootRoute, |
| 27 | +} as any); |
| 28 | + |
| 29 | +// Populate the FileRoutesByPath interface |
| 30 | + |
| 31 | +declare module "@tanstack/react-router" { |
| 32 | + interface FileRoutesByPath { |
| 33 | + "/": { |
| 34 | + id: "/"; |
| 35 | + path: "/"; |
| 36 | + fullPath: "/"; |
| 37 | + preLoaderRoute: typeof IndexImport; |
| 38 | + parentRoute: typeof rootRoute; |
| 39 | + }; |
| 40 | + "/about": { |
| 41 | + id: "/about"; |
| 42 | + path: "/about"; |
| 43 | + fullPath: "/about"; |
| 44 | + preLoaderRoute: typeof AboutImport; |
| 45 | + parentRoute: typeof rootRoute; |
| 46 | + }; |
| 47 | + } |
| 48 | +} |
| 49 | + |
| 50 | +// Create and export the route tree |
| 51 | + |
| 52 | +export interface FileRoutesByFullPath { |
| 53 | + "/": typeof IndexRoute; |
| 54 | + "/about": typeof AboutRoute; |
| 55 | +} |
| 56 | + |
| 57 | +export interface FileRoutesByTo { |
| 58 | + "/": typeof IndexRoute; |
| 59 | + "/about": typeof AboutRoute; |
| 60 | +} |
| 61 | + |
| 62 | +export interface FileRoutesById { |
| 63 | + __root__: typeof rootRoute; |
| 64 | + "/": typeof IndexRoute; |
| 65 | + "/about": typeof AboutRoute; |
| 66 | +} |
| 67 | + |
| 68 | +export interface FileRouteTypes { |
| 69 | + fileRoutesByFullPath: FileRoutesByFullPath; |
| 70 | + fullPaths: "/" | "/about"; |
| 71 | + fileRoutesByTo: FileRoutesByTo; |
| 72 | + to: "/" | "/about"; |
| 73 | + id: "__root__" | "/" | "/about"; |
| 74 | + fileRoutesById: FileRoutesById; |
| 75 | +} |
| 76 | + |
| 77 | +export interface RootRouteChildren { |
| 78 | + IndexRoute: typeof IndexRoute; |
| 79 | + AboutRoute: typeof AboutRoute; |
| 80 | +} |
| 81 | + |
| 82 | +const rootRouteChildren: RootRouteChildren = { |
| 83 | + IndexRoute: IndexRoute, |
| 84 | + AboutRoute: AboutRoute, |
| 85 | +}; |
| 86 | + |
| 87 | +export const routeTree = rootRoute |
| 88 | + ._addFileChildren(rootRouteChildren) |
| 89 | + ._addFileTypes<FileRouteTypes>(); |
| 90 | + |
| 91 | +/* prettier-ignore-end */ |
| 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