mirror of https://github.com/AIR-EISTI/hades.git
21 lines
346 B
TypeScript
21 lines
346 B
TypeScript
export class ServerInfo{
|
|
name: string;
|
|
nickname: string;
|
|
status: string;
|
|
command: string;
|
|
args: Array<string>;
|
|
stdout: Array<string>;
|
|
exitCode: number;
|
|
pid: number;
|
|
}
|
|
|
|
export class ServerList {
|
|
[name: string]: ServerInfo
|
|
}
|
|
|
|
export class ServerForm {
|
|
nickname: string;
|
|
game: string;
|
|
vars: {[name: string]: string};
|
|
}
|