fix monitor stats bug

This commit is contained in:
Alex Holliday committed 2026-02-18 00:06:02 +00:00
1 parent c7ccdafec2
commit 31698bd002
6 files changed
+121 -5

No files matched your search

@@ -5,6 +5,7 @@ export interface IMonitorStatsRepository {
// single fetch
findByMonitorId(monitorId: string): Promise<MonitorStats>;
// update
updateByMonitorId(monitorId: string, data: Omit<MonitorStats, "id" | "monitorId" | "createdAt" | "updatedAt">): Promise<MonitorStats>;
// delete
deleteByMonitorId(monitorId: string): Promise<MonitorStats>;
deleteByMonitorIds(monitorIds: string[]): Promise<number>;