Compare commits

...

4 Commits

Author SHA1 Message Date
97acf4287f v1.7.0 2021-01-31 13:49:49 +01:00
7f0e95d574 Added the new Rarity v1.7.0
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2021-01-31 13:49:36 +01:00
b7d8fac835 v1.6.1
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2021-01-31 13:46:57 +01:00
d965aabad7 v1.6.1 2021-01-31 13:28:23 +01:00
3 changed files with 6 additions and 4 deletions

View File

@ -25,7 +25,7 @@ export interface CardSingle {
low: string
high?: string
}
tags: Array<TagSimple>
tags?: Array<TagSimple>
illustrator?: IllustratorSimple
rarity: RaritySimple
category: CategorySimple
@ -89,7 +89,7 @@ type Card = {
evolveFrom?: LangList<string>
evolveTo?: Array<LangList<string>>
tags: Array<Tag> // made after
tags?: Array<Tag> // made after
illustrator?: string
abilities?: Array<Ability>

View File

@ -9,7 +9,9 @@ export enum Rarity {
// Both RAREULTRA and ULTRARARE are the same until I know the correct name
RAREULTRA = 4,
ULTRARARE = 4
ULTRARARE = 4,
AMAZING,
}

View File

@ -1,6 +1,6 @@
{
"name": "@tcgdex/sdk",
"version": "1.6.0",
"version": "1.7.0",
"main": "./tcgdex.js",
"types": "./tcgdex.d.ts",
"repository": "https://github.com/tcgdex/javascript-sdk.git",