1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-29 22:32:10 +00:00
Florian Bouillon a284fcac64
Updated DB and made it work with SDK
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2020-03-11 09:41:29 +01:00

68 lines
998 B
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import Card from '@tcgdex/sdk/interfaces/Card'
import Type from '@tcgdex/sdk/interfaces/Type'
import Tag from '@tcgdex/sdk/interfaces/Tag'
import Rarity from '@tcgdex/sdk/interfaces/Rarity'
import AbilityType from '@tcgdex/sdk/interfaces/AbilityType'
import Category from '@tcgdex/sdk/interfaces/Category'
const card: Card = {
// ids
id: "swsh1-158",
localId: 158,
// Card informations
name: {
en: "Big Charm",
fr: "Grande Amulette",
},
image: {
low: {
en: "https://assets.tcgdex.net/en/swsh/swsh1/158/low",
fr: "https://assets.tcgdex.net/fr/swsh/swsh1/158/low",
}
},
evolveFrom: {},
tags: [
Tag.TOOL,
],
illustrator: "inose yukie",
attacks: [{
name: {},
text: {
en: "The Pokémon this card is attached to gets +30 HP.",
fr: "Cette carte ajoute 30 PV au Pokémon auquel elle est attachée.",
},
}],
rarity: Rarity.Uncommon,
category: Category.TRAINER,
set: {
name: "Sword & Shield",
code: "swsh1"
}
}
export default card