Skip to content

Deck (Set)

The Deck (Set) Data Model describes the properties of an individual Deck within a Set.

  • Parent model: Set
  • Parent property: decks

TypeScript Model

Toggle Model
TypeScript
export type DeckSet = {
  code: string;
  commander?: CardSetDeck[];
  mainBoard: CardSetDeck[];
  name: string;
  releaseDate: string | null;
  sealedProductUuids: string[] | null;
  sideBoard: CardSetDeck[];
  type: string;
};

Model Properties

code

The printing set code for the deck.

  • Type: string
  • Introduced: v4.3.0

commander O

The card that is the Commander in this deck. See the Card (Set Deck) Data Model.

  • Type: CardSetDeck[]
  • Introduced: v5.1.0

mainBoard

The cards in the main-board. See the Card (Set Deck) Data Model.

  • Type: CardSetDeck[]
  • Introduced: v4.3.0

name

The name of the deck.

  • Type: string
  • Introduced: v4.3.0

releaseDate

The release date in ISO 8601 format for the set. Returns null if the deck was not formally released as a product.

  • Type: string | null
  • Introduced: v4.3.0

sealedProductUuids

A list of UUID's associated to this Deck in a Sealed Product.

  • Type: string[] | null
  • Introduced: v5.2.2

sideBoard

The cards in the side-board. See the Card (Set Deck) Data Model.

  • Type: CardSetDeck[]
  • Introduced: v4.3.0

type

The type of deck.

  • Type: string
  • Introduced: v4.3.0