Ghost/ghost/collections
Naz 53f9f954c1 Added tag filter support to collections
refs https://github.com/TryGhost/Arch/issues/41

- When an new collection is created the relational "tags" filter is now picked up properly and appropriate posts matching the tag filter are assigned and stored in the collection. Example collection filter that is now supported: `tags:['bacon']`
- Additionally cleaned up returned collection post DTOs, so we return as little data as possible and add only the fields that are needed
2023-07-18 20:18:54 +08:00
..
src Added tag filter support to collections 2023-07-18 20:18:54 +08:00
test Added tag filter support to collections 2023-07-18 20:18:54 +08:00
.eslintrc.js Update eslint and c8 to support using TS interfaces 2023-06-01 14:25:49 +07:00
package.json Added tag filter support to collections 2023-07-18 20:18:54 +08:00
README.md Added a collections package with CRUD logic 2023-05-16 12:21:31 +07:00
tsconfig.json Deduplicated tsconfig.json files 2023-07-12 09:34:00 +02:00

Collections

Manages everything to do with Collections

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