hades/client/app/models/server.ts

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};
}