| 1 | import { assign, createMachine, createActor } from 'xstate'; |
| 2 | |
| 3 | interface Bid { |
| 4 | carid: string; |
| 5 | amount: number; |
| 6 | bidder: { |
| 7 | id: string; |
| 8 | firstName: string; |
| 9 | lastName: string; |
| 10 | }; |
| 11 | } |
| 12 | |
| 13 | // https://github.com/serverlessworkflow/specification/tree/main/examples#handle-car-auction-bids-example |
| 14 | export const workflow = createMachine( |
nothing calls this directly
no outgoing calls
no test coverage detected