This commit is contained in:
2026-07-31 23:21:51 +02:00
parent f6b4b36df8
commit f14f2cfd98
294 changed files with 5880 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
/**
* Cookie consent categories (GDPR). 'necessary' is always granted and cannot be
* disabled. The rest default to false until the user opts in.
*/
export declare const CONSENT_CATEGORIES: readonly ["necessary", "functional", "analytics", "marketing"];
export type ConsentCategory = (typeof CONSENT_CATEGORIES)[number];
export type ConsentState = Record<ConsentCategory, boolean>;
export declare const DEFAULT_CONSENT: ConsentState;
export declare const ACCEPT_ALL_CONSENT: ConsentState;
export declare const REJECT_ALL_CONSENT: ConsentState;