refactor(bootstrap): migrate mypage-index globals to seed files

This commit is contained in:
gamer147
2026-05-26 14:31:25 -04:00
parent 0da8ebe1c1
commit a5e4f35c32
16 changed files with 561 additions and 368 deletions

View File

@@ -83,6 +83,13 @@ public static class Program
await puzzleImporter.ImportPuzzlesAsync(context, opts.SeedDir);
await puzzleImporter.ImportMissionsAsync(context, opts.SeedDir);
var mypage = new MyPageGlobalsImporter();
await mypage.ImportBannersAsync(context, opts.SeedDir);
await mypage.ImportColosseumAsync(context, opts.SeedDir);
await mypage.ImportSealedAsync(context, opts.SeedDir);
await mypage.ImportMasterPointRankingPeriodAsync(context, opts.SeedDir);
await mypage.ImportSpecialDeckFormatsAsync(context, opts.SeedDir);
// BuildDeck pipeline: series CSV → catalog JSON → package CSV. Catalog must run after
// series CSV (FK on products → series) and before package CSV (so the catalog-side
// enriched rows take precedence over stub creation).