39 lines
779 B
JavaScript
39 lines
779 B
JavaScript
/**
|
|
* 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";
|