spatial-monorepo / wayfinding/src / DirectionsResult
Type Alias: DirectionsResult
DirectionsResult = {
ok:true;route:Route; } | {ok:false;reason:DirectionsFailureReason; }
Defined in: packages/wayfinding/src/types.ts:310
Typed result union returned by getDirections/getDirectionsMultiDestination. Replaces the previous bare-null "no route" contract so UI can distinguish why no route was returned (HEB's typed return-code contract — see docs/plans/wayfinding-v2.md §3 item 8).
