Merge branch 'develop' into feature/teams-notification-channel

This commit is contained in:
Tobias Bruckert authored and GitHub committed 2026-03-09 08:33:36 +11:00
commit 978dc4cda6
37 files changed
+447 -263

No files matched your search

+10
View File
@@ -12,10 +12,20 @@ export const MonitorTypes = [
"port",
"game",
"grpc",
"websocket",
"unknown",
] as const;
export type MonitorType = (typeof MonitorTypes)[number];
export const GeoCheckSupportedTypes: readonly MonitorType[] = ["http", "ping"] as const;
export const supportsGeoCheck = (type: MonitorType | undefined): boolean => {
if (!type) {
return false;
}
return GeoCheckSupportedTypes.includes(type);
};
export const MonitorStatuses = [
"up",
"down",