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 MobileRouteImport } from './routes/mobile'
1213import { Route as TutorialRouteImport } from './routes/_tutorial'
1314import { Route as IndexRouteImport } from './routes/index'
1415import { Route as TutorialDbRouteImport } from './routes/_tutorial._db'
@@ -17,6 +18,11 @@ import { Route as TutorialDbProjectRootRouteImport } from './routes/_tutorial._d
1718import { Route as TutorialDbProjectsIndexRouteImport } from './routes/_tutorial._db.projects.index'
1819import { Route as TutorialDbProjectsProjectIdRouteImport } from './routes/_tutorial._db.projects.$projectId'
1920
21+ const MobileRoute = MobileRouteImport . update ( {
22+ id : '/mobile' ,
23+ path : '/mobile' ,
24+ getParentRoute : ( ) => rootRouteImport ,
25+ } as any )
2026const TutorialRoute = TutorialRouteImport . update ( {
2127 id : '/_tutorial' ,
2228 getParentRoute : ( ) => rootRouteImport ,
@@ -54,13 +60,15 @@ const TutorialDbProjectsProjectIdRoute =
5460
5561export interface FileRoutesByFullPath {
5662 '/' : typeof IndexRoute
63+ '/mobile' : typeof MobileRoute
5764 '/project-root' : typeof TutorialDbProjectRootRoute
5865 '/projects' : typeof TutorialDbProjectsRouteWithChildren
5966 '/projects/$projectId' : typeof TutorialDbProjectsProjectIdRoute
6067 '/projects/' : typeof TutorialDbProjectsIndexRoute
6168}
6269export interface FileRoutesByTo {
6370 '/' : typeof IndexRoute
71+ '/mobile' : typeof MobileRoute
6472 '/project-root' : typeof TutorialDbProjectRootRoute
6573 '/projects/$projectId' : typeof TutorialDbProjectsProjectIdRoute
6674 '/projects' : typeof TutorialDbProjectsIndexRoute
@@ -69,6 +77,7 @@ export interface FileRoutesById {
6977 __root__ : typeof rootRouteImport
7078 '/' : typeof IndexRoute
7179 '/_tutorial' : typeof TutorialRouteWithChildren
80+ '/mobile' : typeof MobileRoute
7281 '/_tutorial/_db' : typeof TutorialDbRouteWithChildren
7382 '/_tutorial/_db/project-root' : typeof TutorialDbProjectRootRoute
7483 '/_tutorial/_db/projects' : typeof TutorialDbProjectsRouteWithChildren
@@ -79,16 +88,18 @@ export interface FileRouteTypes {
7988 fileRoutesByFullPath : FileRoutesByFullPath
8089 fullPaths :
8190 | '/'
91+ | '/mobile'
8292 | '/project-root'
8393 | '/projects'
8494 | '/projects/$projectId'
8595 | '/projects/'
8696 fileRoutesByTo : FileRoutesByTo
87- to : '/' | '/project-root' | '/projects/$projectId' | '/projects'
97+ to : '/' | '/mobile' | '/ project-root' | '/projects/$projectId' | '/projects'
8898 id :
8999 | '__root__'
90100 | '/'
91101 | '/_tutorial'
102+ | '/mobile'
92103 | '/_tutorial/_db'
93104 | '/_tutorial/_db/project-root'
94105 | '/_tutorial/_db/projects'
@@ -99,10 +110,18 @@ export interface FileRouteTypes {
99110export interface RootRouteChildren {
100111 IndexRoute : typeof IndexRoute
101112 TutorialRoute : typeof TutorialRouteWithChildren
113+ MobileRoute : typeof MobileRoute
102114}
103115
104116declare module '@tanstack/react-router' {
105117 interface FileRoutesByPath {
118+ '/mobile' : {
119+ id : '/mobile'
120+ path : '/mobile'
121+ fullPath : '/mobile'
122+ preLoaderRoute : typeof MobileRouteImport
123+ parentRoute : typeof rootRouteImport
124+ }
106125 '/_tutorial' : {
107126 id : '/_tutorial'
108127 path : ''
@@ -197,6 +216,7 @@ const TutorialRouteWithChildren = TutorialRoute._addFileChildren(
197216const rootRouteChildren : RootRouteChildren = {
198217 IndexRoute : IndexRoute ,
199218 TutorialRoute : TutorialRouteWithChildren ,
219+ MobileRoute : MobileRoute ,
200220}
201221export const routeTree = rootRouteImport
202222 . _addFileChildren ( rootRouteChildren )
0 commit comments