parent
965a50ddf5
commit
514755c559
3 changed files with 21 additions and 0 deletions
@ -0,0 +1,9 @@ |
|||||||
|
const nodeState: ReadonlyMap<string, string> = new Map([ |
||||||
|
['unknown', 'Unknown'], |
||||||
|
['off', 'Off'], |
||||||
|
['on', 'On'], |
||||||
|
['accessible', 'Accessible'], |
||||||
|
['ready', 'Ready'], |
||||||
|
]); |
||||||
|
|
||||||
|
export default nodeState; |
@ -0,0 +1,12 @@ |
|||||||
|
const serverState: ReadonlyMap<string, string> = new Map([ |
||||||
|
['running', 'Running'], |
||||||
|
['idle', 'Idle'], |
||||||
|
['paused', 'Paused'], |
||||||
|
['in_shutdown', 'Shutting Down'], |
||||||
|
['shut_off', 'Off'], |
||||||
|
['crashed', 'crashed'], |
||||||
|
['pmsuspended', 'Suspended'], |
||||||
|
['migrating', 'Migrating'], |
||||||
|
]); |
||||||
|
|
||||||
|
export default serverState; |
Loading…
Reference in new issue