1010
1111import { Route as rootRouteImport } from './routes/__root'
1212import { Route as LocaleRouteRouteImport } from './routes/$locale/route'
13+ import { Route as LocaleAuthRouteRouteImport } from './routes/$locale/auth/route'
14+ import { Route as LocaledashboardRouteRouteImport } from './routes/$locale/(dashboard)/route'
15+ import { Route as LocaledashboardIndexRouteImport } from './routes/$locale/(dashboard)/index'
1316import { Route as LocaleAuthVerifyEmailIndexRouteImport } from './routes/$locale/auth/verify-email/index'
1417import { Route as LocaleAuthSignupIndexRouteImport } from './routes/$locale/auth/signup/index'
15- import { Route as LocaleAuthRouteRouteImport } from './routes/$locale/auth/route'
1618import { Route as LocaleAuthResetPasswordIndexRouteImport } from './routes/$locale/auth/reset-password/index'
1719import { Route as LocaleAuthResendVerificationIndexRouteImport } from './routes/$locale/auth/resend-verification/index'
1820import { Route as LocaleAuthLoginIndexRouteImport } from './routes/$locale/auth/login/index'
1921import { Route as LocaleAuthForgotPasswordIndexRouteImport } from './routes/$locale/auth/forgot-password/index'
20- import { Route as LocaledashboardRouteRouteImport } from './routes/$locale/(dashboard)/route'
21- import { Route as LocaledashboardIndexRouteImport } from './routes/$locale/(dashboard)/index'
2222import { Route as LocaledashboardAdminIndexRouteImport } from './routes/$locale/(dashboard)/admin/index'
2323
2424const LocaleRouteRoute = LocaleRouteRouteImport . update ( {
@@ -40,41 +40,46 @@ const LocaledashboardIndexRoute = LocaledashboardIndexRouteImport.update({
4040 path : '/' ,
4141 getParentRoute : ( ) => LocaledashboardRouteRoute ,
4242} as any )
43- const LocaleAuthVerifyEmailIndexRoute = LocaleAuthVerifyEmailIndexRouteImport . update ( {
44- id : '/verify-email/' ,
45- path : '/verify-email/' ,
46- getParentRoute : ( ) => LocaleAuthRouteRoute ,
47- } as any )
43+ const LocaleAuthVerifyEmailIndexRoute =
44+ LocaleAuthVerifyEmailIndexRouteImport . update ( {
45+ id : '/verify-email/' ,
46+ path : '/verify-email/' ,
47+ getParentRoute : ( ) => LocaleAuthRouteRoute ,
48+ } as any )
4849const LocaleAuthSignupIndexRoute = LocaleAuthSignupIndexRouteImport . update ( {
4950 id : '/signup/' ,
5051 path : '/signup/' ,
5152 getParentRoute : ( ) => LocaleAuthRouteRoute ,
5253} as any )
53- const LocaleAuthResetPasswordIndexRoute = LocaleAuthResetPasswordIndexRouteImport . update ( {
54- id : '/reset-password/' ,
55- path : '/reset-password/' ,
56- getParentRoute : ( ) => LocaleAuthRouteRoute ,
57- } as any )
58- const LocaleAuthResendVerificationIndexRoute = LocaleAuthResendVerificationIndexRouteImport . update ( {
59- id : '/resend-verification/' ,
60- path : '/resend-verification/' ,
61- getParentRoute : ( ) => LocaleAuthRouteRoute ,
62- } as any )
54+ const LocaleAuthResetPasswordIndexRoute =
55+ LocaleAuthResetPasswordIndexRouteImport . update ( {
56+ id : '/reset-password/' ,
57+ path : '/reset-password/' ,
58+ getParentRoute : ( ) => LocaleAuthRouteRoute ,
59+ } as any )
60+ const LocaleAuthResendVerificationIndexRoute =
61+ LocaleAuthResendVerificationIndexRouteImport . update ( {
62+ id : '/resend-verification/' ,
63+ path : '/resend-verification/' ,
64+ getParentRoute : ( ) => LocaleAuthRouteRoute ,
65+ } as any )
6366const LocaleAuthLoginIndexRoute = LocaleAuthLoginIndexRouteImport . update ( {
6467 id : '/login/' ,
6568 path : '/login/' ,
6669 getParentRoute : ( ) => LocaleAuthRouteRoute ,
6770} as any )
68- const LocaleAuthForgotPasswordIndexRoute = LocaleAuthForgotPasswordIndexRouteImport . update ( {
69- id : '/forgot-password/' ,
70- path : '/forgot-password/' ,
71- getParentRoute : ( ) => LocaleAuthRouteRoute ,
72- } as any )
73- const LocaledashboardAdminIndexRoute = LocaledashboardAdminIndexRouteImport . update ( {
74- id : '/admin/' ,
75- path : '/admin/' ,
76- getParentRoute : ( ) => LocaledashboardRouteRoute ,
77- } as any )
71+ const LocaleAuthForgotPasswordIndexRoute =
72+ LocaleAuthForgotPasswordIndexRouteImport . update ( {
73+ id : '/forgot-password/' ,
74+ path : '/forgot-password/' ,
75+ getParentRoute : ( ) => LocaleAuthRouteRoute ,
76+ } as any )
77+ const LocaledashboardAdminIndexRoute =
78+ LocaledashboardAdminIndexRouteImport . update ( {
79+ id : '/admin/' ,
80+ path : '/admin/' ,
81+ getParentRoute : ( ) => LocaledashboardRouteRoute ,
82+ } as any )
7883
7984export interface FileRoutesByFullPath {
8085 '/$locale' : typeof LocaleRouteRouteWithChildren
@@ -248,9 +253,8 @@ const LocaledashboardRouteRouteChildren: LocaledashboardRouteRouteChildren = {
248253 LocaledashboardAdminIndexRoute : LocaledashboardAdminIndexRoute ,
249254}
250255
251- const LocaledashboardRouteRouteWithChildren = LocaledashboardRouteRoute . _addFileChildren (
252- LocaledashboardRouteRouteChildren ,
253- )
256+ const LocaledashboardRouteRouteWithChildren =
257+ LocaledashboardRouteRoute . _addFileChildren ( LocaledashboardRouteRouteChildren )
254258
255259interface LocaleAuthRouteRouteChildren {
256260 LocaleAuthForgotPasswordIndexRoute : typeof LocaleAuthForgotPasswordIndexRoute
@@ -264,7 +268,8 @@ interface LocaleAuthRouteRouteChildren {
264268const LocaleAuthRouteRouteChildren : LocaleAuthRouteRouteChildren = {
265269 LocaleAuthForgotPasswordIndexRoute : LocaleAuthForgotPasswordIndexRoute ,
266270 LocaleAuthLoginIndexRoute : LocaleAuthLoginIndexRoute ,
267- LocaleAuthResendVerificationIndexRoute : LocaleAuthResendVerificationIndexRoute ,
271+ LocaleAuthResendVerificationIndexRoute :
272+ LocaleAuthResendVerificationIndexRoute ,
268273 LocaleAuthResetPasswordIndexRoute : LocaleAuthResetPasswordIndexRoute ,
269274 LocaleAuthSignupIndexRoute : LocaleAuthSignupIndexRoute ,
270275 LocaleAuthVerifyEmailIndexRoute : LocaleAuthVerifyEmailIndexRoute ,
@@ -284,7 +289,9 @@ const LocaleRouteRouteChildren: LocaleRouteRouteChildren = {
284289 LocaleAuthRouteRoute : LocaleAuthRouteRouteWithChildren ,
285290}
286291
287- const LocaleRouteRouteWithChildren = LocaleRouteRoute . _addFileChildren ( LocaleRouteRouteChildren )
292+ const LocaleRouteRouteWithChildren = LocaleRouteRoute . _addFileChildren (
293+ LocaleRouteRouteChildren ,
294+ )
288295
289296const rootRouteChildren : RootRouteChildren = {
290297 LocaleRouteRoute : LocaleRouteRouteWithChildren ,
@@ -293,8 +300,8 @@ export const routeTree = rootRouteImport
293300 . _addFileChildren ( rootRouteChildren )
294301 . _addFileTypes < FileRouteTypes > ( )
295302
296- import type { startInstance } from './start.ts'
297303import type { getRouter } from './router.tsx'
304+ import type { startInstance } from './start.ts'
298305declare module '@tanstack/react-start' {
299306 interface Register {
300307 ssr : true
0 commit comments