import { InjectionToken, inject } from '@angular/core';
import { FxQuoteGateway } from './fx-quote-gateway.interface';
import { FxQuoteApiGateway } from './fx-quote-api.gateway';

/** Swap point for docs/backend/PHASE-1-MONEY-FX-PAYMENTS-CONTRACT.md §3.1. */
export const FX_QUOTE_GATEWAY = new InjectionToken<FxQuoteGateway>('FX_QUOTE_GATEWAY', {
  providedIn: 'root',
  factory: () => inject(FxQuoteApiGateway),
});
