The shipping fields a supplier exposes — either as static class members
(SupplierStaticMeta) or as an entry in SUPPLIER_META. Accepts a readonly
shipsTo so both shapes satisfy it.
Whether a supplier with the given shipping metadata ships to location. Prefers
the explicit shipsTo allowlist when the supplier declares one; otherwise falls
back to the coarse shipping scope — "worldwide"/"international" ship
anywhere, while "domestic"/"local" ship only within the supplier's own
country.
Shipping-destination logic, split out of
SupplierBaseso the UI can answer "does this supplier ship to me?" without importing the supplier layer. The module deliberately has no imports: it is reached from the results table and the column drawer, which mount before any search has run.Source