Feature release for uptime monitors.

This commit is contained in:
Owaise Imdad committed 2025-04-27 03:05:14 +05:30
1 parent 0001df9ad3
commit b2fd9b1e89
10 files changed
+260 -1

No files matched your search

+3
View File
@@ -173,6 +173,8 @@ const monitorValidation = joi.object({
matchMethod: joi.string(),
});
const bulkMonitorsValidation = joi.array().items(monitorValidation);
const imageValidation = joi.object({
type: joi.string().valid("image/jpeg", "image/png").messages({
"any.only": "Invalid file format.",
@@ -367,4 +369,5 @@ export {
infrastructureMonitorValidation,
statusPageValidation,
logoImageValidation,
bulkMonitorsValidation
};