Add new functions

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2020-03-11 21:57:40 +01:00
parent d0088d62cb
commit 3cdc149845
2 changed files with 98 additions and 9 deletions

View File

@ -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