chore: init project
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
namespace InboxIntel.Application.DTOs;
|
||||
|
||||
/// <summary>
|
||||
/// Advanced search request. <see cref="Query"/> accepts Gmail-like syntax
|
||||
/// (e.g. "from:github.com is:unread has:attachment newsletter") which the
|
||||
/// query parser decomposes into structured filters; remaining free text runs
|
||||
/// through PostgreSQL full-text search.
|
||||
/// </summary>
|
||||
public record SearchRequestDto(
|
||||
string? Query,
|
||||
string? Sender,
|
||||
string? Domain,
|
||||
DateOnly? From,
|
||||
DateOnly? To,
|
||||
bool? IsUnread,
|
||||
bool? HasAttachments,
|
||||
bool FuzzyMatch = false,
|
||||
int Page = 1,
|
||||
int PageSize = 50);
|
||||
Reference in New Issue
Block a user