test to make server

This commit is contained in:
Artemy
2026-02-08 22:30:29 +07:00
parent cc2921d257
commit 0a43e35797
56 changed files with 949 additions and 442 deletions
@@ -0,0 +1,7 @@
namespace Govor.Contracts.DTOs;
public class AvatarUpdatePayload
{
public Guid UserId { get; set; }
public Guid IconId { get; set; }
}
@@ -0,0 +1,7 @@
namespace Govor.Contracts.DTOs;
public class DescriptionUpdatePayload
{
public Guid UserId { get; set; }
public string? Description { get; set; }
}
+1
View File
@@ -6,4 +6,5 @@ public class UserProfileDto
public string Username { get; set; } = string.Empty;
public string? Description { get; set; }
public Guid? IconId { get; set; }
public bool IsOnline { get; set; }
}
@@ -3,15 +3,15 @@ using Govor.Core.Models.Messages;
namespace Govor.Contracts.Responses.SignalR;
public record UserMessageResponse
public class UserMessageResponse
{
public Guid MessageId { get; init; }
public Guid SenderId { get; init; }
public Guid RecipientId { get; init; }
public RecipientType RecipientType{get; init; }
public string EncryptedContent { get; init; } = string.Empty;
public Guid? ReplyToMessageId { get; init; }
public DateTime SentAt { get; init; }
public bool IsEdited { get; init; } = false;
public List<MediaFile> MediaAttachments { get; init; } = new List<MediaFile>();
public Guid MessageId { get; set; }
public Guid SenderId { get; set; }
public Guid RecipientId { get; set; }
public RecipientType RecipientType{get; set; }
public string EncryptedContent { get; set; } = string.Empty;
public Guid? ReplyToMessageId { get; set; }
public DateTime SentAt { get; set; }
public bool IsEdited { get; set; } = false;
public List<MediaFile> MediaAttachments { get; set; } = new List<MediaFile>();
}