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