2025-12-03 21:56:50 +00:00
|
|
|
import { setupWorker } from 'msw/browser';
|
|
|
|
|
import { handlers } from './handlers';
|
|
|
|
|
|
|
|
|
|
// This configures a Service Worker with the given request handlers.
|
feat(release): v0.202 — Lots G, H, F, C, D
- Lot G: Recherche avancée (musical_key, tri pertinence, autocomplete, facettes, historique)
- Lot H: Analytics créateur (stats, charts, completion rate, export CSV/JSON)
- Lot F: Seller dashboard (GET /sell/stats, liste produits)
- Lot C: Player (crossfade, gapless preload, PiP)
- Lot D2: Autoplay (GET /tracks/recommendations, section À écouter ensuite)
Backend: GetRecommendations handler, route /tracks/recommendations
Frontend: PlayerQueue recommendations, fix TS errors (GlobalPlayer, AnalyticsViewKpiGrid, etc.)
Docs: FEATURE_STATUS, PROJECT_STATE, CHANGELOG, SCOPE_CONTROL
2026-02-20 17:16:17 +00:00
|
|
|
export const worker = setupWorker(
|
|
|
|
|
...(handlers.filter((h): h is NonNullable<typeof h> => Boolean(h))),
|
|
|
|
|
);
|