Skip to content

Commit

Permalink
add some status to status wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
MonPote committed Nov 15, 2024
1 parent e82bca8 commit 3be4960
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/lib/components/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export type Size =
| 'huge'
| 'massive';
// Replace the "success" by "health", but keep the key in the color-palette for the moment.
export type Variant = 'base' | 'selected' | 'healthy' | 'warning' | 'danger';
export type Variant = 'base' | 'selected' | 'healthy' | 'warning' | 'danger';
// metric chart
// url query
export const QUERY_LAST_SEVEN_DAYS = 'now-7d';
Expand Down Expand Up @@ -64,4 +64,10 @@ export const queryTimeSpansCodes: QueryTimeSpan[] = [
},
];
export const NAN_STRING = 'NAN';
export type Status = 'unknown' | 'healthy' | 'warning' | 'critical';
export type Status =
| 'none'
| 'unknown'
| 'info'
| 'healthy'
| 'warning'
| 'critical';

0 comments on commit 3be4960

Please sign in to comment.