feat: define management message contracts in Commons (10 command groups)

This commit is contained in:
Joseph Doherty
2026-03-17 14:41:54 -04:00
parent e9acd2dd34
commit 8068c499bd
11 changed files with 87 additions and 0 deletions
@@ -0,0 +1,9 @@
namespace ScadaLink.Commons.Messages.Management;
public record ListNotificationListsCommand;
public record GetNotificationListCommand(int NotificationListId);
public record CreateNotificationListCommand(string Name, IReadOnlyList<string> RecipientEmails);
public record UpdateNotificationListCommand(int NotificationListId, string Name, IReadOnlyList<string> RecipientEmails);
public record DeleteNotificationListCommand(int NotificationListId);
public record ListSmtpConfigsCommand;
public record UpdateSmtpConfigCommand(int SmtpConfigId, string Server, int Port, string AuthMode, string FromAddress);