**What** Index module foundation Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
24 lines
352 B
TypeScript
24 lines
352 B
TypeScript
export default `
|
|
enum TransactionState {
|
|
NOT_STARTED
|
|
INVOKING
|
|
WAITING_TO_COMPENSATE
|
|
COMPENSATING
|
|
DONE
|
|
REVERTED
|
|
FAILED
|
|
}
|
|
|
|
type WorkflowExecution {
|
|
id: ID!
|
|
created_at: DateTime!
|
|
updated_at: DateTime!
|
|
deleted_at: DateTime
|
|
workflow_id: string
|
|
transaction_id: string
|
|
execution: JSON
|
|
context: JSON
|
|
state: TransactionState
|
|
}
|
|
`
|