Raw
1 export default `
2 enum TransactionState {
3 NOT_STARTED
4 INVOKING
5 WAITING_TO_COMPENSATE
6 COMPENSATING
7 DONE
8 REVERTED
9 FAILED
10 }
11
12 type WorkflowExecution {
13 id: ID!
14 created_at: DateTime!
15 updated_at: DateTime!
16 deleted_at: DateTime
17 workflow_id: string
18 transaction_id: string
19 run_id: string
20 execution: JSON
21 context: JSON
22 state: TransactionState
23 retention_time: Int
24 }
25 `