Skip to content

Commit

Permalink
Merge branch 'main' into JonnavithulaGirish-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
csmccarthy authored Oct 31, 2024
2 parents a5662ba + 12982d8 commit 571fac7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,19 @@ import type {
export const UNKNOWN_DEFAULT_EXPERIENCE = 'Unknown';

export const GDPR_PURPOSES: [PrivacyRegime[], TrackingPurpose[]] = [
['GDPR', 'LGPD', 'nFADP'],
['GDPR'],
['Advertising', 'Analytics', 'Functional'],
];

export const LGPD_NFADP_PURPOSES: [PrivacyRegime[], TrackingPurpose[]] = [
['LGPD', 'nFADP'],
['Advertising', 'Analytics', 'Functional', 'SaleOfInfo'],
];

export const DEFAULT_REGIME_TRACKING_PURPOSE_SCOPES: RegimePurposeScopesConfig =
[
GDPR_PURPOSES,
LGPD_NFADP_PURPOSES,
[['CPRA', 'CDPA', 'CPA', 'NEVADA_SB220', 'US_DNSS'], ['SaleOfInfo']],
[
[
Expand All @@ -33,6 +39,7 @@ export const DEFAULT_REGIME_TRACKING_PURPOSE_SCOPES: RegimePurposeScopesConfig =

export const DEFAULT_REGIME_PURPOSE_OPT_OUTS: RegimePurposeScopesConfig = [
GDPR_PURPOSES,
LGPD_NFADP_PURPOSES,
];

export const DEFAULT_EXPERIENCE_PURPOSE_OPT_OUTS = Object.fromEntries(
Expand Down

0 comments on commit 571fac7

Please sign in to comment.