First pass at connecting to console and rendering the output from the server.

This commit is contained in:
Dane Everitt 2019-06-29 17:18:17 -07:00
parent 6db9f65e0f
commit e0838c895a
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 27 additions and 11 deletions

View file

@ -2,7 +2,7 @@ import getServer, { Server } from '@/api/server/getServer';
import { action, Action, thunk, Thunk } from 'easy-peasy';
import socket, { SocketState } from './socket';
export type ServerStatus = 'offline' | 'starting' | 'stopping' | 'online';
export type ServerStatus = 'offline' | 'starting' | 'stopping' | 'running';
export interface ServerState {
data?: Server;