refactor(deck): re-type /deck/info trial_deck_list to List<TrialDeck>?

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-05-29 10:54:53 -04:00
parent 363213ccf7
commit bd2eaa9e97

View File

@@ -1,4 +1,5 @@
using MessagePack;
using SVSim.EmulatedEntrypoint.Models.Dtos.Common;
using System.Text.Json.Serialization;
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Responses.Deck;
@@ -53,11 +54,11 @@ public class DeckListResponse
[Key("user_leader_skin_setting_list")] public Dictionary<string, UserLeaderSkinSetting> UserLeaderSkinSettingList { get; set; } = new();
/// <summary>
/// Trial / tutorial-specific decks. Prod emits this on <c>/deck/info</c> (All format) but
/// OMITS the key entirely on <c>/deck/my_list</c> (specific-format) — controller mirrors that
/// asymmetry by leaving this null on specific-format responses. Empty array in the
/// 2026-05-23 prod capture; entry shape TBD.
/// Trial / archetype decks. Prod emits this on <c>/deck/info</c> (All format) but OMITS the key
/// entirely on <c>/deck/my_list</c> (specific-format) — controller mirrors that asymmetry by
/// leaving this null on specific-format responses. Emitted EMPTY on /deck/info (matches the
/// 2026-05-23 prod capture); story/get_deck_list is where trial decks are actually populated.
/// </summary>
[JsonPropertyName("trial_deck_list")]
[Key("trial_deck_list")] public List<UserDeck>? TrialDeckList { get; set; }
[Key("trial_deck_list")] public List<TrialDeck>? TrialDeckList { get; set; }
}