MCPcopy Create free account
hub / github.com/codealong-dev/ride-sharing / HTTPTripPreviewRequestPayload

Interface HTTPTripPreviewRequestPayload

web/src/contracts.ts:97–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97export interface HTTPTripPreviewRequestPayload {
98 userID: string;
99 pickup: Coordinate;
100 destination: Coordinate;
101}
102
103export function isValidTripEvent(event: string): event is TripEvents {
104 return Object.values(TripEvents).includes(event as TripEvents);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected