diff --git a/package.json b/package.json index 176ea7a..a50303e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mcutils-library", - "version": "1.2.2", + "version": "1.2.3", "description": "", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/types/mojang/endpoint-status.ts b/src/types/mojang/endpoint-status.ts index 17370be..0ffd000 100644 --- a/src/types/mojang/endpoint-status.ts +++ b/src/types/mojang/endpoint-status.ts @@ -1,10 +1,25 @@ import { Status } from "../status"; -export interface CachedEndpointStatus extends Cache, EndpointStatus {} +export interface CachedEndpointStatus extends Cache, EndpointStatus { + /** + * The endpoint statuses. + */ + endpoints: EndpointStatus[]; +} type EndpointStatus = { /** - * The cached endpoint status. + * The name of the service. */ - endpoints: Record; + name: string; + + /** + * The hostname of the service. + */ + hostname: string; + + /** + * The status of the service. + */ + status: Status; };