import { InjectionToken, inject } from '@angular/core';
import { OfferGateway } from './offer-gateway.interface';
import { OfferApiGateway } from './offer-api.gateway';

/** Swap point for docs/backend/PHASE-3-CATALOG-OFFER-FULFILLMENT-CONTRACT.md §7. */
export const OFFER_GATEWAY = new InjectionToken<OfferGateway>('OFFER_GATEWAY', {
  providedIn: 'root',
  factory: () => inject(OfferApiGateway),
});
