88// You should NOT make any changes in this file as it will be overwritten.
99// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
1010
11- // Import Routes
11+ import { Route as rootRouteImport } from './routes/__root'
12+ import { Route as LineageRouteImport } from './routes/lineage'
13+ import { Route as IndexRouteImport } from './routes/index'
1214
13- import { Route as rootRoute } from './routes/__root'
14- import { Route as LineageImport } from './routes/lineage'
15- import { Route as IndexImport } from './routes/index'
16-
17- // Create/Update Routes
18-
19- const LineageRoute = LineageImport . update ( {
15+ const LineageRoute = LineageRouteImport . update ( {
2016 id : '/lineage' ,
2117 path : '/lineage' ,
22- getParentRoute : ( ) => rootRoute ,
18+ getParentRoute : ( ) => rootRouteImport ,
2319} as any )
24-
25- const IndexRoute = IndexImport . update ( {
20+ const IndexRoute = IndexRouteImport . update ( {
2621 id : '/' ,
2722 path : '/' ,
28- getParentRoute : ( ) => rootRoute ,
23+ getParentRoute : ( ) => rootRouteImport ,
2924} as any )
3025
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- '/lineage' : {
43- id : '/lineage'
44- path : '/lineage'
45- fullPath : '/lineage'
46- preLoaderRoute : typeof LineageImport
47- parentRoute : typeof rootRoute
48- }
49- }
50- }
51-
52- // Create and export the route tree
53-
5426export interface FileRoutesByFullPath {
5527 '/' : typeof IndexRoute
5628 '/lineage' : typeof LineageRoute
5729}
58-
5930export interface FileRoutesByTo {
6031 '/' : typeof IndexRoute
6132 '/lineage' : typeof LineageRoute
6233}
63-
6434export interface FileRoutesById {
65- __root__ : typeof rootRoute
35+ __root__ : typeof rootRouteImport
6636 '/' : typeof IndexRoute
6737 '/lineage' : typeof LineageRoute
6838}
69-
7039export interface FileRouteTypes {
7140 fileRoutesByFullPath : FileRoutesByFullPath
7241 fullPaths : '/' | '/lineage'
@@ -75,37 +44,34 @@ export interface FileRouteTypes {
7544 id : '__root__' | '/' | '/lineage'
7645 fileRoutesById : FileRoutesById
7746}
78-
7947export interface RootRouteChildren {
8048 IndexRoute : typeof IndexRoute
8149 LineageRoute : typeof LineageRoute
8250}
8351
52+ declare module '@tanstack/react-router' {
53+ interface FileRoutesByPath {
54+ '/lineage' : {
55+ id : '/lineage'
56+ path : '/lineage'
57+ fullPath : '/lineage'
58+ preLoaderRoute : typeof LineageRouteImport
59+ parentRoute : typeof rootRouteImport
60+ }
61+ '/' : {
62+ id : '/'
63+ path : '/'
64+ fullPath : '/'
65+ preLoaderRoute : typeof IndexRouteImport
66+ parentRoute : typeof rootRouteImport
67+ }
68+ }
69+ }
70+
8471const rootRouteChildren : RootRouteChildren = {
8572 IndexRoute : IndexRoute ,
8673 LineageRoute : LineageRoute ,
8774}
88-
89- export const routeTree = rootRoute
75+ export const routeTree = rootRouteImport
9076 . _addFileChildren ( rootRouteChildren )
9177 . _addFileTypes < FileRouteTypes > ( )
92-
93- /* ROUTE_MANIFEST_START
94- {
95- "routes": {
96- "__root__": {
97- "filePath": "__root.tsx",
98- "children": [
99- "/",
100- "/lineage"
101- ]
102- },
103- "/": {
104- "filePath": "index.tsx"
105- },
106- "/lineage": {
107- "filePath": "lineage.tsx"
108- }
109- }
110- }
111- ROUTE_MANIFEST_END */
0 commit comments