refactor service

This commit is contained in:
Alex Holliday committed 2026-01-02 22:16:00 +00:00
1 parent 82cb59ae9e
commit 56aa7b3e1a
21 files changed
+301 -162

No files matched your search

+2 -1
View File
@@ -19,11 +19,13 @@ export const MonitorStatuses = [
"down",
"paused",
"initializing",
"resuming",
] as const;
export type MonitorStatus = (typeof MonitorStatuses)[number];
export interface IMonitor {
id: string;
checks: ICheck[];
createdAt: string;
createdBy: string;
@@ -47,7 +49,6 @@ export interface IMonitor {
temperature: number;
};
__v: number;
_id: string;
}
export interface IMonitorWithStats {