2026-01-14 19:28:17 +00:00
|
|
|
import type { MonitorStats } from "@/types/index.js";
|
|
|
|
|
export interface IMonitorStatsRepository {
|
|
|
|
|
// create
|
|
|
|
|
// single fetch
|
|
|
|
|
findByMonitorId(monitorId: string): Promise<MonitorStats>;
|
|
|
|
|
// update
|
|
|
|
|
// delete
|
2026-01-15 19:36:41 +00:00
|
|
|
deleteByMonitorId(monitorId: string): Promise<MonitorStats>;
|
2026-01-14 19:28:17 +00:00
|
|
|
// other
|
|
|
|
|
}
|