example: add missed archive -> pending transaction

This commit is contained in:
Dmitriy Pleshevskiy 2022-11-30 16:49:51 +03:00
parent 89c7db9e81
commit 284a7a45e3
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -35,6 +35,7 @@ const smbProject = new StateMachineBuilder<
.withTransitions([
[ProjectStatus.Pending, [ProjectStatus.Active, ProjectStatus.Archived]],
[ProjectStatus.Active, [ProjectStatus.Completed]],
[ProjectStatus.Archived, [ProjectStatus.Pending]],
]);
async function main() {