Ghost/ghost/members-api/lib
Thibaut Patel d7673bb1ef Moved the event filtering to the database queries
refs https://github.com/TryGhost/Team/issues/1277

- In `getEventTimeline` we filter to only perform the relevant queries, passing to each query function the filters (subset of NQL)
- In each query function, we rewrite the filters to adapt them to the internal data shape.
- We need to do this rewrite to allow API consumers to create filters based on the output on the API instead of the internal data structure.
- Added partial unit tests as there is a lot of repetition between the query functions.
2022-01-25 12:20:34 +01:00
..
controllers Restricted changing Subscription to archived Tier 2022-01-21 14:08:31 +02:00
repositories Moved the event filtering to the database queries 2022-01-25 12:20:34 +01:00
services Moved webhook handling into Stripe service 2022-01-18 10:37:47 +02:00
MembersAPI.js Removed archived Tiers from Portal display 2022-01-24 13:13:48 +02:00