Move business logic out of App Router into module packages, add boundary validation scripts, and keep all routes as thin re-exports without changing URLs or API behavior. Co-authored-by: Cursor <cursoragent@cursor.com>
41 lines
1.1 KiB
TypeScript
41 lines
1.1 KiB
TypeScript
/** Sports Center module visual tokens — energetic, premium sports palette. */
|
|
export const sportsCenterTokens = {
|
|
accent: "var(--sports-accent)",
|
|
accentSoft: "var(--sports-accent-soft)",
|
|
energy: "var(--sports-energy)",
|
|
success: "var(--sports-success)",
|
|
warning: "var(--sports-warning)",
|
|
danger: "var(--sports-danger)",
|
|
} as const;
|
|
|
|
export const lifecycleStatusLabels: Record<string, string> = {
|
|
draft: "پیشنویس",
|
|
active: "فعال",
|
|
inactive: "غیرفعال",
|
|
suspended: "معلق",
|
|
archived: "آرشیو",
|
|
};
|
|
|
|
export const memberStatusLabels: Record<string, string> = {
|
|
active: "فعال",
|
|
inactive: "غیرفعال",
|
|
suspended: "معلق",
|
|
cancelled: "لغو شده",
|
|
};
|
|
|
|
export const lifecycleStatusTone: Record<
|
|
string,
|
|
"default" | "primary" | "success" | "warning" | "danger" | "info"
|
|
> = {
|
|
draft: "default",
|
|
active: "success",
|
|
inactive: "default",
|
|
suspended: "warning",
|
|
archived: "danger",
|
|
cancelled: "danger",
|
|
frozen: "info",
|
|
expired: "danger",
|
|
pending: "warning",
|
|
confirmed: "success",
|
|
};
|