Ghost/ghost/collections
Naz 42539b954f Added collection editing method
refs https://github.com/TryGhost/Team/issues/3169

- The collection entity properties used to be modified, which is not a good practice for logic encapsulation. Extracted editing logic to it's own method which can also contain validation logic when wrong data is passed when editing a collection.
2023-06-27 12:52:10 +07:00
..
src Added collection editing method 2023-06-27 12:52:10 +07:00
test Added collection editing method 2023-06-27 12:52:10 +07:00
.eslintrc.js Update eslint and c8 to support using TS interfaces 2023-06-01 14:25:49 +07:00
package.json Added model event to domain event bridge 2023-06-27 12:52:10 +07:00
README.md
tsconfig.json Updated collections package to use .d.ts for external lib types 2023-05-24 12:47:20 -04: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