Skip to content

Booster Sheet

The Booster Sheet Data Model describes the properties of how a sheet of printed cards can be configured.

TypeScript Model

Toggle Model
TypeScript
export type BoosterSheet = {
  allowDuplicates?: boolean;
  balanceColors?: boolean;
  cards: Record<string, number>;
  foil: boolean;
  fixed?: boolean;
  totalWeight: number;
};

Model Properties

allowDuplicates O

If the sheet can be picked for cards in duplicates.

  • Type: boolean
  • Introduced: v5.2.2

balanceColors O

If the sheet needs to have it colors balanced.

  • Type: boolean
  • Introduced: v5.2.2

cards

The cards in the sheet, where the key is the card uuid and value is its weight in the sheet.

  • Type: Record<string, number>
  • Introduced: v5.2.2

foil

If the cards in the sheet are all foiled.

  • Type: boolean
  • Introduced: v5.2.2

fixed O

If cards are garunteed to be in this sheet. Used for "Jump Start"-style products.

  • Type: boolean
  • Introduced: v5.2.2

totalWeight

Total weight of the sheet.

  • Type: number
  • Introduced: v5.2.2