import { InjectionToken, inject } from '@angular/core';
import { AdminProductsGateway } from './admin-products-gateway.interface';
import { AdminProductsApiGateway } from './admin-products-api.gateway';

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