import { InjectionToken, inject } from '@angular/core';
import { ConnectorGateway } from './connector-gateway.interface';
import { ConnectorApiGateway } from './connector-api.gateway';

/** Swap point for docs/backend/PHASE-4-CONNECTOR-FRAMEWORK-CONTRACT.md §7. */
export const CONNECTOR_GATEWAY = new InjectionToken<ConnectorGateway>('CONNECTOR_GATEWAY', {
  providedIn: 'root',
  factory: () => inject(ConnectorApiGateway),
});
