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 DashboardTone = 'rose' | 'amber' | 'blue' | 'green' | 'purple' | 'red'
|
||||||
|
export type DashboardMetricStatus = 'ready' | 'forbidden' | 'error'
|
||||||
|
|
||||||
export interface DashboardMetric {
|
export interface DashboardMetric {
|
||||||
key: string
|
key: string
|
||||||
@@ -7,6 +8,7 @@ export interface DashboardMetric {
|
|||||||
trendText: string
|
trendText: string
|
||||||
tone: DashboardTone
|
tone: DashboardTone
|
||||||
available: boolean
|
available: boolean
|
||||||
|
status: DashboardMetricStatus
|
||||||
route: string
|
route: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user