The user's location as an ISO 3166-1 alpha-2 country code.
Record mapping supplier class names to a ships-to boolean.
supplierShipsTo('US').SupplierWarchem; // => false
export function supplierShipsTo(location: CountryCode): Record<string, boolean> {
return Object.fromEntries(
Object.entries(SUPPLIER_META).map(([key, meta]) => [key, shipsToCountry(meta, location)]),
);
}
Supplier class names mapped to whether they ship to
location, so the UI can grey out suppliers that can't reach the user. Applies the sameshipsTo/scope heuristic as search time — both go through shipsToCountry.