update services/repositories to reflect new monitorstatus type

This commit is contained in:
Alex Holliday committed 2026-02-11 19:22:35 +00:00
1 parent d622bce6c1
commit 94afe19b37
7 files changed
+24 -30

No files matched your search

+2 -1
View File
@@ -11,6 +11,7 @@ import type {
Monitor,
MonitorMatchMethod,
MonitorType,
MonitorStatus,
} from "@/types/index.js";
export interface MonitorStatusResponse<T = any> {
@@ -106,7 +107,7 @@ export interface MonitorPayloadMap {
export type StatusChangeResult = {
monitor: Monitor;
statusChanged: boolean;
prevStatus: boolean | undefined;
prevStatus: MonitorStatus;
code: number;
timestamp: number;
};