Skip to content

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
GRANTEDEverything, and known.
@evolve-storefront/consent/types
PENDINGNothing known yet.
@evolve-storefront/consent/types
REFUSEDNothing but strictly necessary, and known.
@evolve-storefront/consent/types
allowAllAdapterGrants everything, immediately.
@evolve-storefront/consent/adapters/allow-all
createUsercentricsAdapterAdapter for the Usercentrics Browser SDK.
@evolve-storefront/consent/adapters/usercentrics
createCookiebotAdapterAdapter for Cookiebot.
@evolve-storefront/consent/adapters/cookiebot
Types5
ConsentAdapterA CMP, reduced to what this package needs from one.
@evolve-storefront/consent/types
ConsentCategoryThe four categories every consent management platform maps onto.
@evolve-storefront/consent/types
ConsentStateWhat is granted right now, and whether that is known yet.
@evolve-storefront/consent/types
ReportedConsentThe state an adapter reports; the provider adds openPreferences.
@evolve-storefront/consent/types
UsercentricsServicesWhich 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.