Feature release for uptime monitors.
This commit is contained in:
1 parent
0001df9ad3
commit
b2fd9b1e89
10 files changed
+260
-1
No files matched your search
@@ -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
|
||||
};
|
||||
Reference in new issue
Block a user