From 087796038ebf6fc5ac1c2bf6060834fbfc321ed3 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Thu, 2 Apr 2026 00:49:33 +0800 Subject: [PATCH] =?UTF-8?q?chore(routes):=20=E9=87=8D=E6=96=B0=E7=94=9F?= =?UTF-8?q?=E6=88=90=E8=B7=AF=E7=94=B1=E6=A0=91=E4=BB=A5=E5=8F=8D=E6=98=A0?= =?UTF-8?q?=E5=81=A5=E5=BA=B7=E6=A3=80=E6=9F=A5=E7=AB=AF=E7=82=B9=E5=88=A0?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routeTree.gen.ts | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/src/routeTree.gen.ts b/src/routeTree.gen.ts index b1b1e73..98e1a7d 100644 --- a/src/routeTree.gen.ts +++ b/src/routeTree.gen.ts @@ -10,7 +10,6 @@ import { Route as rootRouteImport } from './routes/__root' import { Route as IndexRouteImport } from './routes/index' -import { Route as ApiHealthRouteImport } from './routes/api/health' import { Route as ApiSplatRouteImport } from './routes/api/$' import { Route as ApiRpcSplatRouteImport } from './routes/api/rpc.$' @@ -19,11 +18,6 @@ const IndexRoute = IndexRouteImport.update({ path: '/', getParentRoute: () => rootRouteImport, } as any) -const ApiHealthRoute = ApiHealthRouteImport.update({ - id: '/api/health', - path: '/api/health', - getParentRoute: () => rootRouteImport, -} as any) const ApiSplatRoute = ApiSplatRouteImport.update({ id: '/api/$', path: '/api/$', @@ -38,34 +32,30 @@ const ApiRpcSplatRoute = ApiRpcSplatRouteImport.update({ export interface FileRoutesByFullPath { '/': typeof IndexRoute '/api/$': typeof ApiSplatRoute - '/api/health': typeof ApiHealthRoute '/api/rpc/$': typeof ApiRpcSplatRoute } export interface FileRoutesByTo { '/': typeof IndexRoute '/api/$': typeof ApiSplatRoute - '/api/health': typeof ApiHealthRoute '/api/rpc/$': typeof ApiRpcSplatRoute } export interface FileRoutesById { __root__: typeof rootRouteImport '/': typeof IndexRoute '/api/$': typeof ApiSplatRoute - '/api/health': typeof ApiHealthRoute '/api/rpc/$': typeof ApiRpcSplatRoute } export interface FileRouteTypes { fileRoutesByFullPath: FileRoutesByFullPath - fullPaths: '/' | '/api/$' | '/api/health' | '/api/rpc/$' + fullPaths: '/' | '/api/$' | '/api/rpc/$' fileRoutesByTo: FileRoutesByTo - to: '/' | '/api/$' | '/api/health' | '/api/rpc/$' - id: '__root__' | '/' | '/api/$' | '/api/health' | '/api/rpc/$' + to: '/' | '/api/$' | '/api/rpc/$' + id: '__root__' | '/' | '/api/$' | '/api/rpc/$' fileRoutesById: FileRoutesById } export interface RootRouteChildren { IndexRoute: typeof IndexRoute ApiSplatRoute: typeof ApiSplatRoute - ApiHealthRoute: typeof ApiHealthRoute ApiRpcSplatRoute: typeof ApiRpcSplatRoute } @@ -78,13 +68,6 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof IndexRouteImport parentRoute: typeof rootRouteImport } - '/api/health': { - id: '/api/health' - path: '/api/health' - fullPath: '/api/health' - preLoaderRoute: typeof ApiHealthRouteImport - parentRoute: typeof rootRouteImport - } '/api/$': { id: '/api/$' path: '/api/$' @@ -105,7 +88,6 @@ declare module '@tanstack/react-router' { const rootRouteChildren: RootRouteChildren = { IndexRoute: IndexRoute, ApiSplatRoute: ApiSplatRoute, - ApiHealthRoute: ApiHealthRoute, ApiRpcSplatRoute: ApiRpcSplatRoute, } export const routeTree = rootRouteImport