From f3c60648921abab03c3a6cc6142543f06ba02c45 Mon Sep 17 00:00:00 2001 From: azyges <229218900+azyges@users.noreply.github.com> Date: Wed, 8 Oct 2025 07:58:29 +0900 Subject: [PATCH] update methods, bump api --- LightlessSyncAPI/SignalR/ILightlessHub.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/LightlessSyncAPI/SignalR/ILightlessHub.cs b/LightlessSyncAPI/SignalR/ILightlessHub.cs index e96513c..e63f33a 100644 --- a/LightlessSyncAPI/SignalR/ILightlessHub.cs +++ b/LightlessSyncAPI/SignalR/ILightlessHub.cs @@ -7,9 +7,9 @@ using LightlessSync.API.Dto.User; namespace LightlessSync.API.SignalR; -public interface ILightlessHub -{ - const int ApiVersion = 33; +public interface ILightlessHub +{ + const int ApiVersion = 34; const string Path = "/lightless"; Task CheckClientHealth(); @@ -68,15 +68,15 @@ public interface ILightlessHub Task GroupUnbanUser(GroupPairDto groupPair); Task GroupPrune(GroupDto group, int days, bool execute); - Task UserAddPair(UserDto user); - Task TryPairWithContentId(string otherCid, string myCid); - - Task SetBroadcastStatus(string hashedCid, bool enabled, GroupBroadcastRequestDto? groupDto = null); + Task UserAddPair(UserDto user); + Task TryPairWithContentId(string otherCid); + + Task SetBroadcastStatus(bool enabled, GroupBroadcastRequestDto? groupDto = null); Task SetGroupBroadcastStatus(GroupBroadcastRequestDto dto); Task> GetBroadcastedGroups(List broadcastEntries); - Task IsUserBroadcasting(string hashedCid); - Task AreUsersBroadcasting(List hashedCids); - Task GetBroadcastTtl(string hashedCid); + Task IsUserBroadcasting(string hashedCid); + Task AreUsersBroadcasting(List hashedCids); + Task GetBroadcastTtl(); Task UserDelete(); Task> UserGetOnlinePairs(CensusDataDto? censusDataDto);