mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-07-04 13:19:21 +00:00
Add new functions
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
@ -33,10 +33,34 @@ export interface CardSingle {
|
||||
code: string
|
||||
}
|
||||
cardTypes?: {
|
||||
normal: boolean
|
||||
reverse: boolean
|
||||
holo: boolean
|
||||
firstEd: boolean
|
||||
/**
|
||||
* normal card without anything special
|
||||
*
|
||||
*
|
||||
* @type {boolean} consider `undefined` to true
|
||||
*/
|
||||
normal?: boolean
|
||||
/**
|
||||
* Card which has a holographic background
|
||||
* but not the picture
|
||||
*
|
||||
* @type {boolean} `undefined` === `true`
|
||||
*/
|
||||
reverse?: boolean
|
||||
/**
|
||||
* Card which has a hologaphic picture
|
||||
*
|
||||
* @type {boolean} `undefined` === `false`
|
||||
*/
|
||||
holo?: boolean
|
||||
/**
|
||||
* Card which can have a `1st ed` icon
|
||||
*
|
||||
* only the base expansion should received it
|
||||
*
|
||||
* @type {boolean} `undefined` === `false`
|
||||
*/
|
||||
firstEd?: boolean
|
||||
}
|
||||
|
||||
// Pokémon only
|
||||
|
Reference in New Issue
Block a user