refactor(bootstrap): migrate default decks to seed file
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).
This commit is contained in:
@@ -205,6 +205,8 @@ internal sealed class SVSimTestFactory : WebApplicationFactory<Program>
|
||||
await mypage.ImportSealedAsync(ctx, seedDir);
|
||||
await mypage.ImportMasterPointRankingPeriodAsync(ctx, seedDir);
|
||||
await mypage.ImportSpecialDeckFormatsAsync(ctx, seedDir);
|
||||
|
||||
await new DefaultDeckImporter().ImportAsync(ctx, seedDir);
|
||||
}
|
||||
|
||||
/// <summary>Convenience: bake the X-Test-Viewer-Id header into a fresh client.</summary>
|
||||
|
||||
Reference in New Issue
Block a user