Initial reliable release of consent engine

This commit is contained in:
Deyson Thomé
2026-09-02 14:19:05 -03:00
commit 9e1082d47b
22 changed files with 3377 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
/**
* Universal Cookie Consent
* jurisdiction/index.js
*
* Public API for the Jurisdiction Engine.
*/
export {
JURISDICTION_MODES,
RESOLUTION_SOURCES,
CONFIDENCE_LEVELS,
RESOLUTION_STATUSES,
DEFAULT_JURISDICTION_ID,
DEFAULT_POLICY_ID,
DEFAULT_MODE
} from "./constants.js";
export {
JURISDICTION_CATALOG,
getJurisdiction,
hasJurisdiction
} from "./jurisdiction.js";
export {
POLICIES,
getPolicy,
hasPolicy
} from "./policies.js";
export {
resolveJurisdiction,
getResolutionPriority,
getSourceConfidence,
isValidResolution
} from "./resolver.js";