import { InjectionToken, inject } from '@angular/core';
import { AdminOrdersGateway } from './admin-orders-gateway.interface';
import { AdminOrdersApiGateway } from './admin-orders-api.gateway';

/** Swap point for docs/backend/PHASE-2-ORDERS-NOTIFICATIONS-CONTRACT.md. */
export const ADMIN_ORDERS_GATEWAY = new InjectionToken<AdminOrdersGateway>('ADMIN_ORDERS_GATEWAY', {
  providedIn: 'root',
  factory: () => inject(AdminOrdersApiGateway),
});
