lineas-romero-cookies-consent 1.1.5 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +17 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -7,6 +7,23 @@ export interface CookieCategory {
7
7
  cookiePatterns?: string[];
8
8
  }
9
9
 
10
+ export interface CookieDetail {
11
+ provider: string; // Ej: "Google Analytics"
12
+ name: string; // Ej: "_ga"
13
+ duration: string; // Ej: "2 años"
14
+ purpose: string; // Ej: "Se usa para distinguir a los usuarios."
15
+ }
16
+
17
+ export interface CookieCategory {
18
+ id: string;
19
+ label?: string;
20
+ description?: string;
21
+ enabled?: boolean;
22
+ readonly?: boolean;
23
+ cookiePatterns?: string[];
24
+ cookiesDetails?: CookieDetail[];
25
+ }
26
+
10
27
  export interface UserPreferences {
11
28
  [categoryId: string]: boolean;
12
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lineas-romero-cookies-consent",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "Gestor en vanilla JS + CSS para granular las cookies de las páginas de LR, Apartamentos y Visit La Graciosa de manera manual.",
5
5
  "type": "module",
6
6
  "files": [