import { InjectionToken, inject } from '@angular/core';
import { MarketplaceRevisionGateway } from './marketplace-revision-gateway.interface';
import { MarketplaceRevisionApiGateway } from './marketplace-revision-api.gateway';

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