Ghost/ghost/in-memory-repository
Naz 25e0cb12c0
Added "getBySlug" method to Collections Service
refs https://github.com/TryGhost/Team/issues/3423

- This is a convenience method that should allow fetching collections by their slug. It is a great developer experience for in case when fetching built-in collections like "featured" and "index", so can avoid an extra call to find the collection and it's ide one wants to use.
2023-06-16 16:31:50 +07:00
..
src Added "getBySlug" method to Collections Service 2023-06-16 16:31:50 +07:00
test Added @tryghost/in-memory-repository (#16769) 2023-05-10 09:23:16 -04:00
.eslintrc.js Added @tryghost/in-memory-repository (#16769) 2023-05-10 09:23:16 -04:00
package.json Update dependency typescript to v5.1.3 2023-06-02 09:06:20 +02:00
README.md Added @tryghost/in-memory-repository (#16769) 2023-05-10 09:23:16 -04:00
tsconfig.json Added @tryghost/in-memory-repository (#16769) 2023-05-10 09:23:16 -04:00

In Memory 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