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:
5
interfaces.d.ts
vendored
5
interfaces.d.ts
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user