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