Add Ping backend
.NET 10 solution for Ping, a Discord style chat app: Domain, Application and Infrastructure projects plus the Api host. SignalR for chat and presence, LiveKit for call tokens, EF Core on Postgres, S3 compatible storage for attachments, and OIDC auth shared with the Musify Zitadel instance. Includes the Compose stack for local development.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using Ping.Application.Messages.Responses;
|
||||
|
||||
namespace Ping.Application.Contracts
|
||||
{
|
||||
public interface IRealtimeNotifier
|
||||
{
|
||||
Task MessageCreatedAsync(Guid channelId, MessageResponse message, CancellationToken cancellationToken);
|
||||
|
||||
Task MessageUpdatedAsync(Guid channelId, MessageResponse message, CancellationToken cancellationToken);
|
||||
|
||||
Task MessageDeletedAsync(Guid channelId, Guid messageId, CancellationToken cancellationToken);
|
||||
|
||||
Task FriendRequestReceivedAsync(long addresseeId, Guid friendshipId, CancellationToken cancellationToken);
|
||||
|
||||
Task FriendshipUpdatedAsync(long userId, Guid friendshipId, CancellationToken cancellationToken);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user