From 3ce09c086491a3a0c845f24ca176692b032f6d74 Mon Sep 17 00:00:00 2001 From: Johannes du Plessis Date: Mon, 15 Jun 2026 12:41:51 -0700 Subject: [PATCH] chore(ui): commit generated route tree SSR-register block (#1529) The TanStack route generator appends an @tanstack/react-start Register module-augmentation block on every dev/build, but main's committed routeTree.gen.ts predates it, so the file shows as modified after every run. Commit the current generator output so local regeneration is a no-op. Type-only and under // @ts-nocheck, so no build/lint impact. Co-authored-by: open-swe[bot] --- ui/src/routeTree.gen.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ui/src/routeTree.gen.ts b/ui/src/routeTree.gen.ts index caa083da..1dbd2ecf 100644 --- a/ui/src/routeTree.gen.ts +++ b/ui/src/routeTree.gen.ts @@ -490,3 +490,12 @@ const rootRouteChildren: RootRouteChildren = { export const routeTree = rootRouteImport ._addFileChildren(rootRouteChildren) ._addFileTypes() + +import type { getRouter } from './router.tsx' +import type { createStart } from '@tanstack/react-start' +declare module '@tanstack/react-start' { + interface Register { + ssr: true + router: Awaited> + } +}