fix: define dashboard metric status
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user