@@ -13,6 +13,7 @@ import { createFileRoute } from '@tanstack/react-router'
1313import { Route as rootRouteImport } from './routes/__root'
1414import { Route as AppRouteImport } from './routes/app'
1515import { Route as AppSettingsRouteImport } from './routes/app/settings'
16+ import { Route as AppAuthRouteImport } from './routes/app/auth'
1617import { Route as AppMainLayoutRouteImport } from './routes/app/main/_layout'
1718import { Route as AppMainLayoutIndexRouteImport } from './routes/app/main/_layout.index'
1819
@@ -33,6 +34,11 @@ const AppSettingsRoute = AppSettingsRouteImport.update({
3334 path : '/settings' ,
3435 getParentRoute : ( ) => AppRoute ,
3536} as any )
37+ const AppAuthRoute = AppAuthRouteImport . update ( {
38+ id : '/auth' ,
39+ path : '/auth' ,
40+ getParentRoute : ( ) => AppRoute ,
41+ } as any )
3642const AppMainLayoutRoute = AppMainLayoutRouteImport . update ( {
3743 id : '/_layout' ,
3844 getParentRoute : ( ) => AppMainRoute ,
@@ -45,31 +51,35 @@ const AppMainLayoutIndexRoute = AppMainLayoutIndexRouteImport.update({
4551
4652export interface FileRoutesByFullPath {
4753 '/app' : typeof AppRouteWithChildren
54+ '/app/auth' : typeof AppAuthRoute
4855 '/app/settings' : typeof AppSettingsRoute
4956 '/app/main' : typeof AppMainLayoutRouteWithChildren
5057 '/app/main/' : typeof AppMainLayoutIndexRoute
5158}
5259export interface FileRoutesByTo {
5360 '/app' : typeof AppRouteWithChildren
61+ '/app/auth' : typeof AppAuthRoute
5462 '/app/settings' : typeof AppSettingsRoute
5563 '/app/main' : typeof AppMainLayoutIndexRoute
5664}
5765export interface FileRoutesById {
5866 __root__ : typeof rootRouteImport
5967 '/app' : typeof AppRouteWithChildren
68+ '/app/auth' : typeof AppAuthRoute
6069 '/app/settings' : typeof AppSettingsRoute
6170 '/app/main' : typeof AppMainRouteWithChildren
6271 '/app/main/_layout' : typeof AppMainLayoutRouteWithChildren
6372 '/app/main/_layout/' : typeof AppMainLayoutIndexRoute
6473}
6574export interface FileRouteTypes {
6675 fileRoutesByFullPath : FileRoutesByFullPath
67- fullPaths : '/app' | '/app/settings' | '/app/main' | '/app/main/'
76+ fullPaths : '/app' | '/app/auth' | '/app/ settings' | '/app/main' | '/app/main/'
6877 fileRoutesByTo : FileRoutesByTo
69- to : '/app' | '/app/settings' | '/app/main'
78+ to : '/app' | '/app/auth' | '/app/ settings' | '/app/main'
7079 id :
7180 | '__root__'
7281 | '/app'
82+ | '/app/auth'
7383 | '/app/settings'
7484 | '/app/main'
7585 | '/app/main/_layout'
@@ -103,6 +113,13 @@ declare module '@tanstack/react-router' {
103113 preLoaderRoute : typeof AppSettingsRouteImport
104114 parentRoute : typeof AppRoute
105115 }
116+ '/app/auth' : {
117+ id : '/app/auth'
118+ path : '/auth'
119+ fullPath : '/app/auth'
120+ preLoaderRoute : typeof AppAuthRouteImport
121+ parentRoute : typeof AppRoute
122+ }
106123 '/app/main/_layout' : {
107124 id : '/app/main/_layout'
108125 path : '/main'
@@ -144,11 +161,13 @@ const AppMainRouteWithChildren =
144161 AppMainRoute . _addFileChildren ( AppMainRouteChildren )
145162
146163interface AppRouteChildren {
164+ AppAuthRoute : typeof AppAuthRoute
147165 AppSettingsRoute : typeof AppSettingsRoute
148166 AppMainRoute : typeof AppMainRouteWithChildren
149167}
150168
151169const AppRouteChildren : AppRouteChildren = {
170+ AppAuthRoute : AppAuthRoute ,
152171 AppSettingsRoute : AppSettingsRoute ,
153172 AppMainRoute : AppMainRouteWithChildren ,
154173}
0 commit comments