rename interface

This commit is contained in:
Alex Holliday committed 2026-02-24 18:19:51 +00:00
1 parent 1d4e9d6806
commit 705ecf41c2
3 files changed
+7 -9

No files matched your search

@@ -1,7 +1,7 @@
import type { GeoCheck, GroupedGeoCheck } from "@/types/geoCheck.js";
export interface IGeoChecksRepository {
create(geoChecks: Omit<GeoCheck, "id" | "__v" | "createdAt" | "updatedAt">[]): Promise<GeoCheck[]>;
createGeoChecks(geoChecks: 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>;