13 lines
276 B
TypeScript
13 lines
276 B
TypeScript
declare type AnvilStatusNode = {
|
|
state: 'unknown' | 'off' | 'on' | 'accessible' | 'ready';
|
|
state_percent: number;
|
|
state_message: string;
|
|
};
|
|
|
|
declare type AnvilStatus = {
|
|
anvil_state: 'optimal' | 'not_ready' | 'degraded';
|
|
nodes: Array<{
|
|
AnvilStatusNode;
|
|
}>;
|
|
};
|