Adding to JOI the layoutId.
This commit is contained in:
parent
d7f2060954
commit
5dbab658ad
|
@ -24,6 +24,7 @@ function generateSaveValidation() {
|
||||||
_styles: Joi.object().required(),
|
_styles: Joi.object().required(),
|
||||||
type: Joi.string().optional(),
|
type: Joi.string().optional(),
|
||||||
table: Joi.string().optional(),
|
table: Joi.string().optional(),
|
||||||
|
layoutId: Joi.string().optional(),
|
||||||
}).required().unknown(true),
|
}).required().unknown(true),
|
||||||
}).unknown(true))
|
}).unknown(true))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue