Skip to main content

Function: parseStarterPacks()

parseStarterPacks(raw): object

Defined in: Data/Core/StarterPackTypes.ts:299

Validate a catalog's whole starter_packs section.

One malformed entry must not hide the rest, so rejects are reported alongside the survivors for the caller to log — the same contract as parseFeaturePacks.

Parameters

raw

unknown

Returns

object

packs

packs: StarterPack[]

rejected

rejected: object[]