@@ -14,6 +14,7 @@ import { Route as AppIndexRouteImport } from './routes/app/index'
1414import { Route as AppOnboardingRouteImport } from './routes/app/onboarding'
1515import { Route as AppInstructionRouteImport } from './routes/app/instruction'
1616import { Route as AppComposerRouteImport } from './routes/app/composer'
17+ import { Route as AppNoteSessionIdRouteImport } from './routes/app/note.$sessionId'
1718import { Route as AppMainLayoutRouteImport } from './routes/app/main/_layout'
1819import { Route as AppMainLayoutIndexRouteImport } from './routes/app/main/_layout.index'
1920
@@ -42,6 +43,11 @@ const AppComposerRoute = AppComposerRouteImport.update({
4243 path : '/composer' ,
4344 getParentRoute : ( ) => AppRouteRoute ,
4445} as any )
46+ const AppNoteSessionIdRoute = AppNoteSessionIdRouteImport . update ( {
47+ id : '/note/$sessionId' ,
48+ path : '/note/$sessionId' ,
49+ getParentRoute : ( ) => AppRouteRoute ,
50+ } as any )
4551const AppMainLayoutRoute = AppMainLayoutRouteImport . update ( {
4652 id : '/main/_layout' ,
4753 path : '/main' ,
@@ -60,13 +66,15 @@ export interface FileRoutesByFullPath {
6066 '/app/onboarding' : typeof AppOnboardingRoute
6167 '/app/' : typeof AppIndexRoute
6268 '/app/main' : typeof AppMainLayoutRouteWithChildren
69+ '/app/note/$sessionId' : typeof AppNoteSessionIdRoute
6370 '/app/main/' : typeof AppMainLayoutIndexRoute
6471}
6572export interface FileRoutesByTo {
6673 '/app/composer' : typeof AppComposerRoute
6774 '/app/instruction' : typeof AppInstructionRoute
6875 '/app/onboarding' : typeof AppOnboardingRoute
6976 '/app' : typeof AppIndexRoute
77+ '/app/note/$sessionId' : typeof AppNoteSessionIdRoute
7078 '/app/main' : typeof AppMainLayoutIndexRoute
7179}
7280export interface FileRoutesById {
@@ -77,6 +85,7 @@ export interface FileRoutesById {
7785 '/app/onboarding' : typeof AppOnboardingRoute
7886 '/app/' : typeof AppIndexRoute
7987 '/app/main/_layout' : typeof AppMainLayoutRouteWithChildren
88+ '/app/note/$sessionId' : typeof AppNoteSessionIdRoute
8089 '/app/main/_layout/' : typeof AppMainLayoutIndexRoute
8190}
8291export interface FileRouteTypes {
@@ -88,13 +97,15 @@ export interface FileRouteTypes {
8897 | '/app/onboarding'
8998 | '/app/'
9099 | '/app/main'
100+ | '/app/note/$sessionId'
91101 | '/app/main/'
92102 fileRoutesByTo : FileRoutesByTo
93103 to :
94104 | '/app/composer'
95105 | '/app/instruction'
96106 | '/app/onboarding'
97107 | '/app'
108+ | '/app/note/$sessionId'
98109 | '/app/main'
99110 id :
100111 | '__root__'
@@ -104,6 +115,7 @@ export interface FileRouteTypes {
104115 | '/app/onboarding'
105116 | '/app/'
106117 | '/app/main/_layout'
118+ | '/app/note/$sessionId'
107119 | '/app/main/_layout/'
108120 fileRoutesById : FileRoutesById
109121}
@@ -148,6 +160,13 @@ declare module '@tanstack/react-router' {
148160 preLoaderRoute : typeof AppComposerRouteImport
149161 parentRoute : typeof AppRouteRoute
150162 }
163+ '/app/note/$sessionId' : {
164+ id : '/app/note/$sessionId'
165+ path : '/note/$sessionId'
166+ fullPath : '/app/note/$sessionId'
167+ preLoaderRoute : typeof AppNoteSessionIdRouteImport
168+ parentRoute : typeof AppRouteRoute
169+ }
151170 '/app/main/_layout' : {
152171 id : '/app/main/_layout'
153172 path : '/main'
@@ -183,6 +202,7 @@ interface AppRouteRouteChildren {
183202 AppOnboardingRoute : typeof AppOnboardingRoute
184203 AppIndexRoute : typeof AppIndexRoute
185204 AppMainLayoutRoute : typeof AppMainLayoutRouteWithChildren
205+ AppNoteSessionIdRoute : typeof AppNoteSessionIdRoute
186206}
187207
188208const AppRouteRouteChildren : AppRouteRouteChildren = {
@@ -191,6 +211,7 @@ const AppRouteRouteChildren: AppRouteRouteChildren = {
191211 AppOnboardingRoute : AppOnboardingRoute ,
192212 AppIndexRoute : AppIndexRoute ,
193213 AppMainLayoutRoute : AppMainLayoutRouteWithChildren ,
214+ AppNoteSessionIdRoute : AppNoteSessionIdRoute ,
194215}
195216
196217const AppRouteRouteWithChildren = AppRouteRoute . _addFileChildren (
0 commit comments