@@ -14,6 +14,7 @@ import { Route as TypeOnlyReexportRouteImport } from './routes/type-only-reexpor
1414import { Route as StreamRouteImport } from './routes/stream'
1515import { Route as ScriptsRouteImport } from './routes/scripts'
1616import { Route as RawStreamRouteImport } from './routes/raw-stream'
17+ import { Route as PrimitiveBeforeloadErrorRouteImport } from './routes/primitive-beforeload-error'
1718import { Route as PostsRouteImport } from './routes/posts'
1819import { Route as PlainTsTypeAssertionRouteImport } from './routes/plain-ts-type-assertion'
1920import { Route as LinksRouteImport } from './routes/links'
@@ -104,6 +105,12 @@ const RawStreamRoute = RawStreamRouteImport.update({
104105 path : '/raw-stream' ,
105106 getParentRoute : ( ) => rootRouteImport ,
106107} as any )
108+ const PrimitiveBeforeloadErrorRoute =
109+ PrimitiveBeforeloadErrorRouteImport . update ( {
110+ id : '/primitive-beforeload-error' ,
111+ path : '/primitive-beforeload-error' ,
112+ getParentRoute : ( ) => rootRouteImport ,
113+ } as any )
107114const PostsRoute = PostsRouteImport . update ( {
108115 id : '/posts' ,
109116 path : '/posts' ,
@@ -451,6 +458,7 @@ export interface FileRoutesByFullPath {
451458 '/links' : typeof LinksRoute
452459 '/plain-ts-type-assertion' : typeof PlainTsTypeAssertionRoute
453460 '/posts' : typeof PostsRouteWithChildren
461+ '/primitive-beforeload-error' : typeof PrimitiveBeforeloadErrorRoute
454462 '/raw-stream' : typeof RawStreamRouteWithChildren
455463 '/scripts' : typeof ScriptsRoute
456464 '/stream' : typeof StreamRoute
@@ -517,6 +525,7 @@ export interface FileRoutesByTo {
517525 '/inline-scripts' : typeof InlineScriptsRoute
518526 '/links' : typeof LinksRoute
519527 '/plain-ts-type-assertion' : typeof PlainTsTypeAssertionRoute
528+ '/primitive-beforeload-error' : typeof PrimitiveBeforeloadErrorRoute
520529 '/scripts' : typeof ScriptsRoute
521530 '/stream' : typeof StreamRoute
522531 '/type-only-reexport' : typeof TypeOnlyReexportRoute
@@ -582,6 +591,7 @@ export interface FileRoutesById {
582591 '/links' : typeof LinksRoute
583592 '/plain-ts-type-assertion' : typeof PlainTsTypeAssertionRoute
584593 '/posts' : typeof PostsRouteWithChildren
594+ '/primitive-beforeload-error' : typeof PrimitiveBeforeloadErrorRoute
585595 '/raw-stream' : typeof RawStreamRouteWithChildren
586596 '/scripts' : typeof ScriptsRoute
587597 '/stream' : typeof StreamRoute
@@ -654,6 +664,7 @@ export interface FileRouteTypes {
654664 | '/links'
655665 | '/plain-ts-type-assertion'
656666 | '/posts'
667+ | '/primitive-beforeload-error'
657668 | '/raw-stream'
658669 | '/scripts'
659670 | '/stream'
@@ -720,6 +731,7 @@ export interface FileRouteTypes {
720731 | '/inline-scripts'
721732 | '/links'
722733 | '/plain-ts-type-assertion'
734+ | '/primitive-beforeload-error'
723735 | '/scripts'
724736 | '/stream'
725737 | '/type-only-reexport'
@@ -784,6 +796,7 @@ export interface FileRouteTypes {
784796 | '/links'
785797 | '/plain-ts-type-assertion'
786798 | '/posts'
799+ | '/primitive-beforeload-error'
787800 | '/raw-stream'
788801 | '/scripts'
789802 | '/stream'
@@ -856,6 +869,7 @@ export interface RootRouteChildren {
856869 LinksRoute : typeof LinksRoute
857870 PlainTsTypeAssertionRoute : typeof PlainTsTypeAssertionRoute
858871 PostsRoute : typeof PostsRouteWithChildren
872+ PrimitiveBeforeloadErrorRoute : typeof PrimitiveBeforeloadErrorRoute
859873 RawStreamRoute : typeof RawStreamRouteWithChildren
860874 ScriptsRoute : typeof ScriptsRoute
861875 StreamRoute : typeof StreamRoute
@@ -907,6 +921,13 @@ declare module '@tanstack/react-router' {
907921 preLoaderRoute : typeof RawStreamRouteImport
908922 parentRoute : typeof rootRouteImport
909923 }
924+ '/primitive-beforeload-error' : {
925+ id : '/primitive-beforeload-error'
926+ path : '/primitive-beforeload-error'
927+ fullPath : '/primitive-beforeload-error'
928+ preLoaderRoute : typeof PrimitiveBeforeloadErrorRouteImport
929+ parentRoute : typeof rootRouteImport
930+ }
910931 '/posts' : {
911932 id : '/posts'
912933 path : '/posts'
@@ -1620,6 +1641,7 @@ const rootRouteChildren: RootRouteChildren = {
16201641 LinksRoute : LinksRoute ,
16211642 PlainTsTypeAssertionRoute : PlainTsTypeAssertionRoute ,
16221643 PostsRoute : PostsRouteWithChildren ,
1644+ PrimitiveBeforeloadErrorRoute : PrimitiveBeforeloadErrorRoute ,
16231645 RawStreamRoute : RawStreamRouteWithChildren ,
16241646 ScriptsRoute : ScriptsRoute ,
16251647 StreamRoute : StreamRoute ,
0 commit comments