import type { GeoCheck, GroupedGeoCheck } from "@/types/geoCheck.js"; import type { GeoContinent, FlatGeoCheck } from "@/types/geoCheck.js"; export interface GeoChecksQueryResult { geoChecksCount: number; geoChecks: GeoCheck[]; } export interface FlatGeoChecksQueryResult { geoChecksCount: number; geoChecks: FlatGeoCheck[]; } export interface IGeoChecksRepository { createGeoChecks(geoChecks: Omit[]): Promise; findByMonitorId( monitorId: string, sortOrder: string, dateRange: string, page: number, rowsPerPage: number, continents?: GeoContinent[] ): Promise; findByMonitorIdAndDateRange(monitorId: string, startDate: Date, endDate: Date): Promise; findGroupedByMonitorIdAndDateRange( monitorId: string, startDate: Date, endDate: Date, dateFormat: string, continents?: GeoContinent[] ): Promise; deleteByMonitorId(monitorId: string): Promise; deleteByTeamId(teamId: string): Promise; deleteByMonitorIdsNotIn(monitorIds: string[]): Promise; }