1
0
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:
2025-05-18 00:53:26 +02:00
committed by GitHub
parent 8ca40f410d
commit c809b14783
815 changed files with 3183 additions and 960 deletions

9
interfaces.d.ts vendored
View File

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