Compare commits
2 Commits
634fda168e
...
2f666a9cfa
Author | SHA1 | Date | |
---|---|---|---|
2f666a9cfa | |||
8c2c03eba5 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mcutils-library",
|
"name": "mcutils-library",
|
||||||
"version": "1.2.2",
|
"version": "1.2.3",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
@ -1,10 +1,25 @@
|
|||||||
import { Status } from "../status";
|
import { Status } from "../status";
|
||||||
|
|
||||||
export interface CachedEndpointStatus extends Cache, EndpointStatus {}
|
export interface CachedEndpointStatus extends Cache, EndpointStatus {
|
||||||
|
/**
|
||||||
|
* The endpoint statuses.
|
||||||
|
*/
|
||||||
|
endpoints: EndpointStatus[];
|
||||||
|
}
|
||||||
|
|
||||||
type EndpointStatus = {
|
type EndpointStatus = {
|
||||||
/**
|
/**
|
||||||
* The cached endpoint status.
|
* The name of the service.
|
||||||
*/
|
*/
|
||||||
endpoints: Record<string, Status>;
|
name: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The hostname of the service.
|
||||||
|
*/
|
||||||
|
hostname: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The status of the service.
|
||||||
|
*/
|
||||||
|
status: Status;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user