mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-06-27 14:29:18 +00:00
feat: add boosters to API (#737)
This commit is contained in:
9
interfaces.d.ts
vendored
9
interfaces.d.ts
vendored
@ -74,6 +74,10 @@ export interface Set {
|
||||
official: number
|
||||
}
|
||||
|
||||
boosters?: Record<string, {
|
||||
name: Languages<string>
|
||||
}>
|
||||
|
||||
releaseDate: ISODate | Languages<ISODate>
|
||||
}
|
||||
|
||||
@ -88,6 +92,11 @@ export interface Card {
|
||||
*/
|
||||
illustrator?: string
|
||||
|
||||
/**
|
||||
* indicate in which boosters the card is available
|
||||
*/
|
||||
boosters?: Array<string>
|
||||
|
||||
/**
|
||||
* Card Rarity
|
||||
*
|
||||
|
Reference in New Issue
Block a user