parent
799f6d65aa
commit
306ca7c4f9
4 changed files with 12 additions and 5 deletions
@ -1,8 +1,8 @@ |
||||
declare type AnvilListItem = { |
||||
anvil_name: string; |
||||
anvil_uuid: string; |
||||
anvil_state: string; |
||||
nodes: Array<{ |
||||
node_name: string; |
||||
node_uuid: string; |
||||
AnvilListItemNode; |
||||
}>; |
||||
}; |
||||
|
@ -0,0 +1,4 @@ |
||||
declare type AnvilListItemNode = { |
||||
node_name: string; |
||||
node_uuid: string; |
||||
}; |
@ -1,8 +1,6 @@ |
||||
declare type AnvilStatus = { |
||||
anvil_state: 'optimal' | 'not_ready' | 'degraded'; |
||||
nodes: Array<{ |
||||
state: 'unknown' | 'off' | 'on' | 'accessible' | 'ready'; |
||||
state_percent: number; |
||||
state_message: string; |
||||
AnvilStatusNode; |
||||
}>; |
||||
}; |
||||
|
@ -0,0 +1,5 @@ |
||||
declare type AnvilStatusNode = { |
||||
state: 'unknown' | 'off' | 'on' | 'accessible' | 'ready'; |
||||
state_percent: number; |
||||
state_message: string; |
||||
}; |
Loading…
Reference in new issue