Merge commit

This commit is contained in:
Dean 2024-10-10 14:06:02 +01:00
parent 2c31ddc177
commit f23da77eee
1 changed files with 2 additions and 0 deletions

View File

@ -275,8 +275,10 @@ export function screenValidator() {
function generateStepSchema(allowStepTypes: string[]) { function generateStepSchema(allowStepTypes: string[]) {
const branchSchema = Joi.object({ const branchSchema = Joi.object({
id: Joi.string().required(),
name: Joi.string().required(), name: Joi.string().required(),
condition: filterObject({ unknown: false }).required().min(1), condition: filterObject({ unknown: false }).required().min(1),
conditionUI: Joi.object(),
}) })
return Joi.object({ return Joi.object({