@@ -16,6 +16,7 @@ import { Route as IndexRouteImport } from './routes/index'
1616import { Route as ProtectedTestApiRouteImport } from './routes/_protected/test-api'
1717import { Route as ProtectedSettingsRouteImport } from './routes/_protected/settings'
1818import { Route as ProtectedRoomsRouteImport } from './routes/_protected/rooms'
19+ import { Route as ProtectedProfileRouteImport } from './routes/_protected/profile'
1920import { Route as ProtectedHomeRouteImport } from './routes/_protected/home'
2021import { Route as ProtectedRoomsIndexRouteImport } from './routes/_protected/rooms.index'
2122import { Route as ProtectedGuestsIndexRouteImport } from './routes/_protected/guests.index'
@@ -55,6 +56,11 @@ const ProtectedRoomsRoute = ProtectedRoomsRouteImport.update({
5556 path : '/rooms' ,
5657 getParentRoute : ( ) => ProtectedRoute ,
5758} as any )
59+ const ProtectedProfileRoute = ProtectedProfileRouteImport . update ( {
60+ id : '/profile' ,
61+ path : '/profile' ,
62+ getParentRoute : ( ) => ProtectedRoute ,
63+ } as any )
5864const ProtectedHomeRoute = ProtectedHomeRouteImport . update ( {
5965 id : '/home' ,
6066 path : '/home' ,
@@ -81,6 +87,7 @@ export interface FileRoutesByFullPath {
8187 '/sign-in' : typeof SignInRoute
8288 '/sign-up' : typeof SignUpRoute
8389 '/home' : typeof ProtectedHomeRoute
90+ '/profile' : typeof ProtectedProfileRoute
8491 '/rooms' : typeof ProtectedRoomsRouteWithChildren
8592 '/settings' : typeof ProtectedSettingsRoute
8693 '/test-api' : typeof ProtectedTestApiRoute
@@ -93,6 +100,7 @@ export interface FileRoutesByTo {
93100 '/sign-in' : typeof SignInRoute
94101 '/sign-up' : typeof SignUpRoute
95102 '/home' : typeof ProtectedHomeRoute
103+ '/profile' : typeof ProtectedProfileRoute
96104 '/settings' : typeof ProtectedSettingsRoute
97105 '/test-api' : typeof ProtectedTestApiRoute
98106 '/guests/$guestId' : typeof ProtectedGuestsGuestIdRoute
@@ -106,6 +114,7 @@ export interface FileRoutesById {
106114 '/sign-in' : typeof SignInRoute
107115 '/sign-up' : typeof SignUpRoute
108116 '/_protected/home' : typeof ProtectedHomeRoute
117+ '/_protected/profile' : typeof ProtectedProfileRoute
109118 '/_protected/rooms' : typeof ProtectedRoomsRouteWithChildren
110119 '/_protected/settings' : typeof ProtectedSettingsRoute
111120 '/_protected/test-api' : typeof ProtectedTestApiRoute
@@ -120,6 +129,7 @@ export interface FileRouteTypes {
120129 | '/sign-in'
121130 | '/sign-up'
122131 | '/home'
132+ | '/profile'
123133 | '/rooms'
124134 | '/settings'
125135 | '/test-api'
@@ -132,6 +142,7 @@ export interface FileRouteTypes {
132142 | '/sign-in'
133143 | '/sign-up'
134144 | '/home'
145+ | '/profile'
135146 | '/settings'
136147 | '/test-api'
137148 | '/guests/$guestId'
@@ -144,6 +155,7 @@ export interface FileRouteTypes {
144155 | '/sign-in'
145156 | '/sign-up'
146157 | '/_protected/home'
158+ | '/_protected/profile'
147159 | '/_protected/rooms'
148160 | '/_protected/settings'
149161 | '/_protected/test-api'
@@ -210,6 +222,13 @@ declare module '@tanstack/react-router' {
210222 preLoaderRoute : typeof ProtectedRoomsRouteImport
211223 parentRoute : typeof ProtectedRoute
212224 }
225+ '/_protected/profile' : {
226+ id : '/_protected/profile'
227+ path : '/profile'
228+ fullPath : '/profile'
229+ preLoaderRoute : typeof ProtectedProfileRouteImport
230+ parentRoute : typeof ProtectedRoute
231+ }
213232 '/_protected/home' : {
214233 id : '/_protected/home'
215234 path : '/home'
@@ -255,6 +274,7 @@ const ProtectedRoomsRouteWithChildren = ProtectedRoomsRoute._addFileChildren(
255274
256275interface ProtectedRouteChildren {
257276 ProtectedHomeRoute : typeof ProtectedHomeRoute
277+ ProtectedProfileRoute : typeof ProtectedProfileRoute
258278 ProtectedRoomsRoute : typeof ProtectedRoomsRouteWithChildren
259279 ProtectedSettingsRoute : typeof ProtectedSettingsRoute
260280 ProtectedTestApiRoute : typeof ProtectedTestApiRoute
@@ -264,6 +284,7 @@ interface ProtectedRouteChildren {
264284
265285const ProtectedRouteChildren : ProtectedRouteChildren = {
266286 ProtectedHomeRoute : ProtectedHomeRoute ,
287+ ProtectedProfileRoute : ProtectedProfileRoute ,
267288 ProtectedRoomsRoute : ProtectedRoomsRouteWithChildren ,
268289 ProtectedSettingsRoute : ProtectedSettingsRoute ,
269290 ProtectedTestApiRoute : ProtectedTestApiRoute ,
0 commit comments