Update the server info interface to be inline with my new format for interfaces

This commit is contained in:
Oliver Akins 2022-03-07 00:49:59 -06:00
parent 06cfea7564
commit a8311a6834
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99

View file

@ -1,7 +1,15 @@
import { IColour } from "../Colour";
import { ISpaceship } from "../Spaceship";
import { ServerResponse } from "../ServerResponse"; import { ServerResponse } from "../ServerResponse";
/** The data sent as a response to `server.info`. */ /** The data sent as a response to `server.info`. */
export interface IServerInfoResponse extends ServerResponse { export interface IServerInfo extends ServerResponse {
/** The version that the server is currently running. */ /** The version that the server is currently running. */
version?: string; version?: string;
/** The ship colours that are supported by the server. */
colours?: IColour[];
/** The ship icons that are supported by the server. */
shipIcons?: ISpaceship[];
} }