Skip to content

ResolvedCategory

type ResolvedCategory = {
default: boolean;
description: string;
id: CategoryId;
mode: ConsentMode;
required: boolean;
vendors: string[];
};

Defined in: types.ts:179

A category resolved against the active jurisdiction — what the SDK actually needs to know to render UI and gate scripts.

Type declaration

NameTypeDefined in
defaultbooleantypes.ts:183
description?stringtypes.ts:185
idCategoryIdtypes.ts:180
modeConsentModetypes.ts:182
requiredbooleantypes.ts:181
vendorsstring[]types.ts:184