mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-07-04 13:19:21 +00:00
Added raw getSet that don't process Date
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
@ -3,34 +3,37 @@ import { List } from "./General";
|
||||
import LangList from "./LangList";
|
||||
import Expansion from "./Expansion";
|
||||
|
||||
|
||||
export type SetRequest = SetSingle
|
||||
|
||||
export interface SetSingleRaw extends SetSingle {
|
||||
releaseDate: string
|
||||
}
|
||||
|
||||
export type SetSingle = {
|
||||
name: string
|
||||
code: string
|
||||
name: string
|
||||
code: string
|
||||
|
||||
expansionCode?: string
|
||||
tcgoCode?: string
|
||||
expansionCode?: string
|
||||
tcgoCode?: string
|
||||
|
||||
cardCount: {
|
||||
total: number
|
||||
official: number
|
||||
}
|
||||
cardCount: {
|
||||
total: number
|
||||
official: number
|
||||
}
|
||||
|
||||
releaseDate: Date|string
|
||||
releaseDate: Date | string
|
||||
|
||||
legal?: {
|
||||
standard: boolean
|
||||
expanded: boolean
|
||||
}
|
||||
legal?: {
|
||||
standard: boolean
|
||||
expanded: boolean
|
||||
}
|
||||
|
||||
images?: {
|
||||
symbol?: string
|
||||
logo?: string
|
||||
}
|
||||
images?: {
|
||||
symbol?: string
|
||||
logo?: string
|
||||
}
|
||||
|
||||
list: Array<CardSimple>
|
||||
list: Array<CardSimple>
|
||||
}
|
||||
|
||||
export type SetSimple = {
|
||||
|
Reference in New Issue
Block a user