Import functionality for wino accounts, calendar sync UI, bunch of shell improvements
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace Wino.Core.Domain.Models.Accounts;
|
||||
|
||||
public sealed class WinoAccountSyncExportResult
|
||||
{
|
||||
public bool IncludedPreferences { get; init; }
|
||||
public bool IncludedAccounts { get; init; }
|
||||
public int ExportedMailboxCount { get; init; }
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
namespace Wino.Core.Domain.Models.Accounts;
|
||||
|
||||
public sealed class WinoAccountSyncImportResult
|
||||
{
|
||||
public bool IncludedPreferences { get; init; }
|
||||
public bool IncludedAccounts { get; init; }
|
||||
public bool HadRemotePreferences { get; init; }
|
||||
public int AppliedPreferenceCount { get; init; }
|
||||
public int FailedPreferenceCount { get; init; }
|
||||
public int ImportedMailboxCount { get; init; }
|
||||
public int SkippedDuplicateMailboxCount { get; init; }
|
||||
public int RemoteMailboxCount { get; init; }
|
||||
|
||||
public bool HasAnyRemoteData => HadRemotePreferences || RemoteMailboxCount > 0;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
namespace Wino.Core.Domain.Models.Accounts;
|
||||
|
||||
public sealed record WinoAccountSyncSelection(
|
||||
bool IncludePreferences = true,
|
||||
bool IncludeAccounts = true);
|
||||
@@ -1,7 +1,10 @@
|
||||
#nullable enable
|
||||
|
||||
namespace Wino.Core.Domain.Models.Navigation;
|
||||
|
||||
public sealed class ShellModeActivationContext
|
||||
{
|
||||
public bool IsInitialActivation { get; init; }
|
||||
public object Parameter { get; init; }
|
||||
public bool SuppressStartupFlows { get; init; }
|
||||
public object? Parameter { get; init; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user