@@ -14,11 +14,11 @@ import { Route as rootRoute } from './routes/__root'
14
14
import { Route as ResetCrossSigningImport } from './routes/reset-cross-signing'
15
15
import { Route as AccountImport } from './routes/_account'
16
16
import { Route as AccountIndexImport } from './routes/_account.index'
17
- import { Route as PasswordChangesuccessImport } from './routes/password.change_success'
18
- import { Route as PasswordChangeImport } from './routes/password.change'
19
17
import { Route as DevicesSplatImport } from './routes/devices.$'
20
18
import { Route as ClientsIdImport } from './routes/clients.$id'
19
+ import { Route as PasswordChangeIndexImport } from './routes/password.change.index'
21
20
import { Route as AccountSessionsIndexImport } from './routes/_account.sessions.index'
21
+ import { Route as PasswordChangeSuccessImport } from './routes/password.change.success'
22
22
import { Route as EmailsIdVerifyImport } from './routes/emails.$id.verify'
23
23
import { Route as AccountSessionsBrowsersImport } from './routes/_account.sessions.browsers'
24
24
import { Route as AccountSessionsIdImport } from './routes/_account.sessions.$id'
@@ -40,16 +40,6 @@ const AccountIndexRoute = AccountIndexImport.update({
40
40
getParentRoute : ( ) => AccountRoute ,
41
41
} as any )
42
42
43
- const PasswordChangesuccessRoute = PasswordChangesuccessImport . update ( {
44
- path : '/password/change_success' ,
45
- getParentRoute : ( ) => rootRoute ,
46
- } as any )
47
-
48
- const PasswordChangeRoute = PasswordChangeImport . update ( {
49
- path : '/password/change' ,
50
- getParentRoute : ( ) => rootRoute ,
51
- } as any )
52
-
53
43
const DevicesSplatRoute = DevicesSplatImport . update ( {
54
44
path : '/devices/$' ,
55
45
getParentRoute : ( ) => rootRoute ,
@@ -60,11 +50,21 @@ const ClientsIdRoute = ClientsIdImport.update({
60
50
getParentRoute : ( ) => rootRoute ,
61
51
} as any )
62
52
53
+ const PasswordChangeIndexRoute = PasswordChangeIndexImport . update ( {
54
+ path : '/password/change/' ,
55
+ getParentRoute : ( ) => rootRoute ,
56
+ } as any )
57
+
63
58
const AccountSessionsIndexRoute = AccountSessionsIndexImport . update ( {
64
59
path : '/sessions/' ,
65
60
getParentRoute : ( ) => AccountRoute ,
66
61
} as any )
67
62
63
+ const PasswordChangeSuccessRoute = PasswordChangeSuccessImport . update ( {
64
+ path : '/password/change/success' ,
65
+ getParentRoute : ( ) => rootRoute ,
66
+ } as any )
67
+
68
68
const EmailsIdVerifyRoute = EmailsIdVerifyImport . update ( {
69
69
path : '/emails/$id/verify' ,
70
70
getParentRoute : ( ) => rootRoute ,
@@ -100,14 +100,6 @@ declare module '@tanstack/react-router' {
100
100
preLoaderRoute : typeof DevicesSplatImport
101
101
parentRoute : typeof rootRoute
102
102
}
103
- '/password/change' : {
104
- preLoaderRoute : typeof PasswordChangeImport
105
- parentRoute : typeof rootRoute
106
- }
107
- '/password/change_success' : {
108
- preLoaderRoute : typeof PasswordChangesuccessImport
109
- parentRoute : typeof rootRoute
110
- }
111
103
'/_account/' : {
112
104
preLoaderRoute : typeof AccountIndexImport
113
105
parentRoute : typeof AccountImport
@@ -124,10 +116,18 @@ declare module '@tanstack/react-router' {
124
116
preLoaderRoute : typeof EmailsIdVerifyImport
125
117
parentRoute : typeof rootRoute
126
118
}
119
+ '/password/change/success' : {
120
+ preLoaderRoute : typeof PasswordChangeSuccessImport
121
+ parentRoute : typeof rootRoute
122
+ }
127
123
'/_account/sessions/' : {
128
124
preLoaderRoute : typeof AccountSessionsIndexImport
129
125
parentRoute : typeof AccountImport
130
126
}
127
+ '/password/change/' : {
128
+ preLoaderRoute : typeof PasswordChangeIndexImport
129
+ parentRoute : typeof rootRoute
130
+ }
131
131
}
132
132
}
133
133
@@ -143,9 +143,9 @@ export const routeTree = rootRoute.addChildren([
143
143
ResetCrossSigningRoute ,
144
144
ClientsIdRoute ,
145
145
DevicesSplatRoute ,
146
- PasswordChangeRoute ,
147
- PasswordChangesuccessRoute ,
148
146
EmailsIdVerifyRoute ,
147
+ PasswordChangeSuccessRoute ,
148
+ PasswordChangeIndexRoute ,
149
149
] )
150
150
151
151
/* prettier-ignore-end */
0 commit comments