1
0
Fork 0
mirror of synced 2024-06-26 18:10:51 +12:00

Add width to screen validation

This commit is contained in:
Andrew Kingston 2022-05-11 08:47:05 +01:00
parent 91c4f85f81
commit e5f48fedd1

View file

@ -161,6 +161,7 @@ exports.screenValidator = () => {
return joiValidator.body(Joi.object({
name: Joi.string().required(),
showNavigation: OPTIONAL_BOOLEAN,
width: OPTIONAL_STRING,
routing: Joi.object({
route: Joi.string().required(),
roleId: Joi.string().required().allow(""),