diff --git a/data-asia/PMCG.ts b/data-asia/PMCG.ts index b7ee301494..fc997dd5d8 100644 --- a/data-asia/PMCG.ts +++ b/data-asia/PMCG.ts @@ -4,7 +4,14 @@ const serie: Serie = { name: { ja: 'ポケットモンスターカードゲーム' }, - id: 'PMCG' + id: 'PMCG', + + related: [ + { + type: "translation", + seriesPath: "data/Base.ts" + } + ] } export default serie diff --git a/data-asia/PMCG/PMCG1.ts b/data-asia/PMCG/PMCG1.ts index 51ae082860..88e29a906f 100644 --- a/data-asia/PMCG/PMCG1.ts +++ b/data-asia/PMCG/PMCG1.ts @@ -12,7 +12,14 @@ const set: Set = { cardCount: { official: 102 }, - releaseDate: '1996-10-20' + releaseDate: '1996-10-20', + + related: [ + { + type: "translation", + setPath: "data/Base/Base Set.ts" + } + ] } export default set diff --git a/data-asia/PMCG/PMCG1/001.ts b/data-asia/PMCG/PMCG1/001.ts index a851dd700b..99a4689f04 100644 --- a/data-asia/PMCG/PMCG1/001.ts +++ b/data-asia/PMCG/PMCG1/001.ts @@ -34,6 +34,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/44.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/002.ts b/data-asia/PMCG/PMCG1/002.ts index b44930ae12..f6e61ab246 100644 --- a/data-asia/PMCG/PMCG1/002.ts +++ b/data-asia/PMCG/PMCG1/002.ts @@ -34,6 +34,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/45.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/003.ts b/data-asia/PMCG/PMCG1/003.ts index 7b1b414d2e..abc74818dd 100644 --- a/data-asia/PMCG/PMCG1/003.ts +++ b/data-asia/PMCG/PMCG1/003.ts @@ -44,6 +44,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/54.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/004.ts b/data-asia/PMCG/PMCG1/004.ts index 29821fd9ca..a07e481d63 100644 --- a/data-asia/PMCG/PMCG1/004.ts +++ b/data-asia/PMCG/PMCG1/004.ts @@ -34,6 +34,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/69.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/005.ts b/data-asia/PMCG/PMCG1/005.ts index 94e55c9ee6..fbb6fe3acd 100644 --- a/data-asia/PMCG/PMCG1/005.ts +++ b/data-asia/PMCG/PMCG1/005.ts @@ -34,6 +34,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/55.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/006.ts b/data-asia/PMCG/PMCG1/006.ts index 91c84e0246..6f4bff3a04 100644 --- a/data-asia/PMCG/PMCG1/006.ts +++ b/data-asia/PMCG/PMCG1/006.ts @@ -34,6 +34,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/51.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/007.ts b/data-asia/PMCG/PMCG1/007.ts index 2d96194bec..d48f507fa8 100644 --- a/data-asia/PMCG/PMCG1/007.ts +++ b/data-asia/PMCG/PMCG1/007.ts @@ -44,6 +44,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/66.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/008.ts b/data-asia/PMCG/PMCG1/008.ts index b2e3574abe..f344f374e1 100644 --- a/data-asia/PMCG/PMCG1/008.ts +++ b/data-asia/PMCG/PMCG1/008.ts @@ -41,6 +41,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/30.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/009.ts b/data-asia/PMCG/PMCG1/009.ts index d83513161b..792062afee 100644 --- a/data-asia/PMCG/PMCG1/009.ts +++ b/data-asia/PMCG/PMCG1/009.ts @@ -44,6 +44,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/33.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/010.ts b/data-asia/PMCG/PMCG1/010.ts index 1579df6335..da17650cd1 100644 --- a/data-asia/PMCG/PMCG1/010.ts +++ b/data-asia/PMCG/PMCG1/010.ts @@ -41,6 +41,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/37.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/011.ts b/data-asia/PMCG/PMCG1/011.ts index f8062c4c1f..4c08f21839 100644 --- a/data-asia/PMCG/PMCG1/011.ts +++ b/data-asia/PMCG/PMCG1/011.ts @@ -42,6 +42,13 @@ const card: Card = { type: "holo", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/15.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/012.ts b/data-asia/PMCG/PMCG1/012.ts index 18d5a224e4..c31387dee3 100644 --- a/data-asia/PMCG/PMCG1/012.ts +++ b/data-asia/PMCG/PMCG1/012.ts @@ -43,6 +43,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/18.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/013.ts b/data-asia/PMCG/PMCG1/013.ts index c784b1ba09..8cdae3c6a0 100644 --- a/data-asia/PMCG/PMCG1/013.ts +++ b/data-asia/PMCG/PMCG1/013.ts @@ -44,6 +44,13 @@ const card: Card = { type: "holo", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/11.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/014.ts b/data-asia/PMCG/PMCG1/014.ts index 5c16dfdcce..0f982849c2 100644 --- a/data-asia/PMCG/PMCG1/014.ts +++ b/data-asia/PMCG/PMCG1/014.ts @@ -41,6 +41,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/46.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/015.ts b/data-asia/PMCG/PMCG1/015.ts index 0ed8ad6508..aa0350e65b 100644 --- a/data-asia/PMCG/PMCG1/015.ts +++ b/data-asia/PMCG/PMCG1/015.ts @@ -34,6 +34,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/68.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/016.ts b/data-asia/PMCG/PMCG1/016.ts index 89037a2eec..6a1e1213d7 100644 --- a/data-asia/PMCG/PMCG1/016.ts +++ b/data-asia/PMCG/PMCG1/016.ts @@ -38,6 +38,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/60.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/017.ts b/data-asia/PMCG/PMCG1/017.ts index 581c245c05..543e99b908 100644 --- a/data-asia/PMCG/PMCG1/017.ts +++ b/data-asia/PMCG/PMCG1/017.ts @@ -41,6 +41,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/24.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/018.ts b/data-asia/PMCG/PMCG1/018.ts index 156ad14d7a..9e4511fbab 100644 --- a/data-asia/PMCG/PMCG1/018.ts +++ b/data-asia/PMCG/PMCG1/018.ts @@ -31,6 +31,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/28.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/019.ts b/data-asia/PMCG/PMCG1/019.ts index 36925b7d57..b6cfdeef0f 100644 --- a/data-asia/PMCG/PMCG1/019.ts +++ b/data-asia/PMCG/PMCG1/019.ts @@ -44,6 +44,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/23.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/020.ts b/data-asia/PMCG/PMCG1/020.ts index 45e87295e4..52821f6476 100644 --- a/data-asia/PMCG/PMCG1/020.ts +++ b/data-asia/PMCG/PMCG1/020.ts @@ -41,6 +41,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/36.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/021.ts b/data-asia/PMCG/PMCG1/021.ts index 8883361c14..7eccf5883e 100644 --- a/data-asia/PMCG/PMCG1/021.ts +++ b/data-asia/PMCG/PMCG1/021.ts @@ -45,6 +45,13 @@ const card: Card = { type: "holo", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/4.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/022.ts b/data-asia/PMCG/PMCG1/022.ts index ab4eed5e7a..1b405ba422 100644 --- a/data-asia/PMCG/PMCG1/022.ts +++ b/data-asia/PMCG/PMCG1/022.ts @@ -44,6 +44,13 @@ const card: Card = { type: "holo", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/12.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/023.ts b/data-asia/PMCG/PMCG1/023.ts index fa96a9c63d..bf042ade2a 100644 --- a/data-asia/PMCG/PMCG1/023.ts +++ b/data-asia/PMCG/PMCG1/023.ts @@ -44,6 +44,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/63.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/024.ts b/data-asia/PMCG/PMCG1/024.ts index 02ca3bdf53..5ac8d01b0b 100644 --- a/data-asia/PMCG/PMCG1/024.ts +++ b/data-asia/PMCG/PMCG1/024.ts @@ -34,6 +34,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/59.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/025.ts b/data-asia/PMCG/PMCG1/025.ts index 1220d1c27f..b333492306 100644 --- a/data-asia/PMCG/PMCG1/025.ts +++ b/data-asia/PMCG/PMCG1/025.ts @@ -31,6 +31,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/65.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/026.ts b/data-asia/PMCG/PMCG1/026.ts index 0489b08c67..5a63b2d89c 100644 --- a/data-asia/PMCG/PMCG1/026.ts +++ b/data-asia/PMCG/PMCG1/026.ts @@ -44,6 +44,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/64.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/027.ts b/data-asia/PMCG/PMCG1/027.ts index f84ad38456..c3bfe032de 100644 --- a/data-asia/PMCG/PMCG1/027.ts +++ b/data-asia/PMCG/PMCG1/027.ts @@ -41,6 +41,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/42.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/028.ts b/data-asia/PMCG/PMCG1/028.ts index 8390923256..e317438262 100644 --- a/data-asia/PMCG/PMCG1/028.ts +++ b/data-asia/PMCG/PMCG1/028.ts @@ -44,6 +44,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/38.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/029.ts b/data-asia/PMCG/PMCG1/029.ts index ee9a7f54ba..ff1e80cc2f 100644 --- a/data-asia/PMCG/PMCG1/029.ts +++ b/data-asia/PMCG/PMCG1/029.ts @@ -31,6 +31,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/41.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/030.ts b/data-asia/PMCG/PMCG1/030.ts index a89ef8ea2b..21b0adf145 100644 --- a/data-asia/PMCG/PMCG1/030.ts +++ b/data-asia/PMCG/PMCG1/030.ts @@ -41,6 +41,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/25.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/031.ts b/data-asia/PMCG/PMCG1/031.ts index 062d58b8e8..4deffc6f34 100644 --- a/data-asia/PMCG/PMCG1/031.ts +++ b/data-asia/PMCG/PMCG1/031.ts @@ -41,6 +41,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/35.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/032.ts b/data-asia/PMCG/PMCG1/032.ts index 69c06aa30c..8fd740f956 100644 --- a/data-asia/PMCG/PMCG1/032.ts +++ b/data-asia/PMCG/PMCG1/032.ts @@ -45,6 +45,12 @@ const card: Card = { type: "holo", }, ], + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/2.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/033.ts b/data-asia/PMCG/PMCG1/033.ts index 418d159e6b..19697f7f4b 100644 --- a/data-asia/PMCG/PMCG1/033.ts +++ b/data-asia/PMCG/PMCG1/033.ts @@ -44,6 +44,13 @@ const card: Card = { type: "holo", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/13.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/034.ts b/data-asia/PMCG/PMCG1/034.ts index 6c6de45afc..4b3878510d 100644 --- a/data-asia/PMCG/PMCG1/034.ts +++ b/data-asia/PMCG/PMCG1/034.ts @@ -41,6 +41,13 @@ const card: Card = { type: "holo", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/6.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/035.ts b/data-asia/PMCG/PMCG1/035.ts index 0df7d72f45..3fbe714271 100644 --- a/data-asia/PMCG/PMCG1/035.ts +++ b/data-asia/PMCG/PMCG1/035.ts @@ -41,6 +41,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/58.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/036.ts b/data-asia/PMCG/PMCG1/036.ts index 2d814df2cc..fd324318d4 100644 --- a/data-asia/PMCG/PMCG1/036.ts +++ b/data-asia/PMCG/PMCG1/036.ts @@ -44,6 +44,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/53.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/037.ts b/data-asia/PMCG/PMCG1/037.ts index 9f4c69dcfe..43f2888e73 100644 --- a/data-asia/PMCG/PMCG1/037.ts +++ b/data-asia/PMCG/PMCG1/037.ts @@ -31,6 +31,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/67.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/038.ts b/data-asia/PMCG/PMCG1/038.ts index 49fd7060da..f3bb2e914d 100644 --- a/data-asia/PMCG/PMCG1/038.ts +++ b/data-asia/PMCG/PMCG1/038.ts @@ -44,6 +44,13 @@ const card: Card = { type: "holo", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/14.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/039.ts b/data-asia/PMCG/PMCG1/039.ts index 0b67031b6c..bc01d97d3c 100644 --- a/data-asia/PMCG/PMCG1/039.ts +++ b/data-asia/PMCG/PMCG1/039.ts @@ -44,6 +44,13 @@ const card: Card = { type: "holo", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/9.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/040.ts b/data-asia/PMCG/PMCG1/040.ts index da4913c198..860eb89782 100644 --- a/data-asia/PMCG/PMCG1/040.ts +++ b/data-asia/PMCG/PMCG1/040.ts @@ -45,6 +45,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/20.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/041.ts b/data-asia/PMCG/PMCG1/041.ts index 02e5754ece..fc4a04af8c 100644 --- a/data-asia/PMCG/PMCG1/041.ts +++ b/data-asia/PMCG/PMCG1/041.ts @@ -44,6 +44,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/20.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/042.ts b/data-asia/PMCG/PMCG1/042.ts index cef9ac36ff..1c6f1a451b 100644 --- a/data-asia/PMCG/PMCG1/042.ts +++ b/data-asia/PMCG/PMCG1/042.ts @@ -44,6 +44,13 @@ const card: Card = { type: "holo", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/16.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/043.ts b/data-asia/PMCG/PMCG1/043.ts index ed9f903472..d9ef23630d 100644 --- a/data-asia/PMCG/PMCG1/043.ts +++ b/data-asia/PMCG/PMCG1/043.ts @@ -33,6 +33,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/43.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/044.ts b/data-asia/PMCG/PMCG1/044.ts index cba5c4117d..babe388b55 100644 --- a/data-asia/PMCG/PMCG1/044.ts +++ b/data-asia/PMCG/PMCG1/044.ts @@ -43,6 +43,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/50.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/045.ts b/data-asia/PMCG/PMCG1/045.ts index baf337cf79..96c0e7956a 100644 --- a/data-asia/PMCG/PMCG1/045.ts +++ b/data-asia/PMCG/PMCG1/045.ts @@ -41,6 +41,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/49.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/046.ts b/data-asia/PMCG/PMCG1/046.ts index d7be35112b..3ced73b3a0 100644 --- a/data-asia/PMCG/PMCG1/046.ts +++ b/data-asia/PMCG/PMCG1/046.ts @@ -41,6 +41,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/32.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/047.ts b/data-asia/PMCG/PMCG1/047.ts index f24fd2a3e7..7a45900086 100644 --- a/data-asia/PMCG/PMCG1/047.ts +++ b/data-asia/PMCG/PMCG1/047.ts @@ -44,6 +44,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/29.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/048.ts b/data-asia/PMCG/PMCG1/048.ts index 2c409aa0d0..33540a8f97 100644 --- a/data-asia/PMCG/PMCG1/048.ts +++ b/data-asia/PMCG/PMCG1/048.ts @@ -44,6 +44,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/31.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/049.ts b/data-asia/PMCG/PMCG1/049.ts index 0a1284a8ea..c09f5e357f 100644 --- a/data-asia/PMCG/PMCG1/049.ts +++ b/data-asia/PMCG/PMCG1/049.ts @@ -45,6 +45,13 @@ const card: Card = { type: "holo", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/1.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/050.ts b/data-asia/PMCG/PMCG1/050.ts index f3fc751580..f95dc258b0 100644 --- a/data-asia/PMCG/PMCG1/050.ts +++ b/data-asia/PMCG/PMCG1/050.ts @@ -44,6 +44,13 @@ const card: Card = { type: "holo", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/10.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/051.ts b/data-asia/PMCG/PMCG1/051.ts index 1506257977..54bc7fa00d 100644 --- a/data-asia/PMCG/PMCG1/051.ts +++ b/data-asia/PMCG/PMCG1/051.ts @@ -34,6 +34,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/62.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/052.ts b/data-asia/PMCG/PMCG1/052.ts index 9e91650d1b..8f15984ade 100644 --- a/data-asia/PMCG/PMCG1/052.ts +++ b/data-asia/PMCG/PMCG1/052.ts @@ -37,6 +37,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/47.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/053.ts b/data-asia/PMCG/PMCG1/053.ts index 2aa491d3be..c5a3d1c215 100644 --- a/data-asia/PMCG/PMCG1/053.ts +++ b/data-asia/PMCG/PMCG1/053.ts @@ -31,6 +31,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/52.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/054.ts b/data-asia/PMCG/PMCG1/054.ts index d07782b37f..2a7b6ca62c 100644 --- a/data-asia/PMCG/PMCG1/054.ts +++ b/data-asia/PMCG/PMCG1/054.ts @@ -41,6 +41,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/56.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/055.ts b/data-asia/PMCG/PMCG1/055.ts index 53101be01c..01343b0396 100644 --- a/data-asia/PMCG/PMCG1/055.ts +++ b/data-asia/PMCG/PMCG1/055.ts @@ -44,6 +44,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/34.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/056.ts b/data-asia/PMCG/PMCG1/056.ts index 717f8e63f7..81c0dad4be 100644 --- a/data-asia/PMCG/PMCG1/056.ts +++ b/data-asia/PMCG/PMCG1/056.ts @@ -41,6 +41,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/19.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/057.ts b/data-asia/PMCG/PMCG1/057.ts index 8bc49b1488..0db417aa87 100644 --- a/data-asia/PMCG/PMCG1/057.ts +++ b/data-asia/PMCG/PMCG1/057.ts @@ -42,6 +42,13 @@ const card: Card = { type: "holo", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/8.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/058.ts b/data-asia/PMCG/PMCG1/058.ts index 1b1895ef98..5c9a7ffb91 100644 --- a/data-asia/PMCG/PMCG1/058.ts +++ b/data-asia/PMCG/PMCG1/058.ts @@ -38,6 +38,13 @@ const card: Card = { type: "holo", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/7.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/059.ts b/data-asia/PMCG/PMCG1/059.ts index 7a431711a1..13d154c5ee 100644 --- a/data-asia/PMCG/PMCG1/059.ts +++ b/data-asia/PMCG/PMCG1/059.ts @@ -34,6 +34,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/57.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/060.ts b/data-asia/PMCG/PMCG1/060.ts index 3793752055..7025199a8e 100644 --- a/data-asia/PMCG/PMCG1/060.ts +++ b/data-asia/PMCG/PMCG1/060.ts @@ -30,6 +30,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/61.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/061.ts b/data-asia/PMCG/PMCG1/061.ts index 52a9f26c3e..3afc97739e 100644 --- a/data-asia/PMCG/PMCG1/061.ts +++ b/data-asia/PMCG/PMCG1/061.ts @@ -33,6 +33,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/48.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/062.ts b/data-asia/PMCG/PMCG1/062.ts index 0de8167bd0..ee48b7db67 100644 --- a/data-asia/PMCG/PMCG1/062.ts +++ b/data-asia/PMCG/PMCG1/062.ts @@ -41,6 +41,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/40.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/063.ts b/data-asia/PMCG/PMCG1/063.ts index 9f3a45e60c..5ef0c790da 100644 --- a/data-asia/PMCG/PMCG1/063.ts +++ b/data-asia/PMCG/PMCG1/063.ts @@ -41,6 +41,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/27.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/064.ts b/data-asia/PMCG/PMCG1/064.ts index 553e6058dc..3e6da1095a 100644 --- a/data-asia/PMCG/PMCG1/064.ts +++ b/data-asia/PMCG/PMCG1/064.ts @@ -44,6 +44,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/39.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/065.ts b/data-asia/PMCG/PMCG1/065.ts index 00f689ed51..deadae648a 100644 --- a/data-asia/PMCG/PMCG1/065.ts +++ b/data-asia/PMCG/PMCG1/065.ts @@ -31,6 +31,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/26.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/066.ts b/data-asia/PMCG/PMCG1/066.ts index fd820043bd..0463879bfb 100644 --- a/data-asia/PMCG/PMCG1/066.ts +++ b/data-asia/PMCG/PMCG1/066.ts @@ -44,6 +44,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/22.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/067.ts b/data-asia/PMCG/PMCG1/067.ts index f9825a54bc..c3945f2216 100644 --- a/data-asia/PMCG/PMCG1/067.ts +++ b/data-asia/PMCG/PMCG1/067.ts @@ -44,6 +44,13 @@ const card: Card = { type: "holo", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/5.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/068.ts b/data-asia/PMCG/PMCG1/068.ts index eddadbecff..ea96c6cfd8 100644 --- a/data-asia/PMCG/PMCG1/068.ts +++ b/data-asia/PMCG/PMCG1/068.ts @@ -44,6 +44,13 @@ const card: Card = { type: "holo", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/3.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/069.ts b/data-asia/PMCG/PMCG1/069.ts index 4eed24c52c..e4a160e954 100644 --- a/data-asia/PMCG/PMCG1/069.ts +++ b/data-asia/PMCG/PMCG1/069.ts @@ -44,6 +44,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/18.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/070.ts b/data-asia/PMCG/PMCG1/070.ts index 911c9fa7f5..3cec31b8fb 100644 --- a/data-asia/PMCG/PMCG1/070.ts +++ b/data-asia/PMCG/PMCG1/070.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/92.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/071.ts b/data-asia/PMCG/PMCG1/071.ts index f260e6cd7a..ac4293e46c 100644 --- a/data-asia/PMCG/PMCG1/071.ts +++ b/data-asia/PMCG/PMCG1/071.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/94.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/072.ts b/data-asia/PMCG/PMCG1/072.ts index 65bf3a84ef..79e3baefce 100644 --- a/data-asia/PMCG/PMCG1/072.ts +++ b/data-asia/PMCG/PMCG1/072.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/93.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/073.ts b/data-asia/PMCG/PMCG1/073.ts index e96a6f530e..8c6348ef5a 100644 --- a/data-asia/PMCG/PMCG1/073.ts +++ b/data-asia/PMCG/PMCG1/073.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/95.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/074.ts b/data-asia/PMCG/PMCG1/074.ts index 7ea263e93d..08420df20f 100644 --- a/data-asia/PMCG/PMCG1/074.ts +++ b/data-asia/PMCG/PMCG1/074.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/91.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/075.ts b/data-asia/PMCG/PMCG1/075.ts index b4470fd174..15e4d02093 100644 --- a/data-asia/PMCG/PMCG1/075.ts +++ b/data-asia/PMCG/PMCG1/075.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/90.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/076.ts b/data-asia/PMCG/PMCG1/076.ts index a1ceacdde7..8448887b5b 100644 --- a/data-asia/PMCG/PMCG1/076.ts +++ b/data-asia/PMCG/PMCG1/076.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/81.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/077.ts b/data-asia/PMCG/PMCG1/077.ts index ac96ad255f..bfbb728fd1 100644 --- a/data-asia/PMCG/PMCG1/077.ts +++ b/data-asia/PMCG/PMCG1/077.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/88.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/078.ts b/data-asia/PMCG/PMCG1/078.ts index 8b636f744a..6dc1176eba 100644 --- a/data-asia/PMCG/PMCG1/078.ts +++ b/data-asia/PMCG/PMCG1/078.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/89.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/079.ts b/data-asia/PMCG/PMCG1/079.ts index 7b9e077547..f83d2a858a 100644 --- a/data-asia/PMCG/PMCG1/079.ts +++ b/data-asia/PMCG/PMCG1/079.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/80.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/080.ts b/data-asia/PMCG/PMCG1/080.ts index c4b729dac8..f2065939ba 100644 --- a/data-asia/PMCG/PMCG1/080.ts +++ b/data-asia/PMCG/PMCG1/080.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/82.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/081.ts b/data-asia/PMCG/PMCG1/081.ts index 9a38d2776c..4da9f26642 100644 --- a/data-asia/PMCG/PMCG1/081.ts +++ b/data-asia/PMCG/PMCG1/081.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/84.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/082.ts b/data-asia/PMCG/PMCG1/082.ts index dba8a564fc..1f81864d71 100644 --- a/data-asia/PMCG/PMCG1/082.ts +++ b/data-asia/PMCG/PMCG1/082.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/87.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/083.ts b/data-asia/PMCG/PMCG1/083.ts index e45c9e5961..c0a0e13ea6 100644 --- a/data-asia/PMCG/PMCG1/083.ts +++ b/data-asia/PMCG/PMCG1/083.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/85.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/084.ts b/data-asia/PMCG/PMCG1/084.ts index ce2877a060..a042f255aa 100644 --- a/data-asia/PMCG/PMCG1/084.ts +++ b/data-asia/PMCG/PMCG1/084.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/86.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/085.ts b/data-asia/PMCG/PMCG1/085.ts index 3a0eddd7a8..efc5344659 100644 --- a/data-asia/PMCG/PMCG1/085.ts +++ b/data-asia/PMCG/PMCG1/085.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/83.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/086.ts b/data-asia/PMCG/PMCG1/086.ts index f24913c744..75e5bbdc17 100644 --- a/data-asia/PMCG/PMCG1/086.ts +++ b/data-asia/PMCG/PMCG1/086.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/72.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/087.ts b/data-asia/PMCG/PMCG1/087.ts index 6d1a9d65f7..83a9e4ac5a 100644 --- a/data-asia/PMCG/PMCG1/087.ts +++ b/data-asia/PMCG/PMCG1/087.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/74.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/088.ts b/data-asia/PMCG/PMCG1/088.ts index 8416c02253..e1aa272ce2 100644 --- a/data-asia/PMCG/PMCG1/088.ts +++ b/data-asia/PMCG/PMCG1/088.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/79.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/089.ts b/data-asia/PMCG/PMCG1/089.ts index f496188928..c1ca0476f2 100644 --- a/data-asia/PMCG/PMCG1/089.ts +++ b/data-asia/PMCG/PMCG1/089.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/73.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/090.ts b/data-asia/PMCG/PMCG1/090.ts index bbdce3af82..a1d0b0e645 100644 --- a/data-asia/PMCG/PMCG1/090.ts +++ b/data-asia/PMCG/PMCG1/090.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/71.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/091.ts b/data-asia/PMCG/PMCG1/091.ts index 1e78aaf485..688237831e 100644 --- a/data-asia/PMCG/PMCG1/091.ts +++ b/data-asia/PMCG/PMCG1/091.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/70.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/092.ts b/data-asia/PMCG/PMCG1/092.ts index b0d8e57b22..a523c58788 100644 --- a/data-asia/PMCG/PMCG1/092.ts +++ b/data-asia/PMCG/PMCG1/092.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/78.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/093.ts b/data-asia/PMCG/PMCG1/093.ts index 0961769f65..67878f498a 100644 --- a/data-asia/PMCG/PMCG1/093.ts +++ b/data-asia/PMCG/PMCG1/093.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/77.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/094.ts b/data-asia/PMCG/PMCG1/094.ts index 6be2c3ebff..0112dd3a34 100644 --- a/data-asia/PMCG/PMCG1/094.ts +++ b/data-asia/PMCG/PMCG1/094.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/76.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/095.ts b/data-asia/PMCG/PMCG1/095.ts index dc76c5c3f5..114a8a18b5 100644 --- a/data-asia/PMCG/PMCG1/095.ts +++ b/data-asia/PMCG/PMCG1/095.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/75.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/096.ts b/data-asia/PMCG/PMCG1/096.ts index 277cee30ef..3f2c0f4783 100644 --- a/data-asia/PMCG/PMCG1/096.ts +++ b/data-asia/PMCG/PMCG1/096.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/96.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/097.ts b/data-asia/PMCG/PMCG1/097.ts index 390f0d63ef..752af7eba7 100644 --- a/data-asia/PMCG/PMCG1/097.ts +++ b/data-asia/PMCG/PMCG1/097.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/99.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/098.ts b/data-asia/PMCG/PMCG1/098.ts index bc45401c6f..2104602a59 100644 --- a/data-asia/PMCG/PMCG1/098.ts +++ b/data-asia/PMCG/PMCG1/098.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/98.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/099.ts b/data-asia/PMCG/PMCG1/099.ts index 68acd2508f..5ec14a8ea2 100644 --- a/data-asia/PMCG/PMCG1/099.ts +++ b/data-asia/PMCG/PMCG1/099.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/102.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/100.ts b/data-asia/PMCG/PMCG1/100.ts index d563fb5d6c..98d163a8ac 100644 --- a/data-asia/PMCG/PMCG1/100.ts +++ b/data-asia/PMCG/PMCG1/100.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/100.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/101.ts b/data-asia/PMCG/PMCG1/101.ts index 51870b7d5b..51d9d4eebe 100644 --- a/data-asia/PMCG/PMCG1/101.ts +++ b/data-asia/PMCG/PMCG1/101.ts @@ -15,6 +15,13 @@ const card: Card = { type: "normal", }, ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/101.ts" + } + ] }; export default card diff --git a/data-asia/PMCG/PMCG1/102.ts b/data-asia/PMCG/PMCG1/102.ts index 8dcc3b57c9..04092a789c 100644 --- a/data-asia/PMCG/PMCG1/102.ts +++ b/data-asia/PMCG/PMCG1/102.ts @@ -1,20 +1,27 @@ -import {Card} from "../../../interfaces" +import { Card } from "../../../interfaces" import Set from "../PMCG1" const card: Card = { - set: Set, - name: { - ja: "エネルギーとの戦い", - }, + set: Set, + name: { + ja: "エネルギーとの戦い", + }, - rarity: "Common", - category: "Energy", + rarity: "Common", + category: "Energy", - variants: [ - { - type: "normal", - }, - ], + variants: [ + { + type: "normal", + }, + ], + + related: [ + { + type: "translation", + cardPath: "data/Base/Base Set/97.ts" + } + ] }; export default card diff --git a/data/Base.ts b/data/Base.ts index 4e24936377..a3baaff53e 100644 --- a/data/Base.ts +++ b/data/Base.ts @@ -11,7 +11,14 @@ const base: Serie = { nl: "Basis", pl: "Diament i Perla" }, - id: "base" + id: "base", + + related: [ + { + type: "translation", + seriesPath: "data-asia/PMCG.ts" + } + ] } export default base diff --git a/data/Base/Base Set.ts b/data/Base/Base Set.ts index e70985034a..2892013dbd 100644 --- a/data/Base/Base Set.ts +++ b/data/Base/Base Set.ts @@ -31,7 +31,14 @@ const base1: Set = { thirdParty: { cardmarket: 1523, tcgplayer: 604 - } + }, + + related: [ + { + type: "translation", + setPath: "data-asia/PMCG/PMCG1.ts" + } + ] } export default base1 diff --git a/data/Base/Base Set/1.ts b/data/Base/Base Set/1.ts index 844e3a9f99..ecdb3c8942 100644 --- a/data/Base/Base Set/1.ts +++ b/data/Base/Base Set/1.ts @@ -111,7 +111,14 @@ const card: Card = { thirdParty: { cardmarket: 273696, tcgplayer: 42346 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/049.ts" + } + ] } export default card diff --git a/data/Base/Base Set/10.ts b/data/Base/Base Set/10.ts index 556c08726e..283511efda 100644 --- a/data/Base/Base Set/10.ts +++ b/data/Base/Base Set/10.ts @@ -104,7 +104,14 @@ const card: Card = { thirdParty: { cardmarket: 273705, tcgplayer: 42347 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/050.ts" + } + ] } export default card diff --git a/data/Base/Base Set/100.ts b/data/Base/Base Set/100.ts index b1c675d718..a15751dd83 100644 --- a/data/Base/Base Set/100.ts +++ b/data/Base/Base Set/100.ts @@ -39,6 +39,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/100.ts" + } + ] } export default card diff --git a/data/Base/Base Set/101.ts b/data/Base/Base Set/101.ts index a4260079f6..88c2ae0f5b 100644 --- a/data/Base/Base Set/101.ts +++ b/data/Base/Base Set/101.ts @@ -39,6 +39,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/101.ts" + } + ] } export default card diff --git a/data/Base/Base Set/102.ts b/data/Base/Base Set/102.ts index e934662684..b465ae1512 100644 --- a/data/Base/Base Set/102.ts +++ b/data/Base/Base Set/102.ts @@ -39,6 +39,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/099.ts" + } + ] } export default card diff --git a/data/Base/Base Set/11.ts b/data/Base/Base Set/11.ts index 99482a8f1b..fd281c0487 100644 --- a/data/Base/Base Set/11.ts +++ b/data/Base/Base Set/11.ts @@ -113,7 +113,14 @@ const card: Card = { thirdParty: { cardmarket: 273706, tcgplayer: 42351 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/013.ts" + } + ] } export default card diff --git a/data/Base/Base Set/12.ts b/data/Base/Base Set/12.ts index 4c5de370c5..f3526a3455 100644 --- a/data/Base/Base Set/12.ts +++ b/data/Base/Base Set/12.ts @@ -112,7 +112,14 @@ const card: Card = { thirdParty: { cardmarket: 273707, tcgplayer: 42352 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/022.ts" + } + ] } export default card diff --git a/data/Base/Base Set/13.ts b/data/Base/Base Set/13.ts index fa0032eab8..1204964c83 100644 --- a/data/Base/Base Set/13.ts +++ b/data/Base/Base Set/13.ts @@ -114,7 +114,14 @@ const card: Card = { thirdParty: { cardmarket: 273708, tcgplayer: 42353 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/033.ts" + } + ] } export default card diff --git a/data/Base/Base Set/14.ts b/data/Base/Base Set/14.ts index 5190ba46a8..40c3005ac8 100644 --- a/data/Base/Base Set/14.ts +++ b/data/Base/Base Set/14.ts @@ -114,7 +114,14 @@ const card: Card = { thirdParty: { cardmarket: 273709, tcgplayer: 42354 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/038.ts" + } + ] } export default card diff --git a/data/Base/Base Set/15.ts b/data/Base/Base Set/15.ts index e25167900e..b7c02cf3e5 100644 --- a/data/Base/Base Set/15.ts +++ b/data/Base/Base Set/15.ts @@ -106,7 +106,14 @@ const card: Card = { thirdParty: { cardmarket: 273710, tcgplayer: 42355 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/011.ts" + } + ] } export default card diff --git a/data/Base/Base Set/16.ts b/data/Base/Base Set/16.ts index 6b9b3c46be..c8d7cdc537 100644 --- a/data/Base/Base Set/16.ts +++ b/data/Base/Base Set/16.ts @@ -109,7 +109,14 @@ const card: Card = { thirdParty: { cardmarket: 273711, tcgplayer: 42356 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/042.ts" + } + ] } export default card diff --git a/data/Base/Base Set/17.ts b/data/Base/Base Set/17.ts index 48684c6296..8238e62756 100644 --- a/data/Base/Base Set/17.ts +++ b/data/Base/Base Set/17.ts @@ -119,7 +119,14 @@ const card: Card = { thirdParty: { cardmarket: 273712, tcgplayer: 42357 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/012.ts" + } + ] } export default card diff --git a/data/Base/Base Set/18.ts b/data/Base/Base Set/18.ts index 87f1cdd6dc..7bc83f5936 100644 --- a/data/Base/Base Set/18.ts +++ b/data/Base/Base Set/18.ts @@ -113,7 +113,14 @@ const card: Card = { thirdParty: { cardmarket: 273713, tcgplayer: 42358 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/069.ts" + } + ] } export default card diff --git a/data/Base/Base Set/19.ts b/data/Base/Base Set/19.ts index 4f302db1c7..77ec64b669 100644 --- a/data/Base/Base Set/19.ts +++ b/data/Base/Base Set/19.ts @@ -115,7 +115,14 @@ const card: Card = { thirdParty: { cardmarket: 273714, tcgplayer: 42359 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/056.ts" + } + ] } export default card diff --git a/data/Base/Base Set/2.ts b/data/Base/Base Set/2.ts index a7c5eb3ba9..b375757033 100644 --- a/data/Base/Base Set/2.ts +++ b/data/Base/Base Set/2.ts @@ -112,7 +112,15 @@ const card: Card = { thirdParty: { cardmarket: 273697, tcgplayer: 42360 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/032.ts" + } + ] + } export default card diff --git a/data/Base/Base Set/20.ts b/data/Base/Base Set/20.ts index 3820fb3d17..a30fb6d571 100644 --- a/data/Base/Base Set/20.ts +++ b/data/Base/Base Set/20.ts @@ -103,7 +103,14 @@ const card: Card = { thirdParty: { cardmarket: 273715, tcgplayer: 42361 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/041.ts" + } + ] } export default card diff --git a/data/Base/Base Set/21.ts b/data/Base/Base Set/21.ts index 2fe59a9e30..bbf81fac7c 100644 --- a/data/Base/Base Set/21.ts +++ b/data/Base/Base Set/21.ts @@ -109,7 +109,14 @@ const card: Card = { thirdParty: { cardmarket: 273716, tcgplayer: 42362 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/040.ts" + } + ] } export default card diff --git a/data/Base/Base Set/22.ts b/data/Base/Base Set/22.ts index ee1589494c..ff60862427 100644 --- a/data/Base/Base Set/22.ts +++ b/data/Base/Base Set/22.ts @@ -118,7 +118,14 @@ const card: Card = { thirdParty: { cardmarket: 273717, tcgplayer: 42363 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/066.ts" + } + ] } export default card diff --git a/data/Base/Base Set/23.ts b/data/Base/Base Set/23.ts index f4444c73df..38ee48d4c8 100644 --- a/data/Base/Base Set/23.ts +++ b/data/Base/Base Set/23.ts @@ -113,7 +113,14 @@ const card: Card = { thirdParty: { cardmarket: 273718, tcgplayer: 42364 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/019.ts" + } + ] } export default card diff --git a/data/Base/Base Set/24.ts b/data/Base/Base Set/24.ts index 001ecb7cfa..e1ae5344f7 100644 --- a/data/Base/Base Set/24.ts +++ b/data/Base/Base Set/24.ts @@ -106,7 +106,14 @@ const card: Card = { thirdParty: { cardmarket: 273719, tcgplayer: 42365 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/017.ts" + } + ] } export default card diff --git a/data/Base/Base Set/25.ts b/data/Base/Base Set/25.ts index 5fb79e58c4..1b54a1110a 100644 --- a/data/Base/Base Set/25.ts +++ b/data/Base/Base Set/25.ts @@ -107,7 +107,14 @@ const card: Card = { thirdParty: { cardmarket: 273720, tcgplayer: 42366 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/030.ts" + } + ] } export default card diff --git a/data/Base/Base Set/26.ts b/data/Base/Base Set/26.ts index 1661cb2a19..85d16487f1 100644 --- a/data/Base/Base Set/26.ts +++ b/data/Base/Base Set/26.ts @@ -77,7 +77,14 @@ const card: Card = { thirdParty: { cardmarket: 273721, tcgplayer: 42367 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/065.ts" + } + ] } export default card diff --git a/data/Base/Base Set/27.ts b/data/Base/Base Set/27.ts index d7602b368c..be3cbecd2f 100644 --- a/data/Base/Base Set/27.ts +++ b/data/Base/Base Set/27.ts @@ -105,7 +105,14 @@ const card: Card = { thirdParty: { cardmarket: 273722, tcgplayer: 42368 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/063.ts" + } + ] } export default card diff --git a/data/Base/Base Set/28.ts b/data/Base/Base Set/28.ts index e6468138de..8d8cc5d556 100644 --- a/data/Base/Base Set/28.ts +++ b/data/Base/Base Set/28.ts @@ -79,6 +79,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/018.ts" + } + ] } export default card diff --git a/data/Base/Base Set/29.ts b/data/Base/Base Set/29.ts index 8290cac467..534d4407c9 100644 --- a/data/Base/Base Set/29.ts +++ b/data/Base/Base Set/29.ts @@ -108,6 +108,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/047.ts" + } + ] } export default card diff --git a/data/Base/Base Set/3.ts b/data/Base/Base Set/3.ts index ec54ec973b..58e19cd10c 100644 --- a/data/Base/Base Set/3.ts +++ b/data/Base/Base Set/3.ts @@ -113,7 +113,14 @@ const card: Card = { thirdParty: { cardmarket: 273698, tcgplayer: 42371 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/068.ts" + } + ] } export default card diff --git a/data/Base/Base Set/30.ts b/data/Base/Base Set/30.ts index 8e87570d8a..a0b4ca474b 100644 --- a/data/Base/Base Set/30.ts +++ b/data/Base/Base Set/30.ts @@ -107,6 +107,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/008.ts" + } + ] } export default card diff --git a/data/Base/Base Set/31.ts b/data/Base/Base Set/31.ts index c4d6600cb8..ad735734ce 100644 --- a/data/Base/Base Set/31.ts +++ b/data/Base/Base Set/31.ts @@ -105,6 +105,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/048.ts" + } + ] } export default card diff --git a/data/Base/Base Set/32.ts b/data/Base/Base Set/32.ts index 1b91964aaa..b5fd89f855 100644 --- a/data/Base/Base Set/32.ts +++ b/data/Base/Base Set/32.ts @@ -105,6 +105,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/046.ts" + } + ] } export default card diff --git a/data/Base/Base Set/33.ts b/data/Base/Base Set/33.ts index cc2c49a1d0..ebfa3a196e 100644 --- a/data/Base/Base Set/33.ts +++ b/data/Base/Base Set/33.ts @@ -110,6 +110,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/009.ts" + } + ] } export default card diff --git a/data/Base/Base Set/34.ts b/data/Base/Base Set/34.ts index 14c60e2433..6c580fcc83 100644 --- a/data/Base/Base Set/34.ts +++ b/data/Base/Base Set/34.ts @@ -113,6 +113,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/055.ts" + } + ] } export default card diff --git a/data/Base/Base Set/35.ts b/data/Base/Base Set/35.ts index 3f42ec200d..d851054e37 100644 --- a/data/Base/Base Set/35.ts +++ b/data/Base/Base Set/35.ts @@ -97,6 +97,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/031.ts" + } + ] } export default card diff --git a/data/Base/Base Set/36.ts b/data/Base/Base Set/36.ts index 0eb49ce55f..1b0a905019 100644 --- a/data/Base/Base Set/36.ts +++ b/data/Base/Base Set/36.ts @@ -100,6 +100,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/020.ts" + } + ] } export default card diff --git a/data/Base/Base Set/37.ts b/data/Base/Base Set/37.ts index f42b8a9016..2975d7588a 100644 --- a/data/Base/Base Set/37.ts +++ b/data/Base/Base Set/37.ts @@ -108,6 +108,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/010.ts" + } + ] } export default card diff --git a/data/Base/Base Set/38.ts b/data/Base/Base Set/38.ts index 477ecae5a3..a5b9899ef7 100644 --- a/data/Base/Base Set/38.ts +++ b/data/Base/Base Set/38.ts @@ -110,6 +110,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/028.ts" + } + ] } export default card diff --git a/data/Base/Base Set/39.ts b/data/Base/Base Set/39.ts index da791796ed..5e2b21599a 100644 --- a/data/Base/Base Set/39.ts +++ b/data/Base/Base Set/39.ts @@ -108,6 +108,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/064.ts" + } + ] } export default card diff --git a/data/Base/Base Set/4.ts b/data/Base/Base Set/4.ts index 6c6c9e8bd2..47bfadc7e5 100644 --- a/data/Base/Base Set/4.ts +++ b/data/Base/Base Set/4.ts @@ -121,6 +121,13 @@ const card: Card = { } ], + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/021.ts" + } + ] + } export default card diff --git a/data/Base/Base Set/40.ts b/data/Base/Base Set/40.ts index 807925605a..011ee399a8 100644 --- a/data/Base/Base Set/40.ts +++ b/data/Base/Base Set/40.ts @@ -112,6 +112,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/062.ts" + } + ] } export default card diff --git a/data/Base/Base Set/41.ts b/data/Base/Base Set/41.ts index a25c03889a..9c563087e7 100644 --- a/data/Base/Base Set/41.ts +++ b/data/Base/Base Set/41.ts @@ -78,6 +78,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/029.ts" + } + ] } export default card diff --git a/data/Base/Base Set/42.ts b/data/Base/Base Set/42.ts index ab847661b1..9be18aa510 100644 --- a/data/Base/Base Set/42.ts +++ b/data/Base/Base Set/42.ts @@ -105,6 +105,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/027.ts" + } + ] } export default card diff --git a/data/Base/Base Set/43.ts b/data/Base/Base Set/43.ts index b03845162c..9ac015a939 100644 --- a/data/Base/Base Set/43.ts +++ b/data/Base/Base Set/43.ts @@ -84,6 +84,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/043.ts" + } + ] } export default card diff --git a/data/Base/Base Set/44.ts b/data/Base/Base Set/44.ts index 1e9c94408a..23d583c673 100644 --- a/data/Base/Base Set/44.ts +++ b/data/Base/Base Set/44.ts @@ -84,6 +84,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/001.ts" + } + ] } export default card diff --git a/data/Base/Base Set/45.ts b/data/Base/Base Set/45.ts index 6861058e9b..d9d05a78e9 100644 --- a/data/Base/Base Set/45.ts +++ b/data/Base/Base Set/45.ts @@ -83,6 +83,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/002.ts" + } + ] } export default card diff --git a/data/Base/Base Set/46.ts b/data/Base/Base Set/46.ts index ba9c98d1cf..8ecbb22f36 100644 --- a/data/Base/Base Set/46.ts +++ b/data/Base/Base Set/46.ts @@ -98,6 +98,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/014.ts" + } + ] } export default card diff --git a/data/Base/Base Set/47.ts b/data/Base/Base Set/47.ts index df96127557..399f1abc19 100644 --- a/data/Base/Base Set/47.ts +++ b/data/Base/Base Set/47.ts @@ -100,6 +100,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/052.ts" + } + ] } export default card diff --git a/data/Base/Base Set/48.ts b/data/Base/Base Set/48.ts index ac7347c9eb..ffb7f456a3 100644 --- a/data/Base/Base Set/48.ts +++ b/data/Base/Base Set/48.ts @@ -90,6 +90,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/061.ts" + } + ] } export default card diff --git a/data/Base/Base Set/49.ts b/data/Base/Base Set/49.ts index 0aa3a9d40c..6790889dd5 100644 --- a/data/Base/Base Set/49.ts +++ b/data/Base/Base Set/49.ts @@ -98,6 +98,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/045.ts" + } + ] } export default card diff --git a/data/Base/Base Set/5.ts b/data/Base/Base Set/5.ts index 6e612dd26e..fc4da48a0a 100644 --- a/data/Base/Base Set/5.ts +++ b/data/Base/Base Set/5.ts @@ -110,7 +110,14 @@ const card: Card = { thirdParty: { cardmarket: 273700, tcgplayer: 42393 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/067.ts" + } + ] } export default card diff --git a/data/Base/Base Set/50.ts b/data/Base/Base Set/50.ts index 115fabde53..a7f344a3c3 100644 --- a/data/Base/Base Set/50.ts +++ b/data/Base/Base Set/50.ts @@ -101,6 +101,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/044.ts" + } + ] } export default card diff --git a/data/Base/Base Set/51.ts b/data/Base/Base Set/51.ts index 3a0a2175e7..a33840fffe 100644 --- a/data/Base/Base Set/51.ts +++ b/data/Base/Base Set/51.ts @@ -84,6 +84,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/006.ts" + } + ] } export default card diff --git a/data/Base/Base Set/52.ts b/data/Base/Base Set/52.ts index 046f82cf62..564b64b923 100644 --- a/data/Base/Base Set/52.ts +++ b/data/Base/Base Set/52.ts @@ -78,6 +78,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/053.ts" + } + ] } export default card diff --git a/data/Base/Base Set/53.ts b/data/Base/Base Set/53.ts index 146c0ac3a4..21a3f9e09d 100644 --- a/data/Base/Base Set/53.ts +++ b/data/Base/Base Set/53.ts @@ -103,6 +103,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/036.ts" + } + ] } export default card diff --git a/data/Base/Base Set/54.ts b/data/Base/Base Set/54.ts index fa39823fd0..9e2762f1a9 100644 --- a/data/Base/Base Set/54.ts +++ b/data/Base/Base Set/54.ts @@ -109,6 +109,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/003.ts" + } + ] } export default card diff --git a/data/Base/Base Set/55.ts b/data/Base/Base Set/55.ts index c06ecf4e90..a9eb08f278 100644 --- a/data/Base/Base Set/55.ts +++ b/data/Base/Base Set/55.ts @@ -78,6 +78,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/005.ts" + } + ] } export default card diff --git a/data/Base/Base Set/56.ts b/data/Base/Base Set/56.ts index 14dd3c89ea..da18ad76d9 100644 --- a/data/Base/Base Set/56.ts +++ b/data/Base/Base Set/56.ts @@ -97,6 +97,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/054.ts" + } + ] } export default card diff --git a/data/Base/Base Set/57.ts b/data/Base/Base Set/57.ts index 4dfddace04..3fdc3a1869 100644 --- a/data/Base/Base Set/57.ts +++ b/data/Base/Base Set/57.ts @@ -91,6 +91,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/059.ts" + } + ] } export default card diff --git a/data/Base/Base Set/58.ts b/data/Base/Base Set/58.ts index dd8bcd2c75..5c870701fb 100644 --- a/data/Base/Base Set/58.ts +++ b/data/Base/Base Set/58.ts @@ -98,6 +98,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/035.ts" + } + ] } export default card diff --git a/data/Base/Base Set/59.ts b/data/Base/Base Set/59.ts index 7f988efaf0..be49d269c2 100644 --- a/data/Base/Base Set/59.ts +++ b/data/Base/Base Set/59.ts @@ -83,6 +83,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/024.ts" + } + ] } export default card diff --git a/data/Base/Base Set/6.ts b/data/Base/Base Set/6.ts index 032576bacd..815c5e88a2 100644 --- a/data/Base/Base Set/6.ts +++ b/data/Base/Base Set/6.ts @@ -116,7 +116,14 @@ const card: Card = { thirdParty: { cardmarket: 273701, tcgplayer: 42404 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/034.ts" + } + ] } export default card diff --git a/data/Base/Base Set/60.ts b/data/Base/Base Set/60.ts index 59309449b1..31440da2f3 100644 --- a/data/Base/Base Set/60.ts +++ b/data/Base/Base Set/60.ts @@ -94,6 +94,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/016.ts" + } + ] } export default card diff --git a/data/Base/Base Set/61.ts b/data/Base/Base Set/61.ts index 730295f7cc..879dae47ca 100644 --- a/data/Base/Base Set/61.ts +++ b/data/Base/Base Set/61.ts @@ -85,6 +85,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/060.ts" + } + ] } export default card diff --git a/data/Base/Base Set/62.ts b/data/Base/Base Set/62.ts index f4e70634b4..0390616bbe 100644 --- a/data/Base/Base Set/62.ts +++ b/data/Base/Base Set/62.ts @@ -91,6 +91,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/051.ts" + } + ] } export default card diff --git a/data/Base/Base Set/63.ts b/data/Base/Base Set/63.ts index 09450d4369..3560ab526a 100644 --- a/data/Base/Base Set/63.ts +++ b/data/Base/Base Set/63.ts @@ -102,6 +102,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/023.ts" + } + ] } export default card diff --git a/data/Base/Base Set/64.ts b/data/Base/Base Set/64.ts index 9af6f58910..564a9b2e29 100644 --- a/data/Base/Base Set/64.ts +++ b/data/Base/Base Set/64.ts @@ -110,6 +110,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/026.ts" + } + ] } export default card diff --git a/data/Base/Base Set/65.ts b/data/Base/Base Set/65.ts index ca23dd8571..bd4852f156 100644 --- a/data/Base/Base Set/65.ts +++ b/data/Base/Base Set/65.ts @@ -78,6 +78,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/025.ts" + } + ] } export default card diff --git a/data/Base/Base Set/66.ts b/data/Base/Base Set/66.ts index e6ebf46a75..3f35f0f277 100644 --- a/data/Base/Base Set/66.ts +++ b/data/Base/Base Set/66.ts @@ -106,6 +106,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/007.ts" + } + ] } export default card diff --git a/data/Base/Base Set/67.ts b/data/Base/Base Set/67.ts index 30dd9e18f3..07450f65e4 100644 --- a/data/Base/Base Set/67.ts +++ b/data/Base/Base Set/67.ts @@ -78,6 +78,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/037.ts" + } + ] } export default card diff --git a/data/Base/Base Set/68.ts b/data/Base/Base Set/68.ts index 1b54802a15..d8d3e8e93b 100644 --- a/data/Base/Base Set/68.ts +++ b/data/Base/Base Set/68.ts @@ -84,6 +84,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/015.ts" + } + ] } export default card diff --git a/data/Base/Base Set/69.ts b/data/Base/Base Set/69.ts index 8e1ad8e40c..55e6df8eb1 100644 --- a/data/Base/Base Set/69.ts +++ b/data/Base/Base Set/69.ts @@ -83,6 +83,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/004.ts" + } + ] } export default card diff --git a/data/Base/Base Set/7.ts b/data/Base/Base Set/7.ts index a091483017..6fa8873663 100644 --- a/data/Base/Base Set/7.ts +++ b/data/Base/Base Set/7.ts @@ -95,7 +95,14 @@ const card: Card = { thirdParty: { cardmarket: 273702, tcgplayer: 42415 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/058.ts" + } + ] } export default card diff --git a/data/Base/Base Set/70.ts b/data/Base/Base Set/70.ts index 7943f083a2..84c5219db2 100644 --- a/data/Base/Base Set/70.ts +++ b/data/Base/Base Set/70.ts @@ -44,6 +44,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/091.ts" + } + ] } export default card diff --git a/data/Base/Base Set/71.ts b/data/Base/Base Set/71.ts index c4ef47a4bd..bf2551d1d7 100644 --- a/data/Base/Base Set/71.ts +++ b/data/Base/Base Set/71.ts @@ -43,6 +43,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/090.ts" + } + ] } export default card diff --git a/data/Base/Base Set/72.ts b/data/Base/Base Set/72.ts index 453dd6fd09..5dd85f6b19 100644 --- a/data/Base/Base Set/72.ts +++ b/data/Base/Base Set/72.ts @@ -43,6 +43,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/086.ts" + } + ] } export default card diff --git a/data/Base/Base Set/73.ts b/data/Base/Base Set/73.ts index c3d4854d50..751da9cfd4 100644 --- a/data/Base/Base Set/73.ts +++ b/data/Base/Base Set/73.ts @@ -38,6 +38,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/089.ts" + } + ] } export default card diff --git a/data/Base/Base Set/74.ts b/data/Base/Base Set/74.ts index eebe4c409f..df0f5b2f56 100644 --- a/data/Base/Base Set/74.ts +++ b/data/Base/Base Set/74.ts @@ -43,6 +43,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/087.ts" + } + ] } export default card diff --git a/data/Base/Base Set/75.ts b/data/Base/Base Set/75.ts index d7832bdd9b..4a30861002 100644 --- a/data/Base/Base Set/75.ts +++ b/data/Base/Base Set/75.ts @@ -43,6 +43,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/095.ts" + } + ] } export default card diff --git a/data/Base/Base Set/76.ts b/data/Base/Base Set/76.ts index 5a2c2712b1..6880fd40c4 100644 --- a/data/Base/Base Set/76.ts +++ b/data/Base/Base Set/76.ts @@ -42,6 +42,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/094.ts" + } + ] } export default card diff --git a/data/Base/Base Set/77.ts b/data/Base/Base Set/77.ts index 1f765a596a..b2e0e00e45 100644 --- a/data/Base/Base Set/77.ts +++ b/data/Base/Base Set/77.ts @@ -42,6 +42,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/093.ts" + } + ] } export default card diff --git a/data/Base/Base Set/78.ts b/data/Base/Base Set/78.ts index 76cafa1bb4..72da14f42b 100644 --- a/data/Base/Base Set/78.ts +++ b/data/Base/Base Set/78.ts @@ -43,6 +43,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/092.ts" + } + ] } export default card diff --git a/data/Base/Base Set/79.ts b/data/Base/Base Set/79.ts index 342db55af0..52f0958753 100644 --- a/data/Base/Base Set/79.ts +++ b/data/Base/Base Set/79.ts @@ -43,6 +43,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/088.ts" + } + ] } export default card diff --git a/data/Base/Base Set/8.ts b/data/Base/Base Set/8.ts index 64932e920d..e07d31dff9 100644 --- a/data/Base/Base Set/8.ts +++ b/data/Base/Base Set/8.ts @@ -105,7 +105,14 @@ const card: Card = { thirdParty: { cardmarket: 273703 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/057.ts" + } + ] } export default card diff --git a/data/Base/Base Set/80.ts b/data/Base/Base Set/80.ts index 3ee980439e..62fd20b475 100644 --- a/data/Base/Base Set/80.ts +++ b/data/Base/Base Set/80.ts @@ -43,6 +43,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/079.ts" + } + ] } export default card diff --git a/data/Base/Base Set/81.ts b/data/Base/Base Set/81.ts index 4b59151af1..ef253cc99f 100644 --- a/data/Base/Base Set/81.ts +++ b/data/Base/Base Set/81.ts @@ -43,6 +43,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/076.ts" + } + ] } export default card diff --git a/data/Base/Base Set/82.ts b/data/Base/Base Set/82.ts index 9703b4bd8d..cf5cf1492b 100644 --- a/data/Base/Base Set/82.ts +++ b/data/Base/Base Set/82.ts @@ -43,6 +43,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/080.ts" + } + ] } export default card diff --git a/data/Base/Base Set/83.ts b/data/Base/Base Set/83.ts index 4fd3be4c0e..53dd0f8310 100644 --- a/data/Base/Base Set/83.ts +++ b/data/Base/Base Set/83.ts @@ -43,6 +43,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/085.ts" + } + ] } export default card diff --git a/data/Base/Base Set/84.ts b/data/Base/Base Set/84.ts index 98388ce791..b6fe991196 100644 --- a/data/Base/Base Set/84.ts +++ b/data/Base/Base Set/84.ts @@ -43,6 +43,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/081.ts" + } + ] } export default card diff --git a/data/Base/Base Set/85.ts b/data/Base/Base Set/85.ts index 4a3d024f86..d865c175b5 100644 --- a/data/Base/Base Set/85.ts +++ b/data/Base/Base Set/85.ts @@ -42,6 +42,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/083.ts" + } + ] } export default card diff --git a/data/Base/Base Set/86.ts b/data/Base/Base Set/86.ts index e262671f86..b9487cf16e 100644 --- a/data/Base/Base Set/86.ts +++ b/data/Base/Base Set/86.ts @@ -42,6 +42,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/084.ts" + } + ] } export default card diff --git a/data/Base/Base Set/87.ts b/data/Base/Base Set/87.ts index 1678c3e02a..40c4d84742 100644 --- a/data/Base/Base Set/87.ts +++ b/data/Base/Base Set/87.ts @@ -42,6 +42,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/082.ts" + } + ] } export default card diff --git a/data/Base/Base Set/88.ts b/data/Base/Base Set/88.ts index 61ddfb52fb..06a3d00238 100644 --- a/data/Base/Base Set/88.ts +++ b/data/Base/Base Set/88.ts @@ -44,6 +44,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/077.ts" + } + ] } export default card diff --git a/data/Base/Base Set/89.ts b/data/Base/Base Set/89.ts index 45c9b027d6..06efe37040 100644 --- a/data/Base/Base Set/89.ts +++ b/data/Base/Base Set/89.ts @@ -43,6 +43,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/078.ts" + } + ] } export default card diff --git a/data/Base/Base Set/9.ts b/data/Base/Base Set/9.ts index 1b4cf11534..ccdb41c3f1 100644 --- a/data/Base/Base Set/9.ts +++ b/data/Base/Base Set/9.ts @@ -114,7 +114,14 @@ const card: Card = { thirdParty: { cardmarket: 273704, tcgplayer: 42433 - } + }, + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/039.ts" + } + ] } export default card diff --git a/data/Base/Base Set/90.ts b/data/Base/Base Set/90.ts index 4dd74232ac..fd3af02cc1 100644 --- a/data/Base/Base Set/90.ts +++ b/data/Base/Base Set/90.ts @@ -43,6 +43,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/075.ts" + } + ] } export default card diff --git a/data/Base/Base Set/91.ts b/data/Base/Base Set/91.ts index 762f21ffdb..c53ccc5118 100644 --- a/data/Base/Base Set/91.ts +++ b/data/Base/Base Set/91.ts @@ -43,6 +43,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/074.ts" + } + ] } export default card diff --git a/data/Base/Base Set/92.ts b/data/Base/Base Set/92.ts index 421e94a36f..9fcccdc43f 100644 --- a/data/Base/Base Set/92.ts +++ b/data/Base/Base Set/92.ts @@ -43,6 +43,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/070.ts" + } + ] } export default card diff --git a/data/Base/Base Set/93.ts b/data/Base/Base Set/93.ts index b98acaf4df..1c5062a3ac 100644 --- a/data/Base/Base Set/93.ts +++ b/data/Base/Base Set/93.ts @@ -43,6 +43,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/072.ts" + } + ] } export default card diff --git a/data/Base/Base Set/94.ts b/data/Base/Base Set/94.ts index d6a1c1fdd9..7c66a6336c 100644 --- a/data/Base/Base Set/94.ts +++ b/data/Base/Base Set/94.ts @@ -43,6 +43,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/071.ts" + } + ] } export default card diff --git a/data/Base/Base Set/95.ts b/data/Base/Base Set/95.ts index 1065fec7d0..47d34f663d 100644 --- a/data/Base/Base Set/95.ts +++ b/data/Base/Base Set/95.ts @@ -43,6 +43,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/073.ts" + } + ] } export default card diff --git a/data/Base/Base Set/96.ts b/data/Base/Base Set/96.ts index 08648e3af3..e2db8346a4 100644 --- a/data/Base/Base Set/96.ts +++ b/data/Base/Base Set/96.ts @@ -44,6 +44,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/096.ts" + } + ] } export default card diff --git a/data/Base/Base Set/97.ts b/data/Base/Base Set/97.ts index 62e3973cfb..a707884d60 100644 --- a/data/Base/Base Set/97.ts +++ b/data/Base/Base Set/97.ts @@ -39,6 +39,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/102.ts" + } + ] } export default card diff --git a/data/Base/Base Set/98.ts b/data/Base/Base Set/98.ts index bb35a27f8e..526d16c78f 100644 --- a/data/Base/Base Set/98.ts +++ b/data/Base/Base Set/98.ts @@ -39,6 +39,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/098.ts" + } + ] } export default card diff --git a/data/Base/Base Set/99.ts b/data/Base/Base Set/99.ts index 914a206e78..5f8cf9a452 100644 --- a/data/Base/Base Set/99.ts +++ b/data/Base/Base Set/99.ts @@ -39,6 +39,13 @@ const card: Card = { subtype: "1999-2000-copyright", } ], + + related: [ + { + type: "translation", + cardPath: "data-asia/PMCG/PMCG1/097.ts" + } + ] } export default card diff --git a/interfaces.d.ts b/interfaces.d.ts index 1c2d869451..0983231c43 100644 --- a/interfaces.d.ts +++ b/interfaces.d.ts @@ -14,6 +14,11 @@ export interface Serie { * Serie Energy cards */ energies?: Array + + related?: Array<{ + type: 'translation' + seriesPath: string + }> } export type VariantType = 'normal' | 'holo' | 'reverse' | 'metal' | 'lenticular' @@ -170,6 +175,11 @@ export interface Set { tcgplayer?: number cardtrader?: number } + + related?: Array<{ + type: 'translation' + setPath: string + }> } export interface Card { @@ -407,6 +417,11 @@ export interface Card { cardmarket?: number cardtrader?: number } + + related?: Array<{ + type: 'translation' | 'reprint' | 'original' + cardPath: string + }> } /** diff --git a/meta/definitions/api.d.ts b/meta/definitions/api.d.ts index d50764874b..60aded84cc 100644 --- a/meta/definitions/api.d.ts +++ b/meta/definitions/api.d.ts @@ -47,6 +47,7 @@ export interface Serie extends SerieResume { lastSet: SetResume; releaseDate: string; sets: Array; + related? : Array } interface variants { @@ -148,6 +149,8 @@ export interface Set extends SetResume { cardmarket?: number tcgplayer?: number } + + related? : Array } export interface CardResume { id: string; @@ -340,8 +343,19 @@ export interface Card extends CardResume { boosters?: Array updated: string + + /** + * Links to endpoints within TCGDex, used to provide a way to access translations of cards i.e + * when getting the JA version of a card, you can use the links to get the EN version of the same card + */ + related? : Array } +export interface Related { + lang: string + type: string + url: string +} /** * String Endpoint List */ diff --git a/server/compiler/utils/cardUtil.ts b/server/compiler/utils/cardUtil.ts index a67127b873..d922e98fd9 100644 --- a/server/compiler/utils/cardUtil.ts +++ b/server/compiler/utils/cardUtil.ts @@ -1,10 +1,10 @@ /* eslint-disable sort-keys */ import pathLib from 'node:path' import { Card, Set, SupportedLanguages, Types, variant_detailed, VariantStamps, VariantType } from '../../../interfaces' -import { CardResume, Card as CardSingle, variant_detailed as ApiVariantDetailed } from '../../../meta/definitions/api' +import { CardResume, Card as CardSingle, variant_detailed as ApiVariantDetailed, Related } from '../../../meta/definitions/api' import { getSet, setToSetSimple } from './setUtil' import translate from './translationUtil' -import { DB_PATH, cardIsLegal, fetchRemoteFile, getDataFolder, getLastEdit, resolveText, smartGlob } from './util' +import { cardIsLegal, DB_PATH, fetchRemoteFile, getDataFolder, getLastEdit, resolveText, smartGlob } from './util' import { objectMap, objectPick } from '@dzeio/object-util' import { formatVariant, variantToIdentifier } from "./variantUtil.ts"; @@ -73,6 +73,69 @@ function variantsToVariantsDetailed(variants: CardSingle['variants'],lang: Suppo return result.length > 0 ? result : undefined; } +async function generateLinks(currentLang:SupportedLanguages ,card: Card,localId: string): Promise { + + async function resolveRelatedCard(cardPath: string): Promise { + return await import(`../../${DB_PATH}${cardPath}`).then( + (m) => m.default + ) + } + + function formatCardEndpoint(lang: string,setId:string,localId:string): string { + return `/v2/${lang}/cards/${setId}-${localId}`; + } + + let links: Related[] = [] + + for (const key in card.name) { + if( key === currentLang) { + continue; + } + + if (card.name[key] !== undefined) { + links.push( + { + lang: key, + url: formatCardEndpoint(key,card.set.id,localId), + type: 'translation' + } + ) + } + } + + if(card.related && card.related.length > 0) { + for(const relation of card.related) { + if (!relation.cardPath) continue + const relatedCard = await resolveRelatedCard(relation.cardPath) + + if (!relatedCard) { + continue; + } + + for (const key in relatedCard.name) { + if (relatedCard.name[key] !== undefined) { + let localId = await findCardLocalId(key,relatedCard) + if(!localId) { + continue; + } + + links.push({ + lang: key, + url: formatCardEndpoint(key,relatedCard.set.id,localId), + type: relation.type + }) + } + } + } + } + + if(links.length == 0) { + return undefined; + } + + return links; +} + // eslint-disable-next-line max-lines-per-function export async function cardToCardSingle(localId: string, card: Card, lang: SupportedLanguages): Promise { const image = await getCardPictures(localId, card, lang) @@ -168,7 +231,9 @@ export async function cardToCardSingle(localId: string, card: Card, lang: Suppor })) : undefined, updated: await getCardLastEdit(localId, card, lang), - thirdParty: card.thirdParty + thirdParty: card.thirdParty, + + related: await generateLinks(lang,card,localId) } } @@ -186,6 +251,17 @@ export async function getCard(set: Set, id: string, lang: SupportedLanguages): P } } + +async function findCardLocalId(lang: string, target: Card): Promise { + let cards = await getCards(lang as SupportedLanguages,target.set) + + const found = cards.find(([_, card]) => + resolveText(card.name, lang as SupportedLanguages) === resolveText(target.name, lang as SupportedLanguages) && + card.rarity === target.rarity + ); + return found ? found[0] : undefined; +} + /** * Get cards filtered by the language they are available in * @param lang the language of the cards diff --git a/server/compiler/utils/serieUtil.ts b/server/compiler/utils/serieUtil.ts index 42c0c67665..378521349e 100644 --- a/server/compiler/utils/serieUtil.ts +++ b/server/compiler/utils/serieUtil.ts @@ -1,5 +1,5 @@ import { Serie, Set, SupportedLanguages } from '../../../interfaces' -import { SerieResume, Serie as SerieSingle } from '../../../meta/definitions/api' +import { SerieResume, Serie as SerieSingle, Related } from '../../../meta/definitions/api' import { getSets, setToSetSimple } from './setUtil' import { DB_PATH, getDataFolder, resolveText, smartGlob } from './util' @@ -58,6 +58,64 @@ export async function serieToSerieSimple(serie: Serie, lang: SupportedLanguages) } } +async function generateLinks(currentLang:SupportedLanguages ,serie: Serie): Promise { + + async function resolveRelatedSerie(seriePath: string): Promise { + return await import(`../../${DB_PATH}${seriePath}`).then( + (m) => m.default + ) + } + + function formatSeriesEndpoint(lang: string,serieId:string): string { + return `/v2/${lang}/series/${serieId}`; + } + + let links: Related[] = [] + + for (const key in serie.name) { + if( key === currentLang) { + continue; + } + + if (serie.name[key] !== undefined) { + links.push( + { + lang: key, + url: formatSeriesEndpoint(key,serie.id), + type: 'translation' + } + ) + } + } + + if(serie.related && serie.related.length > 0) { + for(const relation of serie.related) { + if (!relation.seriesPath) continue + const relatedSeries = await resolveRelatedSerie(relation.seriesPath) + + if (!relatedSeries) { + continue; + } + + for (const key in relatedSeries.name) { + if (relatedSeries.name[key] !== undefined) { + links.push({ + lang: key, + url: formatSeriesEndpoint(key,relatedSeries.id), + type: relation.type + }) + } + } + } + } + + if(links.length == 0) { + return undefined; + } + + return links; +} + export async function serieToSerieSingle(serie: Serie, lang: SupportedLanguages): Promise { const setsTmp = await getSets(getSerieIdenti(serie,lang), lang) const sortedSetsTmp = setsTmp.sort((a, b) => a.releaseDate > b.releaseDate ? 1 : -1) @@ -80,6 +138,7 @@ export async function serieToSerieSingle(serie: Serie, lang: SupportedLanguages) firstSet: sets[0], lastSet: sets[sets.length - 1], releaseDate: typeof releaseDate === 'object' ? releaseDate[lang] : releaseDate, - sets + sets, + related: await generateLinks(lang,serie) } } diff --git a/server/compiler/utils/setUtil.ts b/server/compiler/utils/setUtil.ts index 81856c8dc8..0cb84f56a2 100644 --- a/server/compiler/utils/setUtil.ts +++ b/server/compiler/utils/setUtil.ts @@ -1,6 +1,6 @@ import { objectKeys, objectMap } from '@dzeio/object-util' import { Card, Set, SupportedLanguages } from '../../../interfaces' -import { SetResume, Set as SetSingle } from '../../../meta/definitions/api' +import { SetResume, Set as SetSingle, Related } from '../../../meta/definitions/api' import { cardToCardSimple, getCards } from './cardUtil' import { DB_PATH, fetchRemoteFile, getDataFolder, resolveText, setIsLegal, smartGlob } from './util' import path from 'node:path' @@ -98,6 +98,65 @@ function getVariantCountForType(card: Card, type: 'normal' | 'reverse' | 'holo' } +async function generateLinks(currentLang:SupportedLanguages ,set: Set): Promise { + + async function resolveRelatedSet(setPath: string): Promise { + return await import(`../../${DB_PATH}${setPath}`).then( + (m) => m.default + ) + } + + function formatSetEndpoint(lang: string,setId:string): string { + return `/v2/${lang}/sets/${setId}`; + } + + let links: Related[] = [] + + for (const key in set.name) { + if( key === currentLang) { + continue; + } + + if (set.name[key] !== undefined) { + links.push( + { + lang: key, + url: formatSetEndpoint(key,set.id), + type: 'translation' + } + ) + } + } + + if(set.related && set.related.length > 0) { + for(const relation of set.related) { + if (!relation.setPath) continue + const relatedSet = await resolveRelatedSet(relation.setPath) + + if (!relatedSet) { + continue; + } + + for (const key in relatedSet.name) { + if (relatedSet.name[key] !== undefined) { + links.push({ + lang: key, + url: formatSetEndpoint(key,relatedSet.id), + type: relation.type + }) + } + } + } + } + + if(links.length == 0) { + return undefined; + } + + return links; +} + + export async function setToSetSingle(set: Set, lang: SupportedLanguages): Promise { const cards = await getCards(lang, set) const pics = await getSetPictures(set, lang) @@ -134,6 +193,7 @@ export async function setToSetSingle(set: Set, lang: SupportedLanguages): Promis name: resolveText(booster.name, lang), // images will be coming soon... })) : undefined, - thirdParty: set.thirdParty + thirdParty: set.thirdParty, + related: await generateLinks(lang,set,) } }