add uptimetime stats method and aggregation

This commit is contained in:
Alex committed 2026-06-06 16:08:00 -07:00
1 parent 73b74ffd80
commit 395b7fbe2a
3 files changed
+67 -1

No files matched your search

@@ -26,6 +26,7 @@ export interface IMonitorsRepository {
// collection fetch
findAll(): Promise<Monitor[] | null>;
findByTeamId(teamId: string, config: TeamQueryConfig): Promise<Monitor[] | null>;
findByTeamIdWithStats(teamId: string, config: TeamQueryConfig): Promise<Monitor[] | null>;
findByIds(monitorIds: string[]): Promise<Monitor[]>;
findByIdsWithChecks(monitorIds: string[], checksCount?: number): Promise<Monitor[]>;