@@ -33,7 +33,7 @@ import { Route as SearchParamsLoaderThrowsRedirectRouteImport } from './routes/s
3333import { Route as SearchParamsDefaultRouteImport } from './routes/search-params/default'
3434import { Route as RedirectTargetRouteImport } from './routes/redirect/$target'
3535import { Route as PostsPostIdRouteImport } from './routes/posts.$postId'
36- import { Route as NotFoundViaLoadersRouteImport } from './routes/not-found/via-loaders '
36+ import { Route as NotFoundViaLoaderWithContextRouteImport } from './routes/not-found/via-loader-with-context '
3737import { Route as NotFoundViaLoaderRouteImport } from './routes/not-found/via-loader'
3838import { Route as NotFoundViaHeadRouteImport } from './routes/not-found/via-head'
3939import { Route as NotFoundViaBeforeLoadRouteImport } from './routes/not-found/via-beforeLoad'
@@ -166,11 +166,12 @@ const PostsPostIdRoute = PostsPostIdRouteImport.update({
166166 path : '/$postId' ,
167167 getParentRoute : ( ) => PostsRoute ,
168168} as any )
169- const NotFoundViaLoadersRoute = NotFoundViaLoadersRouteImport . update ( {
170- id : '/via-loaders' ,
171- path : '/via-loaders' ,
172- getParentRoute : ( ) => NotFoundRouteRoute ,
173- } as any )
169+ const NotFoundViaLoaderWithContextRoute =
170+ NotFoundViaLoaderWithContextRouteImport . update ( {
171+ id : '/via-loader-with-context' ,
172+ path : '/via-loader-with-context' ,
173+ getParentRoute : ( ) => NotFoundRouteRoute ,
174+ } as any )
174175const NotFoundViaLoaderRoute = NotFoundViaLoaderRouteImport . update ( {
175176 id : '/via-loader' ,
176177 path : '/via-loader' ,
@@ -286,7 +287,7 @@ export interface FileRoutesByFullPath {
286287 '/not-found/via-beforeLoad' : typeof NotFoundViaBeforeLoadRoute
287288 '/not-found/via-head' : typeof NotFoundViaHeadRoute
288289 '/not-found/via-loader' : typeof NotFoundViaLoaderRoute
289- '/not-found/via-loaders ' : typeof NotFoundViaLoadersRoute
290+ '/not-found/via-loader-with-context ' : typeof NotFoundViaLoaderWithContextRoute
290291 '/posts/$postId' : typeof PostsPostIdRoute
291292 '/redirect/$target' : typeof RedirectTargetRouteWithChildren
292293 '/search-params/default' : typeof SearchParamsDefaultRoute
@@ -323,7 +324,7 @@ export interface FileRoutesByTo {
323324 '/not-found/via-beforeLoad' : typeof NotFoundViaBeforeLoadRoute
324325 '/not-found/via-head' : typeof NotFoundViaHeadRoute
325326 '/not-found/via-loader' : typeof NotFoundViaLoaderRoute
326- '/not-found/via-loaders ' : typeof NotFoundViaLoadersRoute
327+ '/not-found/via-loader-with-context ' : typeof NotFoundViaLoaderWithContextRoute
327328 '/posts/$postId' : typeof PostsPostIdRoute
328329 '/search-params/default' : typeof SearchParamsDefaultRoute
329330 '/search-params/loader-throws-redirect' : typeof SearchParamsLoaderThrowsRedirectRoute
@@ -365,7 +366,7 @@ export interface FileRoutesById {
365366 '/not-found/via-beforeLoad' : typeof NotFoundViaBeforeLoadRoute
366367 '/not-found/via-head' : typeof NotFoundViaHeadRoute
367368 '/not-found/via-loader' : typeof NotFoundViaLoaderRoute
368- '/not-found/via-loaders ' : typeof NotFoundViaLoadersRoute
369+ '/not-found/via-loader-with-context ' : typeof NotFoundViaLoaderWithContextRoute
369370 '/posts/$postId' : typeof PostsPostIdRoute
370371 '/redirect/$target' : typeof RedirectTargetRouteWithChildren
371372 '/search-params/default' : typeof SearchParamsDefaultRoute
@@ -409,7 +410,7 @@ export interface FileRouteTypes {
409410 | '/not-found/via-beforeLoad'
410411 | '/not-found/via-head'
411412 | '/not-found/via-loader'
412- | '/not-found/via-loaders '
413+ | '/not-found/via-loader-with-context '
413414 | '/posts/$postId'
414415 | '/redirect/$target'
415416 | '/search-params/default'
@@ -446,7 +447,7 @@ export interface FileRouteTypes {
446447 | '/not-found/via-beforeLoad'
447448 | '/not-found/via-head'
448449 | '/not-found/via-loader'
449- | '/not-found/via-loaders '
450+ | '/not-found/via-loader-with-context '
450451 | '/posts/$postId'
451452 | '/search-params/default'
452453 | '/search-params/loader-throws-redirect'
@@ -487,7 +488,7 @@ export interface FileRouteTypes {
487488 | '/not-found/via-beforeLoad'
488489 | '/not-found/via-head'
489490 | '/not-found/via-loader'
490- | '/not-found/via-loaders '
491+ | '/not-found/via-loader-with-context '
491492 | '/posts/$postId'
492493 | '/redirect/$target'
493494 | '/search-params/default'
@@ -690,11 +691,11 @@ declare module '@tanstack/react-router' {
690691 preLoaderRoute : typeof PostsPostIdRouteImport
691692 parentRoute : typeof PostsRoute
692693 }
693- '/not-found/via-loaders ' : {
694- id : '/not-found/via-loaders '
695- path : '/via-loaders '
696- fullPath : '/not-found/via-loaders '
697- preLoaderRoute : typeof NotFoundViaLoadersRouteImport
694+ '/not-found/via-loader-with-context ' : {
695+ id : '/not-found/via-loader-with-context '
696+ path : '/via-loader-with-context '
697+ fullPath : '/not-found/via-loader-with-context '
698+ preLoaderRoute : typeof NotFoundViaLoaderWithContextRouteImport
698699 parentRoute : typeof NotFoundRouteRoute
699700 }
700701 '/not-found/via-loader' : {
@@ -837,15 +838,15 @@ interface NotFoundRouteRouteChildren {
837838 NotFoundViaBeforeLoadRoute : typeof NotFoundViaBeforeLoadRoute
838839 NotFoundViaHeadRoute : typeof NotFoundViaHeadRoute
839840 NotFoundViaLoaderRoute : typeof NotFoundViaLoaderRoute
840- NotFoundViaLoadersRoute : typeof NotFoundViaLoadersRoute
841+ NotFoundViaLoaderWithContextRoute : typeof NotFoundViaLoaderWithContextRoute
841842 NotFoundIndexRoute : typeof NotFoundIndexRoute
842843}
843844
844845const NotFoundRouteRouteChildren : NotFoundRouteRouteChildren = {
845846 NotFoundViaBeforeLoadRoute : NotFoundViaBeforeLoadRoute ,
846847 NotFoundViaHeadRoute : NotFoundViaHeadRoute ,
847848 NotFoundViaLoaderRoute : NotFoundViaLoaderRoute ,
848- NotFoundViaLoadersRoute : NotFoundViaLoadersRoute ,
849+ NotFoundViaLoaderWithContextRoute : NotFoundViaLoaderWithContextRoute ,
849850 NotFoundIndexRoute : NotFoundIndexRoute ,
850851}
851852
0 commit comments