@@ -13,7 +13,6 @@ import { createFileRoute } from '@tanstack/react-router'
13
13
// Import Routes
14
14
15
15
import { Route as rootRoute } from './routes/__root'
16
- import { Route as NotificationsImport } from './routes/notifications'
17
16
import { Route as MessagesIndexImport } from './routes/messages/index'
18
17
import { Route as MessagesConvoIdImport } from './routes/messages/$convoId'
19
18
import { Route as ProfileHandleIndexImport } from './routes/profile/$handle/index'
@@ -22,6 +21,7 @@ import { Route as ProfileHandlePostPostIdImport } from './routes/profile/$handle
22
21
// Create Virtual Routes
23
22
24
23
const SettingsLazyImport = createFileRoute ( '/settings' ) ( )
24
+ const NotificationsLazyImport = createFileRoute ( '/notifications' ) ( )
25
25
const LoginLazyImport = createFileRoute ( '/login' ) ( )
26
26
const IndexLazyImport = createFileRoute ( '/' ) ( )
27
27
const TagTagLazyImport = createFileRoute ( '/tag/$tag' ) ( )
@@ -34,18 +34,18 @@ const SettingsLazyRoute = SettingsLazyImport.update({
34
34
getParentRoute : ( ) => rootRoute ,
35
35
} as any ) . lazy ( ( ) => import ( './routes/settings.lazy' ) . then ( ( d ) => d . Route ) )
36
36
37
+ const NotificationsLazyRoute = NotificationsLazyImport . update ( {
38
+ id : '/notifications' ,
39
+ path : '/notifications' ,
40
+ getParentRoute : ( ) => rootRoute ,
41
+ } as any ) . lazy ( ( ) => import ( './routes/notifications.lazy' ) . then ( ( d ) => d . Route ) )
42
+
37
43
const LoginLazyRoute = LoginLazyImport . update ( {
38
44
id : '/login' ,
39
45
path : '/login' ,
40
46
getParentRoute : ( ) => rootRoute ,
41
47
} as any ) . lazy ( ( ) => import ( './routes/login.lazy' ) . then ( ( d ) => d . Route ) )
42
48
43
- const NotificationsRoute = NotificationsImport . update ( {
44
- id : '/notifications' ,
45
- path : '/notifications' ,
46
- getParentRoute : ( ) => rootRoute ,
47
- } as any )
48
-
49
49
const IndexLazyRoute = IndexLazyImport . update ( {
50
50
id : '/' ,
51
51
path : '/' ,
@@ -93,20 +93,20 @@ declare module '@tanstack/react-router' {
93
93
preLoaderRoute : typeof IndexLazyImport
94
94
parentRoute : typeof rootRoute
95
95
}
96
- '/notifications' : {
97
- id : '/notifications'
98
- path : '/notifications'
99
- fullPath : '/notifications'
100
- preLoaderRoute : typeof NotificationsImport
101
- parentRoute : typeof rootRoute
102
- }
103
96
'/login' : {
104
97
id : '/login'
105
98
path : '/login'
106
99
fullPath : '/login'
107
100
preLoaderRoute : typeof LoginLazyImport
108
101
parentRoute : typeof rootRoute
109
102
}
103
+ '/notifications' : {
104
+ id : '/notifications'
105
+ path : '/notifications'
106
+ fullPath : '/notifications'
107
+ preLoaderRoute : typeof NotificationsLazyImport
108
+ parentRoute : typeof rootRoute
109
+ }
110
110
'/settings' : {
111
111
id : '/settings'
112
112
path : '/settings'
@@ -156,8 +156,8 @@ declare module '@tanstack/react-router' {
156
156
157
157
export interface FileRoutesByFullPath {
158
158
'/' : typeof IndexLazyRoute
159
- '/notifications' : typeof NotificationsRoute
160
159
'/login' : typeof LoginLazyRoute
160
+ '/notifications' : typeof NotificationsLazyRoute
161
161
'/settings' : typeof SettingsLazyRoute
162
162
'/messages/$convoId' : typeof MessagesConvoIdRoute
163
163
'/tag/$tag' : typeof TagTagLazyRoute
@@ -168,8 +168,8 @@ export interface FileRoutesByFullPath {
168
168
169
169
export interface FileRoutesByTo {
170
170
'/' : typeof IndexLazyRoute
171
- '/notifications' : typeof NotificationsRoute
172
171
'/login' : typeof LoginLazyRoute
172
+ '/notifications' : typeof NotificationsLazyRoute
173
173
'/settings' : typeof SettingsLazyRoute
174
174
'/messages/$convoId' : typeof MessagesConvoIdRoute
175
175
'/tag/$tag' : typeof TagTagLazyRoute
@@ -181,8 +181,8 @@ export interface FileRoutesByTo {
181
181
export interface FileRoutesById {
182
182
__root__ : typeof rootRoute
183
183
'/' : typeof IndexLazyRoute
184
- '/notifications' : typeof NotificationsRoute
185
184
'/login' : typeof LoginLazyRoute
185
+ '/notifications' : typeof NotificationsLazyRoute
186
186
'/settings' : typeof SettingsLazyRoute
187
187
'/messages/$convoId' : typeof MessagesConvoIdRoute
188
188
'/tag/$tag' : typeof TagTagLazyRoute
@@ -195,8 +195,8 @@ export interface FileRouteTypes {
195
195
fileRoutesByFullPath : FileRoutesByFullPath
196
196
fullPaths :
197
197
| '/'
198
- | '/notifications'
199
198
| '/login'
199
+ | '/notifications'
200
200
| '/settings'
201
201
| '/messages/$convoId'
202
202
| '/tag/$tag'
@@ -206,8 +206,8 @@ export interface FileRouteTypes {
206
206
fileRoutesByTo : FileRoutesByTo
207
207
to :
208
208
| '/'
209
- | '/notifications'
210
209
| '/login'
210
+ | '/notifications'
211
211
| '/settings'
212
212
| '/messages/$convoId'
213
213
| '/tag/$tag'
@@ -217,8 +217,8 @@ export interface FileRouteTypes {
217
217
id :
218
218
| '__root__'
219
219
| '/'
220
- | '/notifications'
221
220
| '/login'
221
+ | '/notifications'
222
222
| '/settings'
223
223
| '/messages/$convoId'
224
224
| '/tag/$tag'
@@ -230,8 +230,8 @@ export interface FileRouteTypes {
230
230
231
231
export interface RootRouteChildren {
232
232
IndexLazyRoute : typeof IndexLazyRoute
233
- NotificationsRoute : typeof NotificationsRoute
234
233
LoginLazyRoute : typeof LoginLazyRoute
234
+ NotificationsLazyRoute : typeof NotificationsLazyRoute
235
235
SettingsLazyRoute : typeof SettingsLazyRoute
236
236
MessagesConvoIdRoute : typeof MessagesConvoIdRoute
237
237
TagTagLazyRoute : typeof TagTagLazyRoute
@@ -242,8 +242,8 @@ export interface RootRouteChildren {
242
242
243
243
const rootRouteChildren : RootRouteChildren = {
244
244
IndexLazyRoute : IndexLazyRoute ,
245
- NotificationsRoute : NotificationsRoute ,
246
245
LoginLazyRoute : LoginLazyRoute ,
246
+ NotificationsLazyRoute : NotificationsLazyRoute ,
247
247
SettingsLazyRoute : SettingsLazyRoute ,
248
248
MessagesConvoIdRoute : MessagesConvoIdRoute ,
249
249
TagTagLazyRoute : TagTagLazyRoute ,
@@ -263,8 +263,8 @@ export const routeTree = rootRoute
263
263
"filePath": "__root.tsx",
264
264
"children": [
265
265
"/",
266
- "/notifications",
267
266
"/login",
267
+ "/notifications",
268
268
"/settings",
269
269
"/messages/$convoId",
270
270
"/tag/$tag",
@@ -276,12 +276,12 @@ export const routeTree = rootRoute
276
276
"/": {
277
277
"filePath": "index.lazy.tsx"
278
278
},
279
- "/notifications": {
280
- "filePath": "notifications.tsx"
281
- },
282
279
"/login": {
283
280
"filePath": "login.lazy.tsx"
284
281
},
282
+ "/notifications": {
283
+ "filePath": "notifications.lazy.tsx"
284
+ },
285
285
"/settings": {
286
286
"filePath": "settings.lazy.tsx"
287
287
},
0 commit comments