99// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
1010
1111import { Route as rootRouteImport } from "./routes/__root"
12- import { Route as AuthRouteImport } from "./routes/_auth"
13- import { Route as AuthLoginRouteImport } from "./routes/_auth/login"
1412import { Route as MainRouteImport } from "./routes/_main"
13+ import { Route as AuthRouteImport } from "./routes/_auth"
1514import { Route as MainIndexRouteImport } from "./routes/_main/index"
16- import { Route as ApiAuthSplatRouteImport } from "./routes/api/auth/$"
1715import { Route as ApiPingRouteImport } from "./routes/api/ping"
16+ import { Route as AuthLoginRouteImport } from "./routes/_auth/login"
17+ import { Route as ApiAuthSplatRouteImport } from "./routes/api/auth/$"
1818
1919const MainRoute = MainRouteImport . update ( {
2020 id : "/_main" ,
21- getParentRoute : ( ) => rootRouteImport
21+ getParentRoute : ( ) => rootRouteImport ,
2222} as any )
2323const AuthRoute = AuthRouteImport . update ( {
2424 id : "/_auth" ,
25- getParentRoute : ( ) => rootRouteImport
25+ getParentRoute : ( ) => rootRouteImport ,
2626} as any )
2727const MainIndexRoute = MainIndexRouteImport . update ( {
2828 id : "/" ,
2929 path : "/" ,
30- getParentRoute : ( ) => MainRoute
30+ getParentRoute : ( ) => MainRoute ,
3131} as any )
3232const ApiPingRoute = ApiPingRouteImport . update ( {
3333 id : "/api/ping" ,
3434 path : "/api/ping" ,
35- getParentRoute : ( ) => rootRouteImport
35+ getParentRoute : ( ) => rootRouteImport ,
3636} as any )
3737const AuthLoginRoute = AuthLoginRouteImport . update ( {
3838 id : "/login" ,
3939 path : "/login" ,
40- getParentRoute : ( ) => AuthRoute
40+ getParentRoute : ( ) => AuthRoute ,
4141} as any )
4242const ApiAuthSplatRoute = ApiAuthSplatRouteImport . update ( {
4343 id : "/api/auth/$" ,
4444 path : "/api/auth/$" ,
45- getParentRoute : ( ) => rootRouteImport
45+ getParentRoute : ( ) => rootRouteImport ,
4646} as any )
4747
4848export interface FileRoutesByFullPath {
49+ "/" : typeof MainIndexRoute
4950 "/login" : typeof AuthLoginRoute
5051 "/api/ping" : typeof ApiPingRoute
51- "/" : typeof MainIndexRoute
5252 "/api/auth/$" : typeof ApiAuthSplatRoute
5353}
5454export interface FileRoutesByTo {
55+ "/" : typeof MainIndexRoute
5556 "/login" : typeof AuthLoginRoute
5657 "/api/ping" : typeof ApiPingRoute
57- "/" : typeof MainIndexRoute
5858 "/api/auth/$" : typeof ApiAuthSplatRoute
5959}
6060export interface FileRoutesById {
@@ -68,9 +68,9 @@ export interface FileRoutesById {
6868}
6969export interface FileRouteTypes {
7070 fileRoutesByFullPath : FileRoutesByFullPath
71- fullPaths : "/login " | "/api/ping " | "/" | "/api/auth/$"
71+ fullPaths : "/" | "/login " | "/api/ping " | "/api/auth/$"
7272 fileRoutesByTo : FileRoutesByTo
73- to : "/login " | "/api/ping " | "/" | "/api/auth/$"
73+ to : "/" | "/login " | "/api/ping " | "/api/auth/$"
7474 id :
7575 | "__root__"
7676 | "/_auth"
@@ -93,14 +93,14 @@ declare module "@tanstack/react-router" {
9393 "/_main" : {
9494 id : "/_main"
9595 path : ""
96- fullPath : ""
96+ fullPath : "/ "
9797 preLoaderRoute : typeof MainRouteImport
9898 parentRoute : typeof rootRouteImport
9999 }
100100 "/_auth" : {
101101 id : "/_auth"
102102 path : ""
103- fullPath : ""
103+ fullPath : "/ "
104104 preLoaderRoute : typeof AuthRouteImport
105105 parentRoute : typeof rootRouteImport
106106 }
@@ -140,7 +140,7 @@ interface AuthRouteChildren {
140140}
141141
142142const AuthRouteChildren : AuthRouteChildren = {
143- AuthLoginRoute : AuthLoginRoute
143+ AuthLoginRoute : AuthLoginRoute ,
144144}
145145
146146const AuthRouteWithChildren = AuthRoute . _addFileChildren ( AuthRouteChildren )
@@ -150,7 +150,7 @@ interface MainRouteChildren {
150150}
151151
152152const MainRouteChildren : MainRouteChildren = {
153- MainIndexRoute : MainIndexRoute
153+ MainIndexRoute : MainIndexRoute ,
154154}
155155
156156const MainRouteWithChildren = MainRoute . _addFileChildren ( MainRouteChildren )
@@ -159,15 +159,14 @@ const rootRouteChildren: RootRouteChildren = {
159159 AuthRoute : AuthRouteWithChildren ,
160160 MainRoute : MainRouteWithChildren ,
161161 ApiPingRoute : ApiPingRoute ,
162- ApiAuthSplatRoute : ApiAuthSplatRoute
162+ ApiAuthSplatRoute : ApiAuthSplatRoute ,
163163}
164164export const routeTree = rootRouteImport
165165 . _addFileChildren ( rootRouteChildren )
166166 . _addFileTypes < FileRouteTypes > ( )
167167
168- import type { createStart } from "@tanstack/react-start"
169-
170168import type { getRouter } from "./router.tsx"
169+ import type { createStart } from "@tanstack/react-start"
171170declare module "@tanstack/react-start" {
172171 interface Register {
173172 ssr : true
0 commit comments