feat(watchlist): add company identity catalog

Embed a pinned FinanceDatabase equity snapshot, add authenticated company search and identity-based follows, preserve legacy assets, and map selected Yahoo symbols for collection.

Refs #19

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-11-22 15:08:22 +01:00
parent 1123360914
commit d65222169a
50 changed files with 49897 additions and 193 deletions

View File

@ -57,7 +57,8 @@ Toutes les routes ci-dessous, sauf login, exigent un JWT. Les routes admin recha
| Surface | API principale |
| --- | --- |
| Connexion | `POST /api/auth/login` |
| Recherche d’indices authentifiée | `GET /api/indices/search?q=NASDAQ&limit=10` (1–100 caractères Unicode, limite 1–20) |
| Recherche locale de sociétés | `GET /api/companies/search?q=NVIDIA&limit=10`, nom et désambiguïsation uniquement, catalogue embarqué FinanceDatabase Equity/primary/MIT ; [provenance et maintenance](backend/internal/companycatalog/README.md). |
| Recherche d’indices authentifiée (legacy) | `GET /api/indices/search?q=NASDAQ&limit=10` (1–100 caractères Unicode, limite 1–20) |
| Compte et indices suivis | `GET /api/me`, `GET/POST /api/me/assets`, `DELETE /api/me/assets/:symbol` |
| Préférences | `GET/PUT /api/me/preferences`, `{language,ranking_mode,summary_model_id}`, défaut `fr/title/null` pour un nouveau compte |
| Modèles de synthèse disponibles | `GET /api/me/summary-models`, uniquement id/provider/model/label |