import { InjectionToken, inject } from '@angular/core';
import { MallContentGateway } from './mall-content-gateway.interface';
import { MallContentApiGateway } from './mall-content-api.gateway';

/** Swap point for docs/backend/PHASE-10-CONTENT-MODULES-CONTRACT.md. */
export const MALL_CONTENT_GATEWAY = new InjectionToken<MallContentGateway>('MALL_CONTENT_GATEWAY', {
  providedIn: 'root',
  factory: () => inject(MallContentApiGateway),
});
