Deck
The Deck Data Model describes the properties of an individual Deck.
- Parent file: All Decks
- Parent property:
data
TypeScript Model
Toggle Model
TypeScript
export type Deck = {
code: string;
commander?: CardDeck[];
mainBoard: CardDeck[];
name: string;
releaseDate: string | null;
sealedProductUuids: string;
sideBoard: CardDeck[];
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 (Deck) Data Model.
- Type:
CardDeck[]
- Introduced:
v5.1.0
mainBoard
The cards in the main-board. See the Card (Deck) Data Model.
- Type:
CardDeck[]
- 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 cross-reference identifier to determine which sealed products contain this deck.
- Type:
string
- Introduced:
v5.2.2
sideBoard
The cards in the side-board. See the Card (Deck) Data Model.
- Type:
CardDeck[]
- Introduced:
v4.3.0
type
The type of deck.
- Type:
string
- Introduced:
v4.3.0