format
This commit is contained in:
1 parent
7771a0ce35
commit
1bf4c75418
1 file changed
+13
-2
@@ -1,7 +1,15 @@
|
|||||||
export interface CheckMetadata {
|
export interface CheckMetadata {
|
||||||
monitorId: string;
|
monitorId: string;
|
||||||
teamId: string;
|
teamId: string;
|
||||||
type: "http" | "ping" | "pagespeed" | "hardware" | "docker" | "port" | "game" | "unknown";
|
type:
|
||||||
|
| "http"
|
||||||
|
| "ping"
|
||||||
|
| "pagespeed"
|
||||||
|
| "hardware"
|
||||||
|
| "docker"
|
||||||
|
| "port"
|
||||||
|
| "game"
|
||||||
|
| "unknown";
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface CheckCpuInfo {
|
export interface CheckCpuInfo {
|
||||||
@@ -146,7 +154,10 @@ export interface ChecksResponse {
|
|||||||
checksCount: number;
|
checksCount: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type CheckSnapshot = Omit<Check, "metadata" | "ack" | "ackAt" | "expiry" | "__v" | "updatedAt">;
|
export type CheckSnapshot = Omit<
|
||||||
|
Check,
|
||||||
|
"metadata" | "ack" | "ackAt" | "expiry" | "__v" | "updatedAt"
|
||||||
|
>;
|
||||||
|
|
||||||
export interface HasResponseTime {
|
export interface HasResponseTime {
|
||||||
responseTime: number;
|
responseTime: number;
|
||||||
|
|||||||
Reference in new issue
Block a user