New alert system and panel de control page

This commit is contained in:
Urtzi Alfaro
2025-11-27 15:52:40 +01:00
parent 1a2f4602f3
commit e902419b6e
178 changed files with 20982 additions and 6944 deletions

View File

@@ -12,12 +12,31 @@ from shared.database.base import Base
AuditLog = create_audit_log_model(Base)
# Import all models to register them with the Base metadata
from .alerts import Alert, AlertStatus, AlertSeverity
from .events import (
Alert,
Notification,
Recommendation,
EventInteraction,
AlertStatus,
PriorityLevel,
AlertTypeClass,
NotificationType,
RecommendationType,
)
# List all models for easier access
__all__ = [
# New event models
"Alert",
"Notification",
"Recommendation",
"EventInteraction",
# Enums
"AlertStatus",
"AlertSeverity",
"PriorityLevel",
"AlertTypeClass",
"NotificationType",
"RecommendationType",
# System
"AuditLog",
]