update services/repositories to reflect new monitorstatus type
This commit is contained in:
1 parent
d622bce6c1
commit
94afe19b37
7 files changed
+24
-30
No files matched your search
@@ -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;
|
||||
};
|
||||
Reference in new issue
Block a user