Bunch of improvements i dunno.
This commit is contained in:
@@ -7,7 +7,27 @@ namespace Wino.Core.Domain.Interfaces;
|
||||
public interface IAccountMenuItem : IMenuItem
|
||||
{
|
||||
bool IsEnabled { get; set; }
|
||||
double SynchronizationProgress { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Calculated synchronization progress percentage (0-100). -1 for indeterminate.
|
||||
/// </summary>
|
||||
double SynchronizationProgress { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Total items to sync. 0 for indeterminate progress.
|
||||
/// </summary>
|
||||
int TotalItemsToSync { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Remaining items to sync.
|
||||
/// </summary>
|
||||
int RemainingItemsToSync { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Current synchronization status message.
|
||||
/// </summary>
|
||||
string SynchronizationStatus { get; set; }
|
||||
|
||||
int UnreadItemCount { get; set; }
|
||||
IEnumerable<MailAccount> HoldingAccounts { get; }
|
||||
void UpdateAccount(MailAccount account);
|
||||
|
||||
@@ -166,5 +166,7 @@ public interface IMailService
|
||||
Task AddMailItemQueueItemsAsync(IEnumerable<MailItemQueue> queueItems);
|
||||
Task<int> GetMailItemQueueCountAsync(Guid accountId);
|
||||
Task<List<MailItemQueue>> GetMailItemQueueAsync(Guid accountId, int take);
|
||||
Task<List<MailItemQueue>> GetMailItemQueueByFolderAsync(Guid accountId, string remoteFolderId, int take);
|
||||
Task<int> GetMailItemQueueCountByFolderAsync(Guid accountId, string remoteFolderId);
|
||||
Task UpdateMailItemQueueAsync(IEnumerable<MailItemQueue> queueItems);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user