mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-04-25 04:12:11 +00:00
Added known swsh2 cards Update every sets to remove the images extension as it can be served as png, jpg and webp Added Trainer kits sets Added descriptions for set interface Added new fields see #6 Signed-off-by: Avior <florian.bouillon@delta-wings.net>
38 lines
738 B
TypeScript
38 lines
738 B
TypeScript
import Card from '../../../interfaces/Card'
|
|
import Type from '../../../interfaces/Type'
|
|
import Tag from '../../../interfaces/Tag'
|
|
import Rarity from '../../../interfaces/Rarity'
|
|
import AbilityType from '../../../interfaces/AbilityType'
|
|
import Category from '../../../interfaces/Category'
|
|
import path from 'path'
|
|
import swsh2 from '../../../sets/swsh/swsh2'
|
|
|
|
const localId = path.basename(__filename).split(".")[0]
|
|
|
|
const card: Card = {
|
|
|
|
// ids
|
|
id: `swsh2-${localId}`,
|
|
localId: isNaN(parseInt(localId)) ? localId : parseInt(localId),
|
|
|
|
dexId: 888,
|
|
|
|
// Card informations
|
|
name: {
|
|
en: "Zacian",
|
|
fr: "Zacian",
|
|
},
|
|
|
|
tags: [
|
|
Tag.BASIC,
|
|
],
|
|
|
|
rarity: Rarity.RareHolo,
|
|
|
|
category: Category.POKEMON,
|
|
|
|
set: swsh2
|
|
}
|
|
|
|
export default card
|