example: add missed archive -> pending transaction
This commit is contained in:
parent
89c7db9e81
commit
284a7a45e3
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ const smbProject = new StateMachineBuilder<
|
||||||
.withTransitions([
|
.withTransitions([
|
||||||
[ProjectStatus.Pending, [ProjectStatus.Active, ProjectStatus.Archived]],
|
[ProjectStatus.Pending, [ProjectStatus.Active, ProjectStatus.Archived]],
|
||||||
[ProjectStatus.Active, [ProjectStatus.Completed]],
|
[ProjectStatus.Active, [ProjectStatus.Completed]],
|
||||||
|
[ProjectStatus.Archived, [ProjectStatus.Pending]],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
|
|
Loading…
Reference in a new issue