Skip to content

Booster Pack

The Booster Pack Data Model describes the properties of how a Booster Pack can be configured.

TypeScript Model

Toggle Model
TypeScript
export type BoosterPack = {
  contents: Partial<Record<string, number>>;
  weight: number;
};

Model Properties

contents

The contents of the booster pack, where the key is the card slot and value is the weight.

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

weight

The weight of the booster pack configuration.

  • Type: number
  • Introduced: v5.2.2