@@ -33,7 +33,6 @@ import { Route as SearchParamsDefaultRouteImport } from './routes/search-params/
3333import { Route as RedirectTargetRouteImport } from './routes/redirect/$target'
3434import { Route as PostsPostIdRouteImport } from './routes/posts.$postId'
3535import { Route as NotFoundViaLoaderRouteImport } from './routes/not-found/via-loader'
36- import { Route as NotFoundViaHeadRouteImport } from './routes/not-found/via-head'
3736import { Route as NotFoundViaBeforeLoadRouteImport } from './routes/not-found/via-beforeLoad'
3837import { Route as MultiCookieRedirectTargetRouteImport } from './routes/multi-cookie-redirect/target'
3938import { Route as ApiUsersRouteImport } from './routes/api.users'
@@ -174,11 +173,6 @@ const NotFoundViaLoaderRoute = NotFoundViaLoaderRouteImport.update({
174173 path : '/via-loader' ,
175174 getParentRoute : ( ) => NotFoundRouteRoute ,
176175} as any )
177- const NotFoundViaHeadRoute = NotFoundViaHeadRouteImport . update ( {
178- id : '/via-head' ,
179- path : '/via-head' ,
180- getParentRoute : ( ) => NotFoundRouteRoute ,
181- } as any )
182176const NotFoundViaBeforeLoadRoute = NotFoundViaBeforeLoadRouteImport . update ( {
183177 id : '/via-beforeLoad' ,
184178 path : '/via-beforeLoad' ,
@@ -285,7 +279,6 @@ export interface FileRoutesByFullPath {
285279 '/api/users' : typeof ApiUsersRouteWithChildren
286280 '/multi-cookie-redirect/target' : typeof MultiCookieRedirectTargetRoute
287281 '/not-found/via-beforeLoad' : typeof NotFoundViaBeforeLoadRoute
288- '/not-found/via-head' : typeof NotFoundViaHeadRoute
289282 '/not-found/via-loader' : typeof NotFoundViaLoaderRoute
290283 '/posts/$postId' : typeof PostsPostIdRoute
291284 '/redirect/$target' : typeof RedirectTargetRouteWithChildren
@@ -323,7 +316,6 @@ export interface FileRoutesByTo {
323316 '/api/users' : typeof ApiUsersRouteWithChildren
324317 '/multi-cookie-redirect/target' : typeof MultiCookieRedirectTargetRoute
325318 '/not-found/via-beforeLoad' : typeof NotFoundViaBeforeLoadRoute
326- '/not-found/via-head' : typeof NotFoundViaHeadRoute
327319 '/not-found/via-loader' : typeof NotFoundViaLoaderRoute
328320 '/posts/$postId' : typeof PostsPostIdRoute
329321 '/search-params/default' : typeof SearchParamsDefaultRoute
@@ -366,7 +358,6 @@ export interface FileRoutesById {
366358 '/api/users' : typeof ApiUsersRouteWithChildren
367359 '/multi-cookie-redirect/target' : typeof MultiCookieRedirectTargetRoute
368360 '/not-found/via-beforeLoad' : typeof NotFoundViaBeforeLoadRoute
369- '/not-found/via-head' : typeof NotFoundViaHeadRoute
370361 '/not-found/via-loader' : typeof NotFoundViaLoaderRoute
371362 '/posts/$postId' : typeof PostsPostIdRoute
372363 '/redirect/$target' : typeof RedirectTargetRouteWithChildren
@@ -410,7 +401,6 @@ export interface FileRouteTypes {
410401 | '/api/users'
411402 | '/multi-cookie-redirect/target'
412403 | '/not-found/via-beforeLoad'
413- | '/not-found/via-head'
414404 | '/not-found/via-loader'
415405 | '/posts/$postId'
416406 | '/redirect/$target'
@@ -448,7 +438,6 @@ export interface FileRouteTypes {
448438 | '/api/users'
449439 | '/multi-cookie-redirect/target'
450440 | '/not-found/via-beforeLoad'
451- | '/not-found/via-head'
452441 | '/not-found/via-loader'
453442 | '/posts/$postId'
454443 | '/search-params/default'
@@ -490,7 +479,6 @@ export interface FileRouteTypes {
490479 | '/api/users'
491480 | '/multi-cookie-redirect/target'
492481 | '/not-found/via-beforeLoad'
493- | '/not-found/via-head'
494482 | '/not-found/via-loader'
495483 | '/posts/$postId'
496484 | '/redirect/$target'
@@ -710,13 +698,6 @@ declare module '@tanstack/react-router' {
710698 preLoaderRoute : typeof NotFoundViaLoaderRouteImport
711699 parentRoute : typeof NotFoundRouteRoute
712700 }
713- '/not-found/via-head' : {
714- id : '/not-found/via-head'
715- path : '/via-head'
716- fullPath : '/not-found/via-head'
717- preLoaderRoute : typeof NotFoundViaHeadRouteImport
718- parentRoute : typeof NotFoundRouteRoute
719- }
720701 '/not-found/via-beforeLoad' : {
721702 id : '/not-found/via-beforeLoad'
722703 path : '/via-beforeLoad'
@@ -841,14 +822,12 @@ declare module '@tanstack/react-router' {
841822
842823interface NotFoundRouteRouteChildren {
843824 NotFoundViaBeforeLoadRoute : typeof NotFoundViaBeforeLoadRoute
844- NotFoundViaHeadRoute : typeof NotFoundViaHeadRoute
845825 NotFoundViaLoaderRoute : typeof NotFoundViaLoaderRoute
846826 NotFoundIndexRoute : typeof NotFoundIndexRoute
847827}
848828
849829const NotFoundRouteRouteChildren : NotFoundRouteRouteChildren = {
850830 NotFoundViaBeforeLoadRoute : NotFoundViaBeforeLoadRoute ,
851- NotFoundViaHeadRoute : NotFoundViaHeadRoute ,
852831 NotFoundViaLoaderRoute : NotFoundViaLoaderRoute ,
853832 NotFoundIndexRoute : NotFoundIndexRoute ,
854833}
0 commit comments