Added raw getSet that don't process Date

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2021-01-08 11:39:01 +01:00
parent 526c65bc7c
commit ae7f3077c0
2 changed files with 30 additions and 22 deletions

View File

@ -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 = {