mirror of
https://github.com/RedWizardsLab/EchoHub.git
synced 2026-09-06 07:36:01 +02:00
37 lines
829 B
C#
37 lines
829 B
C#
using EchoHub.Core.Models;
|
|
|
|
namespace EchoHub.Core.DTOs;
|
|
|
|
public record UserProfileDto(
|
|
Guid Id,
|
|
string Username,
|
|
string? DisplayName,
|
|
string? Bio,
|
|
string? NicknameColor,
|
|
string? AvatarAscii,
|
|
UserStatus Status,
|
|
string? StatusMessage,
|
|
ServerRole Role,
|
|
DateTimeOffset CreatedAt,
|
|
DateTimeOffset LastSeenAt);
|
|
|
|
public record UpdateProfileRequest(
|
|
string? DisplayName = null,
|
|
string? Bio = null,
|
|
string? NicknameColor = null);
|
|
|
|
public record UpdateStatusRequest(
|
|
UserStatus Status,
|
|
string? StatusMessage = null);
|
|
|
|
public record UserPresenceDto(
|
|
string Username,
|
|
string? DisplayName,
|
|
string? NicknameColor,
|
|
UserStatus Status,
|
|
string? StatusMessage,
|
|
ServerRole Role,
|
|
bool IsIrc = false);
|
|
|
|
public record AvatarUploadResponse(string AvatarAscii);
|