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,9 @@
|
||||
namespace Ping.Domain.ValueObjects
|
||||
{
|
||||
public enum AttachmentKind
|
||||
{
|
||||
File = 0,
|
||||
Image = 1,
|
||||
Audio = 2,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace Ping.Domain.ValueObjects
|
||||
{
|
||||
public enum ChannelType
|
||||
{
|
||||
Text = 0,
|
||||
Voice = 1,
|
||||
DirectMessage = 2,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace Ping.Domain.ValueObjects
|
||||
{
|
||||
public enum FriendshipStatus
|
||||
{
|
||||
Pending = 0,
|
||||
Accepted = 1,
|
||||
Blocked = 2,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace Ping.Domain.ValueObjects
|
||||
{
|
||||
public enum ServerMemberRole
|
||||
{
|
||||
Member = 0,
|
||||
Owner = 1,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user