| 1 | import {create} from 'zustand'; |
| 2 | |
| 3 | interface OrderStore { |
| 4 | orderID: string; |
| 5 | source: string; |
| 6 | destination: string; |
| 7 | date: string; |
| 8 | scheduleId: string; |
| 9 | time: string; |
| 10 | ticketQuantity: number; |
| 11 | price: number; |
| 12 | passengerDetail: PassengerDetail[]; |
| 13 | addPassenger: (newRoll: string) => void; |
| 14 | removePassenger: (emailID: string) => void; |
| 15 | } |
| 16 | |
| 17 | interface PassengerDetail { |
| 18 | emailID: string; |
nothing calls this directly
no outgoing calls
no test coverage detected