@@ -14,64 +14,82 @@ import { Route as NestedIndexRouteImport } from './routes/nested/index'
1414import { Route as NestedChildRouteImport } from './routes/nested/child'
1515
1616const IndexRoute = IndexRouteImport . update ( {
17- id : '/' , path : '/' , getParentRoute : ( ) => rootRouteImport
18- } as any )
17+ id : '/' ,
18+ path : '/' ,
19+ getParentRoute : ( ) => rootRouteImport ,
20+ } as any )
1921const NestedIndexRoute = NestedIndexRouteImport . update ( {
20- id : '/nested/' , path : '/nested/' , getParentRoute : ( ) => rootRouteImport
21- } as any )
22+ id : '/nested/' ,
23+ path : '/nested/' ,
24+ getParentRoute : ( ) => rootRouteImport ,
25+ } as any )
2226const NestedChildRoute = NestedChildRouteImport . update ( {
23- id : '/nested/child' , path : '/nested/child' , getParentRoute : ( ) => rootRouteImport
24- } as any )
27+ id : '/nested/child' ,
28+ path : '/nested/child' ,
29+ getParentRoute : ( ) => rootRouteImport ,
30+ } as any )
2531
2632export interface FileRoutesByFullPath {
27- '/' : typeof IndexRoute , '/nested/child' : typeof NestedChildRoute , '/nested' : typeof NestedIndexRoute
33+ '/' : typeof IndexRoute
34+ '/nested/child' : typeof NestedChildRoute
35+ '/nested' : typeof NestedIndexRoute
2836}
2937export interface FileRoutesByTo {
30- '/' : typeof IndexRoute , '/nested/child' : typeof NestedChildRoute , '/nested' : typeof NestedIndexRoute
38+ '/' : typeof IndexRoute
39+ '/nested/child' : typeof NestedChildRoute
40+ '/nested' : typeof NestedIndexRoute
3141}
3242export interface FileRoutesById {
33- '__root__' : typeof rootRouteImport ,
34- '/' : typeof IndexRoute , '/nested/child' : typeof NestedChildRoute , '/nested/' : typeof NestedIndexRoute
43+ __root__ : typeof rootRouteImport
44+ '/' : typeof IndexRoute
45+ '/nested/child' : typeof NestedChildRoute
46+ '/nested/' : typeof NestedIndexRoute
3547}
3648export interface FileRouteTypes {
37- fileRoutesByFullPath : FileRoutesByFullPath
38- fullPaths : '/' | '/nested/child' | '/nested'
39- fileRoutesByTo : FileRoutesByTo
40- to : '/' | '/nested/child' | '/nested'
41- id : '__root__' | '/' | '/nested/child' | '/nested/'
42- fileRoutesById : FileRoutesById
49+ fileRoutesByFullPath : FileRoutesByFullPath
50+ fullPaths : '/' | '/nested/child' | '/nested'
51+ fileRoutesByTo : FileRoutesByTo
52+ to : '/' | '/nested/child' | '/nested'
53+ id : '__root__' | '/' | '/nested/child' | '/nested/'
54+ fileRoutesById : FileRoutesById
4355}
4456export interface RootRouteChildren {
45- IndexRoute : typeof IndexRoute , NestedChildRoute : typeof NestedChildRoute , NestedIndexRoute : typeof NestedIndexRoute
57+ IndexRoute : typeof IndexRoute
58+ NestedChildRoute : typeof NestedChildRoute
59+ NestedIndexRoute : typeof NestedIndexRoute
4660}
4761
4862declare module '@tanstack/react-router' {
4963 interface FileRoutesByPath {
5064 '/' : {
51- id : '/'
52- path : '/'
53- fullPath : '/'
54- preLoaderRoute : typeof IndexRouteImport
55- parentRoute : typeof rootRouteImport
56- }
57- '/nested/' : {
58- id : '/nested/'
59- path : '/nested'
60- fullPath : '/nested'
61- preLoaderRoute : typeof NestedIndexRouteImport
62- parentRoute : typeof rootRouteImport
63- }
64- '/nested/child' : {
65- id : '/nested/child'
66- path : '/nested/child'
67- fullPath : '/nested/child'
68- preLoaderRoute : typeof NestedChildRouteImport
69- parentRoute : typeof rootRouteImport
70- }
65+ id : '/'
66+ path : '/'
67+ fullPath : '/'
68+ preLoaderRoute : typeof IndexRouteImport
69+ parentRoute : typeof rootRouteImport
70+ }
71+ '/nested/' : {
72+ id : '/nested/'
73+ path : '/nested'
74+ fullPath : '/nested'
75+ preLoaderRoute : typeof NestedIndexRouteImport
76+ parentRoute : typeof rootRouteImport
77+ }
78+ '/nested/child' : {
79+ id : '/nested/child'
80+ path : '/nested/child'
81+ fullPath : '/nested/child'
82+ preLoaderRoute : typeof NestedChildRouteImport
83+ parentRoute : typeof rootRouteImport
84+ }
7185 }
7286}
7387
7488const rootRouteChildren : RootRouteChildren = {
75- IndexRoute : IndexRoute , NestedChildRoute : NestedChildRoute , NestedIndexRoute : NestedIndexRoute
89+ IndexRoute : IndexRoute ,
90+ NestedChildRoute : NestedChildRoute ,
91+ NestedIndexRoute : NestedIndexRoute ,
7692}
77- export const routeTree = rootRouteImport . _addFileChildren ( rootRouteChildren ) . _addFileTypes < FileRouteTypes > ( )
93+ export const routeTree = rootRouteImport
94+ . _addFileChildren ( rootRouteChildren )
95+ . _addFileTypes < FileRouteTypes > ( )
0 commit comments