From 284a7a45e38749780193f16bb121be1581e3b570 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Wed, 30 Nov 2022 16:49:51 +0300 Subject: [PATCH] example: add missed archive -> pending transaction --- examples/project.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/project.ts b/examples/project.ts index 2903944..375d5e7 100644 --- a/examples/project.ts +++ b/examples/project.ts @@ -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() {