2 * Fields returned by the back-end.
4 export interface CephDevice {
6 location: { host: string; dev: string }[];
8 life_expectancy_min?: string;
9 life_expectancy_max?: string;
10 life_expectancy_stamp?: string;
14 * Fields added by the front-end. Fields may be empty if no expectancy is provided for the
15 * CephDevice interface.
17 export interface CdDevice extends CephDevice {
18 life_expectancy_weeks?: {
22 state?: 'good' | 'warning' | 'bad' | 'stale' | 'unknown';
23 readableDaemons?: string; // Human readable daemons (which can wrap lines inside the table cell)