feature: In-App Simulation Runner (Backend)
This commit is contained in:
@@ -14,6 +14,8 @@ public enum AuditAction
|
||||
AlertFeedbackSubmitted,
|
||||
UserLogout,
|
||||
TokenRefreshed,
|
||||
SimulationRunStarted,
|
||||
SimulationRunStopped,
|
||||
}
|
||||
|
||||
public static class AuditActionExtensions
|
||||
@@ -34,6 +36,8 @@ public static class AuditActionExtensions
|
||||
AuditAction.AlertFeedbackSubmitted => "ALERT_FEEDBACK_SUBMITTED",
|
||||
AuditAction.UserLogout => "USER_LOGOUT",
|
||||
AuditAction.TokenRefreshed => "TOKEN_REFRESHED",
|
||||
AuditAction.SimulationRunStarted => "SIMULATION_RUN_STARTED",
|
||||
AuditAction.SimulationRunStopped => "SIMULATION_RUN_STOPPED",
|
||||
_ => throw new ArgumentOutOfRangeException(nameof(a))
|
||||
};
|
||||
|
||||
@@ -53,6 +57,8 @@ public static class AuditActionExtensions
|
||||
"ALERT_FEEDBACK_SUBMITTED" => AuditAction.AlertFeedbackSubmitted,
|
||||
"USER_LOGOUT" => AuditAction.UserLogout,
|
||||
"TOKEN_REFRESHED" => AuditAction.TokenRefreshed,
|
||||
"SIMULATION_RUN_STARTED" => AuditAction.SimulationRunStarted,
|
||||
"SIMULATION_RUN_STOPPED" => AuditAction.SimulationRunStopped,
|
||||
_ => throw new ArgumentOutOfRangeException(nameof(v))
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user