using System; using Wino.Core.Domain.Enums; namespace Wino.Messaging.UI; /// /// Emitted when synchronizer state is updated. /// /// Account id /// New synchronizer state /// Total items to sync (0 for indeterminate) /// Remaining items to sync /// Current synchronization status message /// Synchronization category that emitted the update public record AccountSynchronizerStateChanged( Guid AccountId, AccountSynchronizerState NewState, int TotalItemsToSync = 0, int RemainingItemsToSync = 0, string SynchronizationStatus = "", SynchronizationProgressCategory ProgressCategory = SynchronizationProgressCategory.Mail) : UIMessageBase;