For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Type Alias RoutingProfileSelection<CarOptions, TruckOptions, BicycleOptions, PedestrianOptions>
RoutingProfileSelection:
| { profile: "car"; profileOptions?: CarOptions }
| { profile: "truck"; profileOptions?: TruckOptions }
| { profile: "bicycle"; profileOptions?: BicycleOptions }
| { profile: "pedestrian"; profileOptions?: PedestrianOptions }
| { profile: "car"; profileOptions?: CarOptions }
| { profile: "truck"; profileOptions?: TruckOptions }
| { profile: "bicycle"; profileOptions?: BicycleOptions }
| { profile: "pedestrian"; profileOptions?: PedestrianOptions }
Type Parameters
- CarOptions
- TruckOptions
- BicycleOptions
- PedestrianOptions
The
profileand the matchingprofileOptions. Pairing a profile with options belonging to another profile is a type error, because the API accepts only the options defined for the selected profile.