import { asFunction, asValue } from "awilix";
import { DefaultCatalogPricingService } from "./services/catalogPricingService.js";
import { CatalogProduct, CatalogProductPrice } from "./data/entities.js";
function register(container) {
  container.register({
    catalogPricingService: asFunction(({ eventBus }) => {
      return new DefaultCatalogPricingService(eventBus ?? null);
    }).singleton(),
    CatalogProduct: asValue(CatalogProduct),
    CatalogProductPrice: asValue(CatalogProductPrice)
  });
}
export {
  register
};
//# sourceMappingURL=di.js.map
