Add width to screen validation
This commit is contained in:
parent
91c4f85f81
commit
e5f48fedd1
|
@ -161,6 +161,7 @@ exports.screenValidator = () => {
|
||||||
return joiValidator.body(Joi.object({
|
return joiValidator.body(Joi.object({
|
||||||
name: Joi.string().required(),
|
name: Joi.string().required(),
|
||||||
showNavigation: OPTIONAL_BOOLEAN,
|
showNavigation: OPTIONAL_BOOLEAN,
|
||||||
|
width: OPTIONAL_STRING,
|
||||||
routing: Joi.object({
|
routing: Joi.object({
|
||||||
route: Joi.string().required(),
|
route: Joi.string().required(),
|
||||||
roleId: Joi.string().required().allow(""),
|
roleId: Joi.string().required().allow(""),
|
||||||
|
|
Loading…
Reference in New Issue