From a92780373db65abd5786a3b768d5c0c594ec4e7c Mon Sep 17 00:00:00 2001 From: chenhang Date: Thu, 9 Jul 2026 11:59:35 +0800 Subject: [PATCH] chore --- src/router/routes.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/router/routes.ts b/src/router/routes.ts index ce1f79b8..f797043b 100644 --- a/src/router/routes.ts +++ b/src/router/routes.ts @@ -1,17 +1,10 @@ /** * 类型化路由常量 * - * 集中管理应用中使用的路由路径,与 Flutter `lib/router/app_router.dart` 的 - * `AppRoutes` 一一对应。被服务端组件、客户端组件、`src/proxy.ts` 三端共用。 - * * 关键设计: * - `as const` 让每个值都是字符串字面量类型,可用于 `PageProps<'/literal'>`。 * - 不导出 Client-only 模块(`use-auth-gate` 走独立路径导入),保证 Server bundle 不被污染。 * - 动态深链通过 `ROUTE_BUILDERS` 函数生成,避免手拼字符串。 - * - * 注意:proxy 路由跳转逻辑(2026-06-15 迁出),但本文件的类型化常量仍在 - * 被 8 个组件(auth-screen / chat-header / DeepLinkPersist / - * error / not-found / page / sidebar-screen / splash-screen)使用 —— 不能整体注释。 */ import type { PayChannel } from "@/data/dto/payment";