Ghost/ghost
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
..
domain-events Published new versions 2022-01-21 17:57:25 +01:00
express-dynamic-redirects Published new versions 2022-01-20 17:49:29 +02:00
magic-link Published new versions 2022-01-21 17:57:25 +01:00
member-analytics-service Published new versions 2022-01-21 17:57:25 +01:00
member-events Published new versions 2022-01-20 17:49:29 +02:00
members-analytics-ingress Published new versions 2022-01-21 17:57:25 +01:00
members-api Moved the event filtering to the database queries 2022-01-25 12:20:34 +01:00
members-csv Published new versions 2022-01-20 17:49:29 +02:00
members-importer Published new versions 2022-01-20 17:49:29 +02:00
members-ssr Published new versions 2022-01-21 17:57:25 +01:00
offers Published new versions 2022-01-21 17:57:25 +01:00
payments Published new versions 2022-01-21 17:57:25 +01:00
stripe Published new versions 2022-01-24 17:37:08 +02:00