Ghost/ghost/bookshelf-repository
Simon Backx b5fc527f8d
Added order option to recommendations API with sorting on counts (#18417)
refs https://github.com/TryGhost/Product/issues/3957

This changes how we fetch recommendations:
- Relations can be included in one query instead of extra queries
- Sorting is now possible by click or subscriber counts
2023-10-02 14:51:03 +00:00
..
src Added order option to recommendations API with sorting on counts (#18417) 2023-10-02 14:51:03 +00:00
test Added order option to recommendations API with sorting on counts (#18417) 2023-10-02 14:51:03 +00:00
.eslintrc.js Added BookshelfRepository and BookshelfRecommendationRepository 2023-09-01 15:10:34 +02:00
package.json Added order option to recommendations API with sorting on counts (#18417) 2023-10-02 14:51:03 +00:00
README.md Added BookshelfRepository and BookshelfRecommendationRepository 2023-09-01 15:10:34 +02:00
tsconfig.json Added BookshelfRepository and BookshelfRecommendationRepository 2023-09-01 15:10:34 +02:00

Bookshelf Repository

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests