import { Injectable } from '@angular/core';
import { Observable, of } from 'rxjs';
import { AnalyticsEvent } from '../models/analytics-event.model';
import { AnalyticsGateway } from './analytics-gateway.interface';

/**
 * No tracking pipeline exists at all today (confirmed - this is missing
 * infrastructure, not a missing endpoint, per GAPS-AND-IMPROVEMENTS.md and
 * docs/backend/TRACK-A-ANALYTICS-CONTRACT.md). This mock only proves the
 * call-site wiring is correct; it does not persist anything.
 */
@Injectable({ providedIn: 'root' })
export class AnalyticsLocalGateway implements AnalyticsGateway {
  track(_event: AnalyticsEvent): Observable<void> {
    return of(void 0);
  }
}
