Merge commit
This commit is contained in:
parent
2c31ddc177
commit
f23da77eee
|
@ -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({
|
||||||
|
|
Loading…
Reference in New Issue