initial commit

This commit is contained in:
Alex Holliday committed 2026-02-23 17:48:53 +00:00
1 parent 2d023de568
commit 42fdc47d86
14 files changed
+530

No files matched your search

@@ -0,0 +1,9 @@
import type { GeoCheck, GroupedGeoCheck } from "@/types/geoCheck.js";
export interface IGeoChecksRepository {
create(geoCheck: Omit<GeoCheck, "id" | "__v" | "createdAt" | "updatedAt">): Promise<GeoCheck>;
findByMonitorIdAndDateRange(monitorId: string, startDate: Date, endDate: Date): Promise<GeoCheck[]>;
findGroupedByMonitorIdAndDateRange(monitorId: string, startDate: Date, endDate: Date, dateFormat: string): Promise<GroupedGeoCheck[]>;
deleteByMonitorId(monitorId: string): Promise<number>;
deleteByTeamId(teamId: string): Promise<number>;
}