From 03f168fa848859d56c843e7dfc7881d76c41f5b6 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Mon, 17 Aug 2026 13:54:38 -0700 Subject: [PATCH] add daily bucket type --- client/src/Types/Check.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/client/src/Types/Check.ts b/client/src/Types/Check.ts index e32762d95..78e970f04 100644 --- a/client/src/Types/Check.ts +++ b/client/src/Types/Check.ts @@ -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 +}