1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-23 19:32:11 +00:00
Florian Bouillon 87a25d2319
Updated Interfaces
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2020-02-12 00:21:24 +01:00

46 lines
683 B
TypeScript

import LangList from "./LangList";
import Expansion from "./Expansion";
export default interface Set {
// Display Name
name: LangList<string> | string
expansion?: Expansion
expansionCode?: string
code?: string
tcgoCode?: string
cardCount?: {
// total containing all secrets
total: number
// official count on cards
official: number
}
format?: string
releaseDate?: string // date in format yyyy-mm-dd
// api endpoint for scrapping
api?: string
legal?: {
standard: boolean,
expanded: boolean
}
images?: {
// thingy on bottom of cards
symbol?: string
// Official logo of set
logo?: string
}
//temp
slug?: string
subsets?: Array<Set>
}