Compare commits

...

3 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
3 changed files with 6 additions and 4 deletions

View File

@ -25,7 +25,7 @@ export interface CardSingle {
low: string low: string
high?: string high?: string
} }
tags: Array<TagSimple> tags?: Array<TagSimple>
illustrator?: IllustratorSimple illustrator?: IllustratorSimple
rarity: RaritySimple rarity: RaritySimple
category: CategorySimple category: CategorySimple
@ -89,7 +89,7 @@ type Card = {
evolveFrom?: LangList<string> evolveFrom?: LangList<string>
evolveTo?: Array<LangList<string>> evolveTo?: Array<LangList<string>>
tags: Array<Tag> // made after tags?: Array<Tag> // made after
illustrator?: string illustrator?: string
abilities?: Array<Ability> 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 // Both RAREULTRA and ULTRARARE are the same until I know the correct name
RAREULTRA = 4, RAREULTRA = 4,
ULTRARARE = 4 ULTRARARE = 4,
AMAZING,
} }

View File

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