Ghost/ghost/bookshelf-repository
Simon Backx 383069a1e5 Fixed NQL filter column mapping for BookskhelfRepository
no issue

When filtering and using the BookshelfRepository, you had to use the column names instead of the entitiy field names. This is fixed by adding a transformer. Long term we want to move the NQL parsing away from the repository and into the API layer, and pass along the Mongo filter probably.
2023-09-14 14:47:02 +02:00
..
src Fixed NQL filter column mapping for BookskhelfRepository 2023-09-14 14:47:02 +02:00
test Fixed recommendation order (#18060) 2023-09-11 11:04:34 +00:00
.eslintrc.js Added BookshelfRepository and BookshelfRecommendationRepository 2023-09-01 15:10:34 +02:00
package.json Fixed NQL filter column mapping for BookskhelfRepository 2023-09-14 14:47:02 +02: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