Skip to content

Instantly share code, notes, and snippets.

@aleph-naught2tog
Forked from twopoint718/SketchSystems.spec
Last active June 18, 2019 14:53
Show Gist options
  • Save aleph-naught2tog/a06c4d9d880ed4e502f7c046c825c4c0 to your computer and use it in GitHub Desktop.
Save aleph-naught2tog/a06c4d9d880ed4e502f7c046c825c4c0 to your computer and use it in GitHub Desktop.
Open
Open
cancel -> Void
add change -> Editing
# End
Void
Editing
cancel -> Void
Valid
change -> Validating
finalize -> Extras Needed
Invalid
change -> Validating
# Transient
Validating
valid change -> Valid
invalid change -> Invalid
# Transient
Extras Needed
amendment -> Waiting for Signature
endorsement -> Submitted to Underwriting
sogh&endorsement -> Waiting for Signature
Waiting for Signature
timeout -> Rejected
get signature -> Submitted to Underwriting
Submitted to Underwriting
needs_manual -> Waiting for Underwriting
automatic -> Accepted
# End
Waiting for Underwriting
is underwritten -> Accepted
is not underwritten -> Rejected
# End
Accepted
# End
Rejected
function render(model){
let current_state_name = model.active_states[0].name;
return (
<h1 style={{ color: 'blue' }}>
The current state is {current_state_name.toLowerCase()}
</h1>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment