Extracts /deck/info's default_deck_list into seeds/default-decks.json via the new extract-default-decks.ps1 PowerShell script and imports through DefaultDeckImporter. The importer carries the same orphan- card-id warning the old GlobalsImporter path emitted; production cards yield 0 orphans. WarnOrphans stays inside GlobalsImporter for now — SpotCards/ReprintedCards/UnlimitedRestrictions/LoadingExclusionCards still use it until Task 9. Part of the bootstrap seed refactor (Task 6).
14 lines
566 B
C#
14 lines
566 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace SVSim.Bootstrap.Models.Seed;
|
|
|
|
public sealed class DefaultDeckSeed
|
|
{
|
|
[JsonPropertyName("id")] public int Id { get; set; }
|
|
[JsonPropertyName("class_id")] public int ClassId { get; set; }
|
|
[JsonPropertyName("sleeve_id")] public long SleeveId { get; set; }
|
|
[JsonPropertyName("leader_skin_id")] public int LeaderSkinId { get; set; }
|
|
[JsonPropertyName("deck_name")] public string DeckName { get; set; } = "";
|
|
[JsonPropertyName("card_id_array")] public List<long> CardIdArray { get; set; } = new();
|
|
}
|