analytics/lib/plausible_web/plugins/api
Adam Rutkowski 99fd33522d
Expose goals w/ custom props through Sites/Plugins API (#5952)
* Improve goal custom props validation

* Implement goals with custom props in Plugins API

* Implement goals with custom props in Sites API

* DRY: Extract CustomProps schemas

* rename test

* Check for Props feature availability on goals with custom props creation

* Guard goals w/ custom props with billing feature checks

* ce

* ce

* Tidy up test

* credo

* Fix error wording for Sites API

* Update test/support/teams/test.ex

Co-authored-by: Artur Pata <artur.pata@gmail.com>

* Use strict map assertion per @apata's suggestion

* Stronger match

* Improve custom props validation

* Keep the hybrid feature encapsulated

* Format

* Revert "Keep the hybrid feature encapsulated"

This reverts commit 3d5d7cf4c8.

* Fixup

---------

Co-authored-by: Artur Pata <artur.pata@gmail.com>
2025-12-18 08:12:47 +00:00
..
controllers Upgrade dependencies (#5922) 2025-12-02 11:05:32 +00:00
schemas Expose goals w/ custom props through Sites/Plugins API (#5952) 2025-12-18 08:12:47 +00:00
views Expose goals w/ custom props through Sites/Plugins API (#5952) 2025-12-18 08:12:47 +00:00
errors.ex Plugins API: 2nd pass with Goals resource + SharedLinks schema changes (#3396) 2023-10-05 11:54:18 +02:00
spec.ex Rename Plugins API Token(s) to Plugin Token(s) (#4075) 2024-05-22 07:45:09 +02:00