6 Commits

Author SHA1 Message Date
cake
3c5babe2b6 Updated to .net10 2025-11-14 06:03:24 +01:00
0170ac377d Initial Chat Merge
Reviewed-on: #13
2025-11-11 18:56:38 +01:00
9d9e8e9be6 Merge branch 'main' into chat 2025-11-11 18:56:23 +01:00
3500db98c2 Merge pull request 'Initial Bot Cleanup + Profile Toggling' (#12) from bot-refactoring into main
Reviewed-on: #12
2025-11-11 18:46:49 +01:00
defnotken
cec110d972 Initial Bot Cleanup + Profile Toggling 2025-10-29 17:23:07 -05:00
azyges
bb88bea5aa revert api bump from testing 2025-10-29 07:55:17 +09:00
5 changed files with 16 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
using MessagePack;
namespace LightlessSync.API.Dto.Group;
[MessagePackObject(keyAsPropertyName: true)]
public record GroupProfileAvailabilityRequest(string GID);

View File

@@ -0,0 +1,5 @@
using MessagePack;
namespace LightlessSync.API.Dto.User;
[MessagePackObject(keyAsPropertyName: true)]
public record UserProfileAvailabilityRequest(string UID);

View File

@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>

View File

@@ -13,9 +13,12 @@ public class LightlessAuth
public const string OAuth_GetUIDs = "getUIDs";
public const string OAuth_GetDiscordOAuthToken = "getDiscordOAuthToken";
public const string User = "/user";
public const string Group = "/group";
public const string User_Unban_Discord = "unbanDiscord";
public const string User_Unban_Uid = "unbanUID";
public const string Ban_Uid = "ban";
public const string Disable_Profile = "disableProfile";
public const string Enable_Profile = "enableProfile";
public static Uri AuthFullPath(Uri baseUri) => new Uri(baseUri, Auth + "/" + Auth_CreateIdent);
public static Uri AuthWithOauthFullPath(Uri baseUri) => new Uri(baseUri, OAuth + "/" + OAuth_CreateOAuth);
public static Uri RenewTokenFullPath(Uri baseUri) => new Uri(baseUri, Auth + "/" + Auth_RenewToken);

View File

@@ -10,7 +10,7 @@ namespace LightlessSync.API.SignalR;
public interface ILightlessHub
{
const int ApiVersion = 37;
const int ApiVersion = 34;
const string Path = "/lightless";
Task<bool> CheckClientHealth();