refactor: modify AnvilStatus type to match current definition in docs

main
Josue 4 years ago committed by Tsu-ba-me
parent 43e320a62b
commit 799f6d65aa
  1. 8
      striker-ui/types/AnvilStatus.d.ts

@ -1,4 +1,8 @@
declare type AnvilStatus = {
nodes: AnvilNodeStatus[];
timestamp: number;
anvil_state: 'optimal' | 'not_ready' | 'degraded';
nodes: Array<{
state: 'unknown' | 'off' | 'on' | 'accessible' | 'ready';
state_percent: number;
state_message: string;
}>;
};

Loading…
Cancel
Save