Matches PRO100 rows to existing catalogue items by digits-only SKU. The index is built once over the selected catalogue's items; resolution is O(1).
Summary
Functions
@spec index([PhoenixKitCatalogue.Schemas.Item.t()]) :: %{ required(String.t()) => [PhoenixKitCatalogue.Schemas.Item.t()] }
@spec resolve(map(), String.t()) :: {:matched, PhoenixKitCatalogue.Schemas.Item.t()} | {:ambiguous, [PhoenixKitCatalogue.Schemas.Item.t()]} | :unmatched