Ghost/ghost/collections
Naz 367584f1c2 Optimized PostEditedEvent processing in collections
refs https://github.com/TryGhost/Arch/issues/86

- When PostEditedEvent data contains no visible changes we can skip the matching collections update process alltogether. Each call to `updatePostInMatchingCollections` creates a transaction in addition to fetching all collections. There's no need to process anything when there are no relevant changes in the post edit!
2023-09-08 13:46:44 +08:00
..
src Optimized PostEditedEvent processing in collections 2023-09-08 13:46:44 +08:00
test Optimized PostEditedEvent processing in collections 2023-09-08 13:46:44 +08:00
.eslintrc.js Enabled no-explicit-any for majority of packages 2023-07-27 16:49:08 +02:00
package.json Optimized PostEditedEvent processing in collections 2023-09-08 13:46:44 +08:00
README.md
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