Cookie Inventory Repository
Component Detail
Data Layer
low complexity
frontend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Static data module that holds the authoritative list of cookies used on the sales site, including name, purpose, duration, provider, and category. Acts as the single source of truth for the policy table and should be updated whenever new tracking tools are added.
cookie-inventory-repository
Responsibilities
- Maintain structured cookie records with name, category, purpose, duration, and provider
- Export typed cookie list consumed by the Cookie Policy Page at build time
Interfaces
getCookieInventory(): CookieRecord[]
getCookiesByCategory(category: CookieCategory): CookieRecord[]