Initial reliable release of consent engine
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
/**
|
||||
* Universal Cookie Consent
|
||||
* jurisdiction/constants.js
|
||||
*
|
||||
* Pure constants for jurisdiction resolution. No DOM, network, storage,
|
||||
* geolocation, GTM, or legal enforcement logic belongs here.
|
||||
*/
|
||||
|
||||
export const JURISDICTION_MODES = Object.freeze([
|
||||
"fixed",
|
||||
"auto",
|
||||
"global"
|
||||
]);
|
||||
|
||||
export const RESOLUTION_SOURCES = Object.freeze([
|
||||
"site-config",
|
||||
"server",
|
||||
"application",
|
||||
"browser",
|
||||
"fallback"
|
||||
]);
|
||||
|
||||
export const CONFIDENCE_LEVELS = Object.freeze([
|
||||
"explicit",
|
||||
"high",
|
||||
"medium",
|
||||
"low",
|
||||
"default"
|
||||
]);
|
||||
|
||||
export const RESOLUTION_STATUSES = Object.freeze([
|
||||
"resolved",
|
||||
"fallback"
|
||||
]);
|
||||
|
||||
export const DEFAULT_JURISDICTION_ID = "global";
|
||||
export const DEFAULT_POLICY_ID = "global-baseline";
|
||||
export const DEFAULT_MODE = "auto";
|
||||
Reference in New Issue
Block a user