add daily bucket type

This commit is contained in:
Alex Holliday committed 2026-08-17 13:54:38 -07:00
1 parent 4b02bbec37
commit 03f168fa84
1 file changed
+9
+9
View File
@@ -291,3 +291,12 @@ export type CheckSnapshot = Pick<
export interface HasResponseTime {
responseTime: number;
}
export interface DailyCheckBucket {
monitorId: string;
date: string;
totalChecks: number;
upChecks: number;
downChecks: number;
avgResponseTime: number | null; // null when no check that day recorded a response time
}