2026-01-03 20:58:37 +00:00
|
|
|
import type { CheckEntity } from "@/types/domain/index.js";
|
2026-01-04 22:24:55 +00:00
|
|
|
import type { LatestChecksByMonitor } from "@/repositories/checks/MongoCheckRepository.js";
|
|
|
|
|
export interface IChecksRepository {
|
|
|
|
|
// Create
|
|
|
|
|
// Single fetch
|
|
|
|
|
// Collection fetch
|
|
|
|
|
findLatestChecksByMonitorIds(
|
|
|
|
|
monitorIds: string[]
|
|
|
|
|
): Promise<LatestChecksByMonitor>;
|
|
|
|
|
// Update
|
|
|
|
|
// Delete
|
|
|
|
|
}
|
2026-01-03 20:58:37 +00:00
|
|
|
|
|
|
|
|
export default IChecksRepository;
|