Skip to content

Booster Config ​

The Booster Config Data Model describes the properties of how a Set's booster data may be configured.

  • Parent model: Set
  • Parent property: booster

TypeScript Model ​

Toggle Model
TypeScript
export type BoosterConfig = {
  boosters: BoosterPack[];
  boostersTotalWeight: number;
  name?: string;
  sheets: Record<string, BoosterSheet>;
  sourceSetCodes: string[];
};

Model Properties ​

boosters ​

The booster packs configurations. See the Booster (Pack) Data Model.

  • Type: BoosterPack[]
  • Introduced: v5.2.2

boostersTotalWeight ​

The weight of total booster pack configurations.

  • Type: number
  • Introduced: v5.2.2

name O ​

The name of the product, if applicable.

  • Type: string
  • Introduced: v5.2.2

sheets ​

The sheets of cards in a printing where the key is the name of the sheet and value is the configuration. See the Booster (Sheet) Data Model.

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

sourceSetCodes ​

The set codes with which cards in this booster are selected from.

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