From dd291868fbbd99b0aace7bb549c616ae2c709a5f Mon Sep 17 00:00:00 2001 From: WorkBuddy Date: Sun, 25 Oct 2026 09:07:09 +0800 Subject: [PATCH] fix: define dashboard metric status --- admin-web/src/types/dashboard.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin-web/src/types/dashboard.ts b/admin-web/src/types/dashboard.ts index cf66a4e..b218861 100644 --- a/admin-web/src/types/dashboard.ts +++ b/admin-web/src/types/dashboard.ts @@ -1,4 +1,5 @@ export type DashboardTone = 'rose' | 'amber' | 'blue' | 'green' | 'purple' | 'red' +export type DashboardMetricStatus = 'ready' | 'forbidden' | 'error' export interface DashboardMetric { key: string @@ -7,6 +8,7 @@ export interface DashboardMetric { trendText: string tone: DashboardTone available: boolean + status: DashboardMetricStatus route: string }