feat(degree): /degree/favorite accept-only (persistence deferred)

This commit is contained in:
gamer147
2026-06-13 08:12:02 -04:00
parent 68741b2980
commit 356e58ba25
3 changed files with 64 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
using MessagePack;
using System.Text.Json.Serialization;
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Requests.Degree;
[MessagePackObject]
public class DegreeFavoriteRequest : BaseRequest
{
// Spec note: ids are STRINGS on the wire, not ints. Same gotcha as /sleeve/favorite and /emblem/favorite.
[JsonPropertyName("favorite_add")]
[Key("favorite_add")]
public List<string> FavoriteAdd { get; set; } = new();
[JsonPropertyName("favorite_remove")]
[Key("favorite_remove")]
public List<string> FavoriteRemove { get; set; } = new();
}