@@ -17,6 +17,7 @@ import { Route as PostsRouteImport } from './routes/posts'
1717import { Route as LinksRouteImport } from './routes/links'
1818import { Route as InlineScriptsRouteImport } from './routes/inline-scripts'
1919import { Route as DeferredRouteImport } from './routes/deferred'
20+ import { Route as ClientOnlyRouteImport } from './routes/client-only'
2021import { Route as LayoutRouteImport } from './routes/_layout'
2122import { Route as SearchParamsRouteRouteImport } from './routes/search-params/route'
2223import { Route as NotFoundRouteRouteImport } from './routes/not-found/route'
@@ -92,6 +93,11 @@ const DeferredRoute = DeferredRouteImport.update({
9293 path : '/deferred' ,
9394 getParentRoute : ( ) => rootRouteImport ,
9495} as any )
96+ const ClientOnlyRoute = ClientOnlyRouteImport . update ( {
97+ id : '/client-only' ,
98+ path : '/client-only' ,
99+ getParentRoute : ( ) => rootRouteImport ,
100+ } as any )
95101const LayoutRoute = LayoutRouteImport . update ( {
96102 id : '/_layout' ,
97103 getParentRoute : ( ) => rootRouteImport ,
@@ -268,6 +274,7 @@ export interface FileRoutesByFullPath {
268274 '/' : typeof IndexRoute
269275 '/not-found' : typeof NotFoundRouteRouteWithChildren
270276 '/search-params' : typeof SearchParamsRouteRouteWithChildren
277+ '/client-only' : typeof ClientOnlyRoute
271278 '/deferred' : typeof DeferredRoute
272279 '/inline-scripts' : typeof InlineScriptsRoute
273280 '/links' : typeof LinksRoute
@@ -307,6 +314,7 @@ export interface FileRoutesByFullPath {
307314}
308315export interface FileRoutesByTo {
309316 '/' : typeof IndexRoute
317+ '/client-only' : typeof ClientOnlyRoute
310318 '/deferred' : typeof DeferredRoute
311319 '/inline-scripts' : typeof InlineScriptsRoute
312320 '/links' : typeof LinksRoute
@@ -346,6 +354,7 @@ export interface FileRoutesById {
346354 '/not-found' : typeof NotFoundRouteRouteWithChildren
347355 '/search-params' : typeof SearchParamsRouteRouteWithChildren
348356 '/_layout' : typeof LayoutRouteWithChildren
357+ '/client-only' : typeof ClientOnlyRoute
349358 '/deferred' : typeof DeferredRoute
350359 '/inline-scripts' : typeof InlineScriptsRoute
351360 '/links' : typeof LinksRoute
@@ -390,6 +399,7 @@ export interface FileRouteTypes {
390399 | '/'
391400 | '/not-found'
392401 | '/search-params'
402+ | '/client-only'
393403 | '/deferred'
394404 | '/inline-scripts'
395405 | '/links'
@@ -429,6 +439,7 @@ export interface FileRouteTypes {
429439 fileRoutesByTo : FileRoutesByTo
430440 to :
431441 | '/'
442+ | '/client-only'
432443 | '/deferred'
433444 | '/inline-scripts'
434445 | '/links'
@@ -467,6 +478,7 @@ export interface FileRouteTypes {
467478 | '/not-found'
468479 | '/search-params'
469480 | '/_layout'
481+ | '/client-only'
470482 | '/deferred'
471483 | '/inline-scripts'
472484 | '/links'
@@ -511,6 +523,7 @@ export interface RootRouteChildren {
511523 NotFoundRouteRoute : typeof NotFoundRouteRouteWithChildren
512524 SearchParamsRouteRoute : typeof SearchParamsRouteRouteWithChildren
513525 LayoutRoute : typeof LayoutRouteWithChildren
526+ ClientOnlyRoute : typeof ClientOnlyRoute
514527 DeferredRoute : typeof DeferredRoute
515528 InlineScriptsRoute : typeof InlineScriptsRoute
516529 LinksRoute : typeof LinksRoute
@@ -586,6 +599,13 @@ declare module '@tanstack/react-router' {
586599 preLoaderRoute : typeof DeferredRouteImport
587600 parentRoute : typeof rootRouteImport
588601 }
602+ '/client-only' : {
603+ id : '/client-only'
604+ path : '/client-only'
605+ fullPath : '/client-only'
606+ preLoaderRoute : typeof ClientOnlyRouteImport
607+ parentRoute : typeof rootRouteImport
608+ }
589609 '/_layout' : {
590610 id : '/_layout'
591611 path : ''
@@ -955,6 +975,7 @@ const rootRouteChildren: RootRouteChildren = {
955975 NotFoundRouteRoute : NotFoundRouteRouteWithChildren ,
956976 SearchParamsRouteRoute : SearchParamsRouteRouteWithChildren ,
957977 LayoutRoute : LayoutRouteWithChildren ,
978+ ClientOnlyRoute : ClientOnlyRoute ,
958979 DeferredRoute : DeferredRoute ,
959980 InlineScriptsRoute : InlineScriptsRoute ,
960981 LinksRoute : LinksRoute ,
0 commit comments