UNPKG

battlemetrics-client

Version:

TypeScript client library for the BattleMetrics API

52 lines 1.11 kB
/** * The set of possible resource types returned by the BattleMetrics API. */ export declare enum ResourceType { Game = "game", Server = "server" } /** * Server status values. */ export declare enum ServerStatus { Online = "online", Offline = "offline", Dead = "dead", Removed = "removed", Invalid = "invalid" } /** * Query status values. */ export declare enum QueryStatus { Valid = "valid", Invalid = "invalid", Timeout = "timeout" } /** * RCON status values. */ export declare enum RconStatus { Connected = "connected", Disconnected = "disconnected", PasswordRejected = "password-rejected", Timeout = "timeout", Refused = "refused", Unknown = "unknown" } /** * Connection type values. */ export declare enum ConnectionType { Source = "source", WS = "ws" } /** * The set of possible pagination directions. */ export type PaginationDirection = "next" | "prev"; export interface PaginationLinks extends Partial<Record<PaginationDirection, string>> { first?: string; last?: string; } //# sourceMappingURL=common.d.ts.map