99// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
1010
1111import { Route as rootRouteImport } from './routes/__root'
12+ import { Route as SsrRouteImport } from './routes/ssr'
1213import { Route as ProtectedRouteImport } from './routes/protected'
14+ import { Route as ClientRouteImport } from './routes/client'
1315import { Route as IndexRouteImport } from './routes/index'
1416import { Route as HandlerSplatRouteImport } from './routes/handler/$'
1517
18+ const SsrRoute = SsrRouteImport . update ( {
19+ id : '/ssr' ,
20+ path : '/ssr' ,
21+ getParentRoute : ( ) => rootRouteImport ,
22+ } as any )
1623const ProtectedRoute = ProtectedRouteImport . update ( {
1724 id : '/protected' ,
1825 path : '/protected' ,
1926 getParentRoute : ( ) => rootRouteImport ,
2027} as any )
28+ const ClientRoute = ClientRouteImport . update ( {
29+ id : '/client' ,
30+ path : '/client' ,
31+ getParentRoute : ( ) => rootRouteImport ,
32+ } as any )
2133const IndexRoute = IndexRouteImport . update ( {
2234 id : '/' ,
2335 path : '/' ,
@@ -31,43 +43,65 @@ const HandlerSplatRoute = HandlerSplatRouteImport.update({
3143
3244export interface FileRoutesByFullPath {
3345 '/' : typeof IndexRoute
46+ '/client' : typeof ClientRoute
3447 '/protected' : typeof ProtectedRoute
48+ '/ssr' : typeof SsrRoute
3549 '/handler/$' : typeof HandlerSplatRoute
3650}
3751export interface FileRoutesByTo {
3852 '/' : typeof IndexRoute
53+ '/client' : typeof ClientRoute
3954 '/protected' : typeof ProtectedRoute
55+ '/ssr' : typeof SsrRoute
4056 '/handler/$' : typeof HandlerSplatRoute
4157}
4258export interface FileRoutesById {
4359 __root__ : typeof rootRouteImport
4460 '/' : typeof IndexRoute
61+ '/client' : typeof ClientRoute
4562 '/protected' : typeof ProtectedRoute
63+ '/ssr' : typeof SsrRoute
4664 '/handler/$' : typeof HandlerSplatRoute
4765}
4866export interface FileRouteTypes {
4967 fileRoutesByFullPath : FileRoutesByFullPath
50- fullPaths : '/' | '/protected' | '/handler/$'
68+ fullPaths : '/' | '/client' | '/ protected' | '/ssr ' | '/handler/$'
5169 fileRoutesByTo : FileRoutesByTo
52- to : '/' | '/protected' | '/handler/$'
53- id : '__root__' | '/' | '/protected' | '/handler/$'
70+ to : '/' | '/client' | '/ protected' | '/ssr ' | '/handler/$'
71+ id : '__root__' | '/' | '/client' | '/ protected' | '/ssr ' | '/handler/$'
5472 fileRoutesById : FileRoutesById
5573}
5674export interface RootRouteChildren {
5775 IndexRoute : typeof IndexRoute
76+ ClientRoute : typeof ClientRoute
5877 ProtectedRoute : typeof ProtectedRoute
78+ SsrRoute : typeof SsrRoute
5979 HandlerSplatRoute : typeof HandlerSplatRoute
6080}
6181
6282declare module '@tanstack/react-router' {
6383 interface FileRoutesByPath {
84+ '/ssr' : {
85+ id : '/ssr'
86+ path : '/ssr'
87+ fullPath : '/ssr'
88+ preLoaderRoute : typeof SsrRouteImport
89+ parentRoute : typeof rootRouteImport
90+ }
6491 '/protected' : {
6592 id : '/protected'
6693 path : '/protected'
6794 fullPath : '/protected'
6895 preLoaderRoute : typeof ProtectedRouteImport
6996 parentRoute : typeof rootRouteImport
7097 }
98+ '/client' : {
99+ id : '/client'
100+ path : '/client'
101+ fullPath : '/client'
102+ preLoaderRoute : typeof ClientRouteImport
103+ parentRoute : typeof rootRouteImport
104+ }
71105 '/' : {
72106 id : '/'
73107 path : '/'
@@ -87,7 +121,9 @@ declare module '@tanstack/react-router' {
87121
88122const rootRouteChildren : RootRouteChildren = {
89123 IndexRoute : IndexRoute ,
124+ ClientRoute : ClientRoute ,
90125 ProtectedRoute : ProtectedRoute ,
126+ SsrRoute : SsrRoute ,
91127 HandlerSplatRoute : HandlerSplatRoute ,
92128}
93129export const routeTree = rootRouteImport
0 commit comments