Ghost/ghost/core/test
Aileen Nowak be45d4ebcf Added post stats service to return total posts in Explore endpoint
no issue

- The explore endpoint needs to expose the total amount of published posts
- To be more consistent, this PR creates a PostStats class which is exposed as `stats` method within the PostService; just like it's done with the MemberService
- Moved existing method to return the date of the most recently published post into the stats service
- Updated the explore service test to reflect the new return property
2022-09-16 13:56:14 +01:00
..
e2e-api Added post stats service to return total posts in Explore endpoint 2022-09-16 13:56:14 +01:00
e2e-browser Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
e2e-frontend Fixed Tier events being created when Posts are edited 2022-09-05 17:19:27 +01:00
e2e-server Wired up member attribution from email clicks (#15407) 2022-09-14 15:50:54 -04:00
e2e-webhooks Enabled member attribution flag in all tests (#15317) 2022-08-25 15:25:01 -04:00
integration Wired up creation of post_revisions entries when saving posts with lexical (#15422) 2022-09-16 11:59:35 +01:00
regression Added email_track_clicks setting (#15409) 2022-09-15 15:48:22 +02:00
unit Added post stats service to return total posts in Explore endpoint 2022-09-16 13:56:14 +01:00
utils Added email_track_clicks setting (#15409) 2022-09-15 15:48:22 +02:00
.eslintignore Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
.eslintrc.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00