resolveCategories
function resolveCategories(config, jurisdiction): ResolvedCategory[]Defined in: resolve.ts:12
Resolve each declared category against the active jurisdiction’s vendor rules.
For each category, the most-restrictive vendor mode wins:
consent > notice > always
Categories with no vendors fall back to the jurisdiction’s default mode,
unless required: true (always allowed) or an explicit mode override is set.
Parameters
| Parameter | Type |
|---|---|
config | ConsentConfig |
jurisdiction | Jurisdiction |