Download Latest Version 0.30.0 source code.zip (801.0 kB)
Email in envelope

Get an email when there's a new version of Sequential Workflow Designer

Home / v0.18.4
Name Modified Size InfoDownloads / Week
Parent folder
0.18.4 source code.tar.gz 2024-02-04 556.9 kB
0.18.4 source code.zip 2024-02-04 710.8 kB
README.md 2024-02-04 638 Bytes
Totals: 3 Items   1.3 MB 0

This version removes the features introduced in the previous release. We noticed that the proposed solution did not update the undo stack. As a result, we removed that feature in this version. Instead, we added a new method to the Designer class called replaceDefinition, which allows for the replacement of the entire definition and updates the undo stack.

:::ts
function appendStep() {
  const newStep: Step = { /* ... */ };

  const newDefinition = ObjectCloner.deepClone(designer.getDefinition());
  newDefinition.sequence.push(newStep);
  await designer.replaceDefinition(newDefinition);
}
Source: README.md, updated 2024-02-04