Extendable data model of sequential workflow.
npm install sequential-workflow-model 
This package contains a extendable data model of a sequential workflow.
The package is used by the following packages:
* Sequential Workflow Designer
* Sequential Workflow Machine
To extend the model, you need to extend base interfaces.
``ts
interface MyDefinition extends Definition {
properties: {
baseUrl: string;
};
}
interface SendEmailStep extends Step {
componentType: 'task';
type: 'sendEmail';
properties: {
to: string;
subject: string;
body: string;
};
}
interface IfStep extends BranchedStep {
componentType: 'switch';
type: 'if';
properties: {
condition: string;
};
}
``
This project is released under the MIT license.