Структура

This commit is contained in:
Халимов Рустам
2026-03-30 00:09:12 +03:00
parent 0209802e9e
commit 89b2eeea6c
124 changed files with 623 additions and 599 deletions
@@ -0,0 +1,21 @@
using MediatR;
namespace Knot.Contracts.Profiles.Application.DTOs;
public record SearchProfilesRequest(string Query, int Limit = 20) : IRequest<List<UserProfileDto>>;
public record UpdateProfileRequest(
string? DisplayName,
string? About,
string? Avatar,
bool RemoveAvatar = false
) : IRequest<UserProfileDto>;
public record UpdateSettingsRequest(
bool? ShowLastSeen,
bool? ShowAvatar,
bool? ShowAbout,
bool? ShowPhoneNumber,
bool? ShowForwardedMessages,
bool? ShowAddToGroupPermission
) : IRequest<UserProfileDto>;