Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
19 lines
551 B
Plaintext
19 lines
551 B
Plaintext
import { RestCommand } from "../../types.js";
|
|
|
|
//#region src/rest/commands/server/health.d.ts
|
|
type ServerHealthOutput = {
|
|
status: 'ok' | 'warn' | 'error';
|
|
releaseId?: string;
|
|
serviceId?: string;
|
|
checks?: {
|
|
[name: string]: Record<string, any>[];
|
|
};
|
|
};
|
|
/**
|
|
* Get the current health status of the server.
|
|
* @returns The current health status of the server.
|
|
*/
|
|
declare const serverHealth: <Schema>() => RestCommand<ServerHealthOutput, Schema>;
|
|
//#endregion
|
|
export { ServerHealthOutput, serverHealth };
|
|
//# sourceMappingURL=health.d.ts.map |