anvil/striker-ui/types/AnvilServers.d.ts

19 lines
323 B
TypeScript

declare type AnvilServer = {
server_name: string;
server_uuid: string;
server_state:
| 'running'
| 'idle'
| 'paused'
| 'in shutdown'
| 'shut off'
| 'crashed'
| 'pmsuspended'
| 'migrating';
server_host_uuid: string;
};
declare type AnvilServers = {
servers: Array<AnvilServer>;
};