| 95 | } |
| 96 | |
| 97 | export interface HTTPTripPreviewRequestPayload { |
| 98 | userID: string; |
| 99 | pickup: Coordinate; |
| 100 | destination: Coordinate; |
| 101 | } |
| 102 | |
| 103 | export function isValidTripEvent(event: string): event is TripEvents { |
| 104 | return Object.values(TripEvents).includes(event as TripEvents); |
nothing calls this directly
no outgoing calls
no test coverage detected