8
8
// You should NOT make any changes in this file as it will be overwritten.
9
9
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
10
10
11
- import { createFileRoute } from '@tanstack/react-router'
12
-
13
11
// Import Routes
14
12
15
13
import { Route as rootRoute } from './routes/__root'
@@ -25,16 +23,11 @@ import { Route as ClientsIdImport } from './routes/clients.$id'
25
23
import { Route as PasswordRecoveryIndexImport } from './routes/password.recovery.index'
26
24
import { Route as PasswordChangeIndexImport } from './routes/password.change.index'
27
25
import { Route as AccountSessionsIndexImport } from './routes/_account.sessions.index'
26
+ import { Route as PasswordChangeSuccessImport } from './routes/password.change.success'
28
27
import { Route as EmailsIdVerifyImport } from './routes/emails.$id.verify'
29
28
import { Route as EmailsIdInUseImport } from './routes/emails.$id.in-use'
30
29
import { Route as AccountSessionsBrowsersImport } from './routes/_account.sessions.browsers'
31
30
32
- // Create Virtual Routes
33
-
34
- const PasswordChangeSuccessLazyImport = createFileRoute (
35
- '/password/change/success' ,
36
- ) ( )
37
-
38
31
// Create/Update Routes
39
32
40
33
const ResetCrossSigningRoute = ResetCrossSigningImport . update ( {
@@ -46,7 +39,7 @@ const ResetCrossSigningRoute = ResetCrossSigningImport.update({
46
39
const AccountRoute = AccountImport . update ( {
47
40
id : '/_account' ,
48
41
getParentRoute : ( ) => rootRoute ,
49
- } as any ) . lazy ( ( ) => import ( './routes/_account.lazy' ) . then ( ( d ) => d . Route ) )
42
+ } as any )
50
43
51
44
const ResetCrossSigningIndexRoute = ResetCrossSigningIndexImport . update ( {
52
45
id : '/' ,
@@ -58,15 +51,13 @@ const AccountIndexRoute = AccountIndexImport.update({
58
51
id : '/' ,
59
52
path : '/' ,
60
53
getParentRoute : ( ) => AccountRoute ,
61
- } as any ) . lazy ( ( ) =>
62
- import ( './routes/_account.index.lazy' ) . then ( ( d ) => d . Route ) ,
63
- )
54
+ } as any )
64
55
65
56
const SessionsIdRoute = SessionsIdImport . update ( {
66
57
id : '/sessions/$id' ,
67
58
path : '/sessions/$id' ,
68
59
getParentRoute : ( ) => rootRoute ,
69
- } as any ) . lazy ( ( ) => import ( './routes/sessions.$id.lazy' ) . then ( ( d ) => d . Route ) )
60
+ } as any )
70
61
71
62
const ResetCrossSigningSuccessRoute = ResetCrossSigningSuccessImport . update ( {
72
63
id : '/success' ,
@@ -92,47 +83,37 @@ const ClientsIdRoute = ClientsIdImport.update({
92
83
id : '/clients/$id' ,
93
84
path : '/clients/$id' ,
94
85
getParentRoute : ( ) => rootRoute ,
95
- } as any ) . lazy ( ( ) => import ( './routes/clients.$id.lazy' ) . then ( ( d ) => d . Route ) )
86
+ } as any )
96
87
97
88
const PasswordRecoveryIndexRoute = PasswordRecoveryIndexImport . update ( {
98
89
id : '/password/recovery/' ,
99
90
path : '/password/recovery/' ,
100
91
getParentRoute : ( ) => rootRoute ,
101
- } as any ) . lazy ( ( ) =>
102
- import ( './routes/password.recovery.index.lazy' ) . then ( ( d ) => d . Route ) ,
103
- )
92
+ } as any )
104
93
105
94
const PasswordChangeIndexRoute = PasswordChangeIndexImport . update ( {
106
95
id : '/password/change/' ,
107
96
path : '/password/change/' ,
108
97
getParentRoute : ( ) => rootRoute ,
109
- } as any ) . lazy ( ( ) =>
110
- import ( './routes/password.change.index.lazy' ) . then ( ( d ) => d . Route ) ,
111
- )
98
+ } as any )
112
99
113
100
const AccountSessionsIndexRoute = AccountSessionsIndexImport . update ( {
114
101
id : '/sessions/' ,
115
102
path : '/sessions/' ,
116
103
getParentRoute : ( ) => AccountRoute ,
117
- } as any ) . lazy ( ( ) =>
118
- import ( './routes/_account.sessions.index.lazy' ) . then ( ( d ) => d . Route ) ,
119
- )
104
+ } as any )
120
105
121
- const PasswordChangeSuccessLazyRoute = PasswordChangeSuccessLazyImport . update ( {
106
+ const PasswordChangeSuccessRoute = PasswordChangeSuccessImport . update ( {
122
107
id : '/password/change/success' ,
123
108
path : '/password/change/success' ,
124
109
getParentRoute : ( ) => rootRoute ,
125
- } as any ) . lazy ( ( ) =>
126
- import ( './routes/password.change.success.lazy' ) . then ( ( d ) => d . Route ) ,
127
- )
110
+ } as any )
128
111
129
112
const EmailsIdVerifyRoute = EmailsIdVerifyImport . update ( {
130
113
id : '/emails/$id/verify' ,
131
114
path : '/emails/$id/verify' ,
132
115
getParentRoute : ( ) => rootRoute ,
133
- } as any ) . lazy ( ( ) =>
134
- import ( './routes/emails.$id.verify.lazy' ) . then ( ( d ) => d . Route ) ,
135
- )
116
+ } as any )
136
117
137
118
const EmailsIdInUseRoute = EmailsIdInUseImport . update ( {
138
119
id : '/emails/$id/in-use' ,
@@ -144,9 +125,7 @@ const AccountSessionsBrowsersRoute = AccountSessionsBrowsersImport.update({
144
125
id : '/sessions/browsers' ,
145
126
path : '/sessions/browsers' ,
146
127
getParentRoute : ( ) => AccountRoute ,
147
- } as any ) . lazy ( ( ) =>
148
- import ( './routes/_account.sessions.browsers.lazy' ) . then ( ( d ) => d . Route ) ,
149
- )
128
+ } as any )
150
129
151
130
// Populate the FileRoutesByPath interface
152
131
@@ -240,7 +219,7 @@ declare module '@tanstack/react-router' {
240
219
id : '/password/change/success'
241
220
path : '/password/change/success'
242
221
fullPath : '/password/change/success'
243
- preLoaderRoute : typeof PasswordChangeSuccessLazyImport
222
+ preLoaderRoute : typeof PasswordChangeSuccessImport
244
223
parentRoute : typeof rootRoute
245
224
}
246
225
'/_account/sessions/' : {
@@ -312,7 +291,7 @@ export interface FileRoutesByFullPath {
312
291
'/sessions/browsers' : typeof AccountSessionsBrowsersRoute
313
292
'/emails/$id/in-use' : typeof EmailsIdInUseRoute
314
293
'/emails/$id/verify' : typeof EmailsIdVerifyRoute
315
- '/password/change/success' : typeof PasswordChangeSuccessLazyRoute
294
+ '/password/change/success' : typeof PasswordChangeSuccessRoute
316
295
'/sessions' : typeof AccountSessionsIndexRoute
317
296
'/password/change' : typeof PasswordChangeIndexRoute
318
297
'/password/recovery' : typeof PasswordRecoveryIndexRoute
@@ -329,7 +308,7 @@ export interface FileRoutesByTo {
329
308
'/sessions/browsers' : typeof AccountSessionsBrowsersRoute
330
309
'/emails/$id/in-use' : typeof EmailsIdInUseRoute
331
310
'/emails/$id/verify' : typeof EmailsIdVerifyRoute
332
- '/password/change/success' : typeof PasswordChangeSuccessLazyRoute
311
+ '/password/change/success' : typeof PasswordChangeSuccessRoute
333
312
'/sessions' : typeof AccountSessionsIndexRoute
334
313
'/password/change' : typeof PasswordChangeIndexRoute
335
314
'/password/recovery' : typeof PasswordRecoveryIndexRoute
@@ -349,7 +328,7 @@ export interface FileRoutesById {
349
328
'/_account/sessions/browsers' : typeof AccountSessionsBrowsersRoute
350
329
'/emails/$id/in-use' : typeof EmailsIdInUseRoute
351
330
'/emails/$id/verify' : typeof EmailsIdVerifyRoute
352
- '/password/change/success' : typeof PasswordChangeSuccessLazyRoute
331
+ '/password/change/success' : typeof PasswordChangeSuccessRoute
353
332
'/_account/sessions/' : typeof AccountSessionsIndexRoute
354
333
'/password/change/' : typeof PasswordChangeIndexRoute
355
334
'/password/recovery/' : typeof PasswordRecoveryIndexRoute
@@ -419,7 +398,7 @@ export interface RootRouteChildren {
419
398
SessionsIdRoute : typeof SessionsIdRoute
420
399
EmailsIdInUseRoute : typeof EmailsIdInUseRoute
421
400
EmailsIdVerifyRoute : typeof EmailsIdVerifyRoute
422
- PasswordChangeSuccessLazyRoute : typeof PasswordChangeSuccessLazyRoute
401
+ PasswordChangeSuccessRoute : typeof PasswordChangeSuccessRoute
423
402
PasswordChangeIndexRoute : typeof PasswordChangeIndexRoute
424
403
PasswordRecoveryIndexRoute : typeof PasswordRecoveryIndexRoute
425
404
}
@@ -432,7 +411,7 @@ const rootRouteChildren: RootRouteChildren = {
432
411
SessionsIdRoute : SessionsIdRoute ,
433
412
EmailsIdInUseRoute : EmailsIdInUseRoute ,
434
413
EmailsIdVerifyRoute : EmailsIdVerifyRoute ,
435
- PasswordChangeSuccessLazyRoute : PasswordChangeSuccessLazyRoute ,
414
+ PasswordChangeSuccessRoute : PasswordChangeSuccessRoute ,
436
415
PasswordChangeIndexRoute : PasswordChangeIndexRoute ,
437
416
PasswordRecoveryIndexRoute : PasswordRecoveryIndexRoute ,
438
417
}
@@ -511,7 +490,7 @@ export const routeTree = rootRoute
511
490
"filePath": "emails.$id.verify.tsx"
512
491
},
513
492
"/password/change/success": {
514
- "filePath": "password.change.success.lazy. tsx"
493
+ "filePath": "password.change.success.tsx"
515
494
},
516
495
"/_account/sessions/": {
517
496
"filePath": "_account.sessions.index.tsx",
0 commit comments