Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / DeckStats

Interface: DeckStats ​

Defined in: packages/ts-sdk/src/generated/types/common.ts:1167

Lifetime simulator results for one stable My SWU deck id.

Example:

ts
import type { DeckStats } from '@my-swu/simulator-client'

const deckStats: DeckStats = {
  "deckId": 'example',
  "formats": [],
}

console.log(deckStats)

Properties ​

deckId ​

Example:

ts
import type { DeckStats } from '@my-swu/simulator-client'

const deckStats: DeckStats = {
  "deckId": 'example',
  "formats": [],
}

const { deckId } = deckStats

console.log(deckId)

deckId: string

Defined in: packages/ts-sdk/src/generated/types/common.ts:1168


formats ​

Example:

ts
import type { DeckStats } from '@my-swu/simulator-client'

const deckStats: DeckStats = {
  "deckId": 'example',
  "formats": [],
}

const { formats } = deckStats

console.log(formats)

formats: DeckFormatStats[]

Defined in: packages/ts-sdk/src/generated/types/common.ts:1169

Released under the MIT License.