1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-06-15 08:59:18 +00:00

Removed set.variants from sets (#47)

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2021-08-12 21:34:50 +02:00
committed by GitHub
parent ec65614572
commit 49291b5c64
156 changed files with 155 additions and 1245 deletions

5
interfaces.d.ts vendored
View File

@ -14,10 +14,6 @@ interface variants {
firstEdition?: boolean
}
type Mandatory<T extends {}> = {
[TK in keyof T]: NonNullable<T[TK]>
}
export type Types = 'Colorless' | 'Darkness' | 'Dragon' |
'Fairy' | 'Fighting' | 'Fire' |
'Grass' | 'Lightning' | 'Metal' |
@ -29,7 +25,6 @@ export interface Set {
name: Languages
serie: Serie
tcgOnline?: string
variants: Mandatory<variants>
cardCount: {
official: number