2024-04-18 01:44:37 +02:00
|
|
|
using System;
|
2025-10-31 19:53:48 +01:00
|
|
|
using System.Collections.Concurrent;
|
2024-04-18 01:44:37 +02:00
|
|
|
using System.Collections.Generic;
|
2025-02-22 00:22:00 +01:00
|
|
|
using Wino.Core.Domain.Entities.Mail;
|
2024-04-18 01:44:37 +02:00
|
|
|
using Wino.Core.Domain.Enums;
|
|
|
|
|
using Wino.Core.Domain.Models.Folders;
|
|
|
|
|
|
2025-02-16 11:54:23 +01:00
|
|
|
namespace Wino.Core.Domain.Models.MailItem;
|
|
|
|
|
|
|
|
|
|
public record MailListInitializationOptions(IEnumerable<IMailItemFolder> Folders,
|
|
|
|
|
FilterOptionType FilterType,
|
|
|
|
|
SortingOptionType SortingOptionType,
|
|
|
|
|
bool CreateThreads,
|
|
|
|
|
bool? IsFocusedOnly,
|
|
|
|
|
string SearchQuery,
|
2025-10-31 19:53:48 +01:00
|
|
|
ConcurrentDictionary<Guid, bool> ExistingUniqueIds = null,
|
2025-10-18 11:45:10 +02:00
|
|
|
List<MailCopy> PreFetchMailCopies = null,
|
2026-04-12 15:56:27 +02:00
|
|
|
bool DeduplicateByServerId = false,
|
2025-10-18 11:45:10 +02:00
|
|
|
int Skip = 0,
|
|
|
|
|
int Take = 0);
|