consent advanced
Everything else the package exports, for when you go beyond its components and hooks, such as your own queries or cache updates. Most projects never need these.
Other functions and constants6
GRANTED | Everything, and known. @evolve-storefront/consent/types |
PENDING | Nothing known yet. @evolve-storefront/consent/types |
REFUSED | Nothing but strictly necessary, and known. @evolve-storefront/consent/types |
allowAllAdapter | Grants everything, immediately. @evolve-storefront/consent/adapters/allow-all |
createUsercentricsAdapter | Adapter for the Usercentrics Browser SDK. @evolve-storefront/consent/adapters/usercentrics |
createCookiebotAdapter | Adapter for Cookiebot. @evolve-storefront/consent/adapters/cookiebot |
Types5
ConsentAdapter | A CMP, reduced to what this package needs from one. @evolve-storefront/consent/types |
ConsentCategory | The four categories every consent management platform maps onto. @evolve-storefront/consent/types |
ConsentState | What is granted right now, and whether that is known yet. @evolve-storefront/consent/types |
ReportedConsent | The state an adapter reports; the provider adds openPreferences.@evolve-storefront/consent/types |
UsercentricsServices | Which Usercentrics services count as which category. @evolve-storefront/consent/adapters/usercentrics |
Not listed: 3 props and options types. They appear as the tables on the pages of what they type.

