import { InjectionToken, inject } from '@angular/core';
import { AdminNotificationsGateway } from './admin-notifications-gateway.interface';
import { AdminNotificationsApiGateway } from './admin-notifications-api.gateway';

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