mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-17 12:59:25 +00:00
632ac04b56
Add message forwarding and reply lookup, friend removal and blocking endpoints, and database-backed Govor+ privileges with customizable profile tags. Include migrations, integration tests, and updated API and operations documentation.
12 lines
353 B
C#
12 lines
353 B
C#
using Govor.Domain.Models.Users;
|
|
|
|
namespace Govor.Application.Friends;
|
|
|
|
public interface IFriendshipService
|
|
{
|
|
Task RemoveFriendAsync(Guid userId, Guid currentUserId);
|
|
Task<List<User>> GetFriendsAsync(Guid userId);
|
|
Task<List<User>> GetPotentialFriendsAsync(Guid userId);
|
|
Task<List<User>> SearchUsersAsync(string query, Guid currentId);
|
|
}
|