Last active
September 22, 2020 03:56
-
-
Save decaylala/b0328f2bc2eaad1492cdc6d3b55736a5 to your computer and use it in GitHub Desktop.
Revisions
-
decaylala revised this gist
Sep 22, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const machine = Machine({ }, left: { on: { BACK: 'operating', }, }, annulled: { -
decaylala revised this gist
Sep 22, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ const machine = Machine({ id: 'companyOperatingStatus', initial: 'establishing', states: { establishing: { -
decaylala revised this gist
Sep 22, 2020 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,6 @@ const machine = Machine({ states: { establishing: { on: { CANCEL: 'not_simpany_customer', ESTABLISHED: 'operating', }, -
decaylala created this gist
Sep 22, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,38 @@ const machine = Machine({ id: 'status', initial: 'establishing', states: { establishing: { on: { CANCEL: 'not_simpany_customer', ESTABLISHED: 'operating', }, }, not_simpany_customer: { on: { PAY_DEPOSIT: 'establishing', }, }, operating: { on: { STOP: 'stopped', LEAVE: 'left', ANNUL: 'annulled', }, }, stopped: { on: { REOPERATE: 'operating', }, }, left: { on: { back: 'operating', }, }, annulled: { type: 'final', }, } });