import { InjectionToken, inject } from '@angular/core';
import { AdminUsersGateway } from './admin-users-gateway.interface';
import { AdminUsersApiGateway } from './admin-users-api.gateway';

/** Swap point for docs/backend/TRACK-S-SECURITY-RBAC-CONTRACT.md §8. */
export const ADMIN_USERS_GATEWAY = new InjectionToken<AdminUsersGateway>('ADMIN_USERS_GATEWAY', {
  providedIn: 'root',
  factory: () => inject(AdminUsersApiGateway),
});
