Files
cim_summary/backend
admin 1e4bc99fd1 feat(01-01): add HealthCheckModel and AlertEventModel with barrel exports
- HealthCheckModel: typed interfaces (ServiceHealthCheck, CreateHealthCheckData), static methods create/findLatestByService/findAll/deleteOlderThan, input validation, getSupabaseServiceClient() per-method, Winston logging
- AlertEventModel: typed interfaces (AlertEvent, CreateAlertEventData), static methods create/findActive/acknowledge/resolve/findRecentByService/deleteOlderThan, input validation, PGRST116 handled as null, Winston logging
- Update models/index.ts to re-export both models and their types
- Strict TypeScript: Record<string, unknown> for JSONB fields, no any types
2026-02-24 12:22:12 -05:00
..
2025-07-30 22:02:17 -04:00
2025-07-30 22:02:17 -04:00