@openpolicy/sdk

Public API for defining privacy policies with OpenPolicy

annotate-third-parties

core
226 linesSource

Mark third-party service dependencies in source code using thirdParty() so the autoCollect() Vite plugin can populate the thirdParties sentinel for the privacy policy config. Covers manual annotation, usePackageJson auto-detection from the KNOWN_PACKAGES registry, combining both approaches, and the Providers preset as a static alternative.