mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
d7673bb1ef
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. |
||
---|---|---|
.. | ||
controllers | ||
repositories | ||
services | ||
MembersAPI.js |