Route Update All Monitor/Team Checks
This commit is contained in:
1 parent
e8908351a2
commit
a9c1d131a5
4 files changed
+68
No files matched your search
@@ -293,6 +293,16 @@ const updateCheckStatusBodyValidation = joi.object({
|
||||
status: joi.boolean(),
|
||||
});
|
||||
|
||||
const updateCheckStatusParamValidation = joi.object({
|
||||
monitorId: joi.string(),
|
||||
teamId: joi.string(),
|
||||
target: joi.string().allow("monitor", "team"),
|
||||
});
|
||||
|
||||
const updateAllChecksStatusBodyValidation = joi.object({
|
||||
status: joi.boolean(),
|
||||
});
|
||||
|
||||
const getChecksParamValidation = joi.object({
|
||||
monitorId: joi.string().required(),
|
||||
});
|
||||
@@ -667,6 +677,8 @@ export {
|
||||
getTeamChecksParamValidation,
|
||||
getTeamChecksQueryValidation,
|
||||
updateCheckStatusBodyValidation,
|
||||
updateAllChecksStatusBodyValidation,
|
||||
updateCheckStatusParamValidation,
|
||||
deleteChecksParamValidation,
|
||||
deleteChecksByTeamIdParamValidation,
|
||||
updateChecksTTLBodyValidation,
|
||||
|
||||
Reference in new issue
Block a user