From 8afd67a06d1e95b8a0c84dfb8ad171d6f4e159d3 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Mon, 22 Jun 2026 10:43:30 -0700 Subject: [PATCH] add method to monitor type --- client/src/Types/Monitor.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/src/Types/Monitor.ts b/client/src/Types/Monitor.ts index b2d90cb0b..fd9b521d5 100644 --- a/client/src/Types/Monitor.ts +++ b/client/src/Types/Monitor.ts @@ -48,6 +48,10 @@ export const PageSpeedStrategies = ["desktop", "mobile"] as const; export type PageSpeedStrategy = (typeof PageSpeedStrategies)[number]; export const DefaultPageSpeedStrategy: PageSpeedStrategy = "desktop"; +export const HttpMethods = ["GET", "HEAD"] as const; +export type HttpMethod = (typeof HttpMethods)[number]; +export const DefaultHttpMethod: HttpMethod = "GET"; + export interface Monitor { id: string; userId: string; @@ -64,6 +68,7 @@ export interface Monitor { jsonPath?: string; expectedValue?: string; matchMethod?: MonitorMatchMethod; + method?: HttpMethod; url: string; port?: number; isActive: boolean;