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: 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: Record<string, number>
  • Introduced: v5.2.2

weight

The weight of the booster pack configuration.

  • Type: number
  • Introduced: v5.2.2