This commit is contained in:
Alex Holliday committed 2026-01-15 23:45:40 +00:00
1 parent ed80837810
commit 0f764ca084
12 files changed
+431 -116

No files matched your search

@@ -1,4 +1,4 @@
import type { Check, CheckAudits, MonitorType } from "@/types/index.js";
import type { Check, CheckAudits, MonitorStatusResponse, MonitorType } from "@/types/index.js";
import type { LatestChecksMap } from "@/repositories/checks/MongoChecksRepistory.js";
export interface PageSpeedChecksResult {
@@ -55,6 +55,7 @@ export interface UptimeChecksResult {
export interface IChecksRepository {
// create
buildCheck(status: MonitorStatusResponse, type: MonitorType): Check;
// single fetch
// collection fetch
findLatestChecksByMonitorIds(monitorIds: string[], options?: { limitPerMonitor?: number }): Promise<LatestChecksMap>;