feat(payment): sync plans and add coins rules

This commit is contained in:
2026-06-29 14:11:50 +08:00
parent 274fe87ced
commit e372d58b4c
24 changed files with 1099 additions and 224 deletions
+3
View File
@@ -22,6 +22,7 @@ export const ROUTES = {
auth: "/auth",
sidebar: "/sidebar",
subscription: "/subscription",
coinsRules: "/coins-rules",
} as const;
export type StaticRoute = (typeof ROUTES)[keyof typeof ROUTES];
@@ -59,6 +60,7 @@ export const PROTECTED_ROUTES: readonly StaticRoute[] = [
export const PUBLIC_ROUTES: readonly StaticRoute[] = [
ROUTES.chat,
ROUTES.sidebar,
ROUTES.coinsRules,
] as const;
/** 所有静态路由,供 `proxy.ts` matcher 与未来 sitemap 使用 */
@@ -67,6 +69,7 @@ export const ALL_STATIC_ROUTES: readonly StaticRoute[] = [
ROUTES.chat,
ROUTES.auth,
ROUTES.sidebar,
ROUTES.coinsRules,
] as const;
/** 联合路由类型,包含静态路由与已知动态路由 */