2 Commits

Author SHA1 Message Date
efc0ef09f9 move to net10 2025-12-18 05:06:06 +09:00
azyges
6b543529aa removes nasty resolve dto and method 2025-12-17 03:42:54 +09:00
3 changed files with 12 additions and 17 deletions

View File

@@ -61,15 +61,10 @@ public readonly record struct ChatReportSubmitDto(
string? AdditionalContext); string? AdditionalContext);
[MessagePackObject(keyAsPropertyName: true)] [MessagePackObject(keyAsPropertyName: true)]
public readonly record struct ChatParticipantResolveRequestDto( public readonly record struct ChatParticipantMuteRequestDto(
ChatChannelDescriptor Channel, ChatChannelDescriptor Channel,
string Token); string Token,
bool Mute);
[MessagePackObject(keyAsPropertyName: true)]
public readonly record struct ChatParticipantResolveResultDto(
ChatChannelDescriptor Channel,
ChatSenderDescriptor Sender,
UserProfileDto? Profile);
[MessagePackObject(keyAsPropertyName: true)] [MessagePackObject(keyAsPropertyName: true)]
public readonly record struct ZoneChatChannelInfoDto( public readonly record struct ZoneChatChannelInfoDto(

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup> </PropertyGroup>

View File

@@ -114,5 +114,5 @@ public interface ILightlessHub
Task UpdateChatPresence(ChatPresenceUpdateDto presence); Task UpdateChatPresence(ChatPresenceUpdateDto presence);
Task SendChatMessage(ChatSendRequestDto request); Task SendChatMessage(ChatSendRequestDto request);
Task ReportChatMessage(ChatReportSubmitDto request); Task ReportChatMessage(ChatReportSubmitDto request);
Task<ChatParticipantResolveResultDto?> ResolveChatParticipant(ChatParticipantResolveRequestDto request); Task SetChatParticipantMute(ChatParticipantMuteRequestDto request);
} }