import { InjectionToken, inject } from '@angular/core';
import { MarketplaceGateway } from './marketplace-gateway.interface';
import { MarketplaceApiGateway } from './marketplace-api.gateway';

/** Swap point for docs/backend/PHASE-9-TENANT-REGISTRY-DOMAINS-CONTRACT.md. */
export const MARKETPLACE_GATEWAY = new InjectionToken<MarketplaceGateway>('MARKETPLACE_GATEWAY', {
  providedIn: 'root',
  factory: () => inject(MarketplaceApiGateway),
});
