Compare commits

...

2 Commits

Author SHA1 Message Date
040cb4508a v2.0.0-beta.4 2021-05-02 15:49:34 +02:00
edbcf7f4da Add new cardCount field to set
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2021-05-02 15:48:26 +02:00
2 changed files with 36 additions and 3 deletions

37
interfaces.d.ts vendored
View File

@ -33,8 +33,14 @@ interface SetResume {
logo?: string
symbol?: string
cardCount: {
total: number
official: number
/**
* total of number of cards
*/
total: number
/**
* number of cards officialy (on the bottom of each cards)
*/
official: number
}
}
@ -50,6 +56,33 @@ export interface Set extends SetResume {
expanded: boolean
}
cardCount: {
/**
* total of number of cards
*/
total: number
/**
* number of cards officialy (on the bottom of each cards)
*/
official: number
/**
* number of cards having a normal version
*/
normal: number
/**
* number of cards having an reverse version
*/
reverse: number
/**
* number of cards having an holo version
*/
holo: number
/**
* Number of possible cards
*/
firstEd?: number
}
cards: CardList
}

View File

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