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

This commit is contained in:
gamer147
2026-06-12 23:22:25 -04:00
parent f879c05dca
commit c870b95be9
3 changed files with 72 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
using MessagePack;
using System.Text.Json.Serialization;
using SVSim.EmulatedEntrypoint.Models.Dtos.Requests;
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Requests.Sleeve;
[MessagePackObject]
public class SleeveFavoriteRequest : BaseRequest
{
// Spec note: ids are STRINGS on the wire, not ints. Don't change to long[].
[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();
}