Merge pull request #2414 from bluewave-labs/feat/fe/uptime-notification-channels

feat: fe/uptime notification channels, resolves #2344
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-06-10 09:24:56 +08:00
commit f41709bd12
25 files changed
+1509 -1018

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ const MonitorSchema = mongoose.Schema(
},
matchMethod: {
type: String,
enum: ["equal", "include", "regex"],
enum: ["equal", "include", "regex", ""],
},
url: {
type: String,
+1 -1
View File
@@ -7,7 +7,7 @@ const configSchema = mongoose.Schema(
chatId: { type: String },
platform: {
type: String,
enum: ["slack", "pager_duty"],
enum: ["slack", "pager_duty", "webhook"],
},
routingKey: { type: String },
},