Skip to content

0.12.0

Compare
Choose a tag to compare
@b4rtaz b4rtaz released this 16 May 19:57
· 81 commits to main since this release
a7d0f4d

The designer has allowed only the validation of the steps so far. The root of the definition could be edited by the global editor, but the validation was not possible. This version adds a new type of the validator: the root validator. The new validator affects on the result of the definition validation (designer.isValid()).

Breaking Changes

  • The validator property in the steps group of the configuration is deleted. Use the step property in the validator group instead.
  • The step validator has a new parameter: definition.
  • Added the root validator.
const configuration = {
  steps: {
    validator: /* DEPRECIATED */,
  },
  validator: {
    step: (step, parentSequence, definition) => { /* ... */ },
    root: (definition) => { /* ... */ }
  },
  // ...
};