annotate-data-collection
core232 linesSource
Mark data collection points in source code with collecting(category, value, labels) so the autoCollect() Vite plugin can populate privacy.dataCollected automatically at build time via static AST analysis. All arguments must be string literals. Spread the dataCollected sentinel from @openpolicy/sdk into the config for plugin output to take effect.