@my-swu/simulator-client / DeckStatsArchetype
Type Alias: DeckStatsArchetype
DeckStatsArchetype = {
baseCardIds:number[];baseProfileKey:string;id:string;kind:"deck";leaderCardIds:number[]; } | {decks:DeckArchetype[];id:string;kind:"trilogySet"; }
Defined in: packages/ts-sdk/src/generated/types/common.ts:1174
Format-aware opponent archetype.
Example:
ts
import type { DeckStatsArchetype } from '@my-swu/simulator-client'
const deckStatsArchetype: DeckStatsArchetype = {
"kind": "deck",
"id": 'example',
"leaderCardIds": [],
"baseCardIds": [],
"baseProfileKey": 'example',
}
console.log(deckStatsArchetype)Union Members
Type Literal
Example:
ts
import type { DeckStatsArchetype } from '@my-swu/simulator-client'
const deckStatsArchetype: DeckStatsArchetype = {
"kind": "deck",
"id": 'example',
"leaderCardIds": [],
"baseCardIds": [],
"baseProfileKey": 'example',
}
console.log(deckStatsArchetype){ baseCardIds: number[]; baseProfileKey: string; id: string; kind: "deck"; leaderCardIds: number[]; }
baseCardIds
baseCardIds:
number[]
All equivalent base prints encountered in this aggregate.
baseProfileKey
baseProfileKey:
string
id
id:
string
kind
kind:
"deck"
leaderCardIds
leaderCardIds:
number[]
Type Literal
Example:
ts
import type { DeckStatsArchetype } from '@my-swu/simulator-client'
const deckStatsArchetype: DeckStatsArchetype = {
"kind": "deck",
"id": 'example',
"leaderCardIds": [],
"baseCardIds": [],
"baseProfileKey": 'example',
}
console.log(deckStatsArchetype){ decks: DeckArchetype[]; id: string; kind: "trilogySet"; }
