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>;
