refactor: move ROUTES from @/lib/routes to @/router/routes

This commit is contained in:
2026-06-10 10:53:43 +08:00
parent a4b902893e
commit 2cba315214
15 changed files with 45 additions and 12 deletions
+14
View File
@@ -0,0 +1,14 @@
/**
* Router 公共导出
*
* 集中管理:
* - 路由常量(ROUTES、ROUTE_BUILDERS、AUTH_ONLY_ROUTES、PUBLIC_ROUTES、ALL_STATIC_ROUTES
* - Next.js 16 ProxyCDN 端鉴权重定向)
*
* 业务层导入示例:
* ```ts
* import { ROUTES, AUTH_ONLY_ROUTES, type Route } from "@/router";
* ```
*/
export * from "./routes";
export { proxy, config as proxyConfig } from "./proxy";