fix validation in monitor controller

This commit is contained in:
Alex Holliday committed 2026-03-11 12:41:27 -07:00
1 parent 42f6c42ae1
commit 545926cfcf
4 files changed
+132 -78

No files matched your search

+2 -1
View File
@@ -12,7 +12,8 @@ export const supportsGeoCheck = (type: MonitorType): boolean => GeoCheckSupporte
export const MonitorStatuses = ["up", "down", "paused", "initializing", "maintenance", "breached"] as const;
export type MonitorStatus = (typeof MonitorStatuses)[number];
export type MonitorMatchMethod = "equal" | "include" | "regex" | "";
export const MonitorMatchMethods = ["equal", "include", "regex"] as const;
export type MonitorMatchMethod = (typeof MonitorMatchMethods)[number] | "";
export interface Monitor {
id: string;