refactor: change data type to match the specs in the design document

main
Josue 4 years ago committed by Tsu-ba-me
parent cd4a42d295
commit 334623e3bf
  1. 10
      striker-ui/types/AnvilServers.d.ts

@ -1,7 +1,15 @@
declare type AnvilServer = { declare type AnvilServer = {
server_name: string; server_name: string;
server_uuid: string; server_uuid: string;
server_state: string; server_state:
| 'running'
| 'idle'
| 'paused'
| 'in_shutdown'
| 'shut_off'
| 'crashed'
| 'pmsuspended'
| 'migrating';
server_host_index: number; server_host_index: number;
}; };

Loading…
Cancel
Save