# 06-DOCUMENTACION - Sistema de Notificaciones Completo ## Inventarios a Actualizar ### DATABASE_INVENTORY.yml Agregar en schema `auth`: - auth.notifications (nueva tabla) - auth.user_push_tokens (nueva tabla) Agregar en schema `investment`: - investment.distribution_history (nueva tabla) - investment.distribution_runs (nueva tabla) ### BACKEND_INVENTORY.yml Agregar en modulo `notifications`: - firebase.client.ts en shared/clients/ - Endpoints: POST /push-token, DELETE /push-token - Tests: notification.service.spec.ts Agregar en modulo `investment`: - Tests: distribution.job.spec.ts ### FRONTEND_INVENTORY.yml Agregar feature `notifications`: - stores/notificationStore.ts - services/notification.service.ts - modules/notifications/components/NotificationBell.tsx - modules/notifications/components/NotificationDropdown.tsx - modules/notifications/components/NotificationItem.tsx - modules/notifications/pages/NotificationsPage.tsx Agregar rutas: - /notifications - /settings/notifications ## Tareas Index Actualizar `_INDEX.yml`: - Agregar TASK-2026-01-25-NOTIFICACIONES-COMPLETAS ## Commits Realizados | Repositorio | Hash | Mensaje | |-------------|------|---------| | apps/backend | 35a94f0 | feat: Complete notifications system with push support and tests | | apps/frontend | b7de2a3 | feat: Add NotificationCenter UI components | | apps/database | 439489b | feat: Add DDL tables for notifications system | ## Proximos Pasos 1. Ejecutar DDL en base de datos WSL 2. Configurar variables de entorno Firebase 3. Generar VAPID keys para Web Push 4. Tests E2E manuales