@my-swu/simulator-client / MatchHistoryDeckSummary
Interface: MatchHistoryDeckSummary
Defined in: packages/ts-sdk/src/generated/types/common.ts:3988
Public deck summary stored with one history player.
Example:
import type { MatchHistoryDeckSummary } from '@my-swu/simulator-client'
const matchHistoryDeckSummary: MatchHistoryDeckSummary = {
"leaders": [],
"bases": [],
"format": "premier",
}
console.log(matchHistoryDeckSummary)Properties
bases
Example:
import type { MatchHistoryDeckSummary } from '@my-swu/simulator-client'
const matchHistoryDeckSummary: MatchHistoryDeckSummary = {
"leaders": [],
"bases": [],
"format": "premier",
}
const { bases } = matchHistoryDeckSummary
console.log(bases)bases:
number[]
Defined in: packages/ts-sdk/src/generated/types/common.ts:3992
Base card ids that identify the submitted deck.
format
Example:
import type { MatchHistoryDeckSummary } from '@my-swu/simulator-client'
const matchHistoryDeckSummary: MatchHistoryDeckSummary = {
"leaders": [],
"bases": [],
"format": "premier",
}
const { format } = matchHistoryDeckSummary
console.log(format)format:
MatchFormat
Defined in: packages/ts-sdk/src/generated/types/common.ts:3996
Match/deck display format.
id?
Example:
import type { MatchHistoryDeckSummary } from '@my-swu/simulator-client'
const matchHistoryDeckSummary: MatchHistoryDeckSummary = {
"leaders": [],
"bases": [],
"format": "premier",
}
const { id } = matchHistoryDeckSummary
console.log(id)
optionalid?:string|null
Defined in: packages/ts-sdk/src/generated/types/common.ts:4000
Freeform client deck id. The SWU app uses its rstore deck id here.
leaders
Example:
import type { MatchHistoryDeckSummary } from '@my-swu/simulator-client'
const matchHistoryDeckSummary: MatchHistoryDeckSummary = {
"leaders": [],
"bases": [],
"format": "premier",
}
const { leaders } = matchHistoryDeckSummary
console.log(leaders)leaders:
number[]
Defined in: packages/ts-sdk/src/generated/types/common.ts:4004
Leader card ids that identify the submitted deck.
name?
Example:
import type { MatchHistoryDeckSummary } from '@my-swu/simulator-client'
const matchHistoryDeckSummary: MatchHistoryDeckSummary = {
"leaders": [],
"bases": [],
"format": "premier",
}
const { name } = matchHistoryDeckSummary
console.log(name)
optionalname?:string|null
Defined in: packages/ts-sdk/src/generated/types/common.ts:4008
Captured display name for the submitted deck.
