|
| 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 ThemeImport } from './routes/theme'; |
| 15 | +import { Route as BibliographyImport } from './routes/bibliography'; |
| 16 | +import { Route as IndexImport } from './routes/index'; |
| 17 | +import { Route as EditContentIdImport } from './routes/edit/$contentId'; |
| 18 | + |
| 19 | +// Create/Update Routes |
| 20 | + |
| 21 | +const ThemeRoute = ThemeImport.update({ |
| 22 | + id: '/theme', |
| 23 | + path: '/theme', |
| 24 | + getParentRoute: () => rootRoute, |
| 25 | +} as any); |
| 26 | + |
| 27 | +const BibliographyRoute = BibliographyImport.update({ |
| 28 | + id: '/bibliography', |
| 29 | + path: '/bibliography', |
| 30 | + getParentRoute: () => rootRoute, |
| 31 | +} as any); |
| 32 | + |
| 33 | +const IndexRoute = IndexImport.update({ |
| 34 | + id: '/', |
| 35 | + path: '/', |
| 36 | + getParentRoute: () => rootRoute, |
| 37 | +} as any); |
| 38 | + |
| 39 | +const EditContentIdRoute = EditContentIdImport.update({ |
| 40 | + id: '/edit/$contentId', |
| 41 | + path: '/edit/$contentId', |
| 42 | + getParentRoute: () => rootRoute, |
| 43 | +} as any); |
| 44 | + |
| 45 | +// Populate the FileRoutesByPath interface |
| 46 | + |
| 47 | +declare module '@tanstack/react-router' { |
| 48 | + interface FileRoutesByPath { |
| 49 | + '/': { |
| 50 | + id: '/'; |
| 51 | + path: '/'; |
| 52 | + fullPath: '/'; |
| 53 | + preLoaderRoute: typeof IndexImport; |
| 54 | + parentRoute: typeof rootRoute; |
| 55 | + }; |
| 56 | + '/bibliography': { |
| 57 | + id: '/bibliography'; |
| 58 | + path: '/bibliography'; |
| 59 | + fullPath: '/bibliography'; |
| 60 | + preLoaderRoute: typeof BibliographyImport; |
| 61 | + parentRoute: typeof rootRoute; |
| 62 | + }; |
| 63 | + '/theme': { |
| 64 | + id: '/theme'; |
| 65 | + path: '/theme'; |
| 66 | + fullPath: '/theme'; |
| 67 | + preLoaderRoute: typeof ThemeImport; |
| 68 | + parentRoute: typeof rootRoute; |
| 69 | + }; |
| 70 | + '/edit/$contentId': { |
| 71 | + id: '/edit/$contentId'; |
| 72 | + path: '/edit/$contentId'; |
| 73 | + fullPath: '/edit/$contentId'; |
| 74 | + preLoaderRoute: typeof EditContentIdImport; |
| 75 | + parentRoute: typeof rootRoute; |
| 76 | + }; |
| 77 | + } |
| 78 | +} |
| 79 | + |
| 80 | +// Create and export the route tree |
| 81 | + |
| 82 | +export interface FileRoutesByFullPath { |
| 83 | + '/': typeof IndexRoute; |
| 84 | + '/bibliography': typeof BibliographyRoute; |
| 85 | + '/theme': typeof ThemeRoute; |
| 86 | + '/edit/$contentId': typeof EditContentIdRoute; |
| 87 | +} |
| 88 | + |
| 89 | +export interface FileRoutesByTo { |
| 90 | + '/': typeof IndexRoute; |
| 91 | + '/bibliography': typeof BibliographyRoute; |
| 92 | + '/theme': typeof ThemeRoute; |
| 93 | + '/edit/$contentId': typeof EditContentIdRoute; |
| 94 | +} |
| 95 | + |
| 96 | +export interface FileRoutesById { |
| 97 | + __root__: typeof rootRoute; |
| 98 | + '/': typeof IndexRoute; |
| 99 | + '/bibliography': typeof BibliographyRoute; |
| 100 | + '/theme': typeof ThemeRoute; |
| 101 | + '/edit/$contentId': typeof EditContentIdRoute; |
| 102 | +} |
| 103 | + |
| 104 | +export interface FileRouteTypes { |
| 105 | + fileRoutesByFullPath: FileRoutesByFullPath; |
| 106 | + fullPaths: '/' | '/bibliography' | '/theme' | '/edit/$contentId'; |
| 107 | + fileRoutesByTo: FileRoutesByTo; |
| 108 | + to: '/' | '/bibliography' | '/theme' | '/edit/$contentId'; |
| 109 | + id: '__root__' | '/' | '/bibliography' | '/theme' | '/edit/$contentId'; |
| 110 | + fileRoutesById: FileRoutesById; |
| 111 | +} |
| 112 | + |
| 113 | +export interface RootRouteChildren { |
| 114 | + IndexRoute: typeof IndexRoute; |
| 115 | + BibliographyRoute: typeof BibliographyRoute; |
| 116 | + ThemeRoute: typeof ThemeRoute; |
| 117 | + EditContentIdRoute: typeof EditContentIdRoute; |
| 118 | +} |
| 119 | + |
| 120 | +const rootRouteChildren: RootRouteChildren = { |
| 121 | + IndexRoute: IndexRoute, |
| 122 | + BibliographyRoute: BibliographyRoute, |
| 123 | + ThemeRoute: ThemeRoute, |
| 124 | + EditContentIdRoute: EditContentIdRoute, |
| 125 | +}; |
| 126 | + |
| 127 | +export const routeTree = rootRoute |
| 128 | + ._addFileChildren(rootRouteChildren) |
| 129 | + ._addFileTypes<FileRouteTypes>(); |
| 130 | + |
| 131 | +/* ROUTE_MANIFEST_START |
| 132 | +{ |
| 133 | + "routes": { |
| 134 | + "__root__": { |
| 135 | + "filePath": "__root.tsx", |
| 136 | + "children": [ |
| 137 | + "/", |
| 138 | + "/bibliography", |
| 139 | + "/theme", |
| 140 | + "/edit/$contentId" |
| 141 | + ] |
| 142 | + }, |
| 143 | + "/": { |
| 144 | + "filePath": "index.tsx" |
| 145 | + }, |
| 146 | + "/bibliography": { |
| 147 | + "filePath": "bibliography.tsx" |
| 148 | + }, |
| 149 | + "/theme": { |
| 150 | + "filePath": "theme.tsx" |
| 151 | + }, |
| 152 | + "/edit/$contentId": { |
| 153 | + "filePath": "edit/$contentId.tsx" |
| 154 | + } |
| 155 | + } |
| 156 | +} |
| 157 | +ROUTE_MANIFEST_END */ |
0 commit comments