Skip to content

Commit

Permalink
Merge branch 'feat/create-action-input-on-property-option-PAGE-4887'
Browse files Browse the repository at this point in the history
  • Loading branch information
ingmar-stipriaan committed Dec 16, 2024
2 parents 444adc4 + f9b8424 commit d35a71f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions __tests__/validations/component.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -945,6 +945,9 @@ test('Success when the reconfigure configuration options of the prefabs are vali
type: 'TEXT',
value: 'New property',
},
createActionInputVariable: {
type: 'TEXT',
},
manageObjectValues: {
selectableObjectKey: true,
buttonLabel: 'Manage something',
Expand Down
5 changes: 5 additions & 0 deletions src/validations/prefab/componentOption.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ const optionConfigurationSchema = Joi.when('type', {
type: Joi.string(),
value: Joi.string().allow(''),
}),
createActionInputVariable: Joi.object({
name: Joi.string(),
type: Joi.string().required(),
value: Joi.string().allow(''),
}),
manageObjectValues: Joi.object({
selectableObjectKey: Joi.boolean().optional(),
buttonLabel: Joi.string().optional(),
Expand Down

0 comments on commit d35a71f

Please sign in to comment.