c3d7104367
refs https://github.com/TryGhost/Toolbox/issues/522 - The caching rules for Content API resources like Tags / Posts / Pages / Authors are the same, so it makes sense to make a common repository which would take in a model as a parameter and perform the queries on that level instead of implementing repository-per-model. - With this refactor getting Posts Content API caching would be much simpler change.
397 B
397 B
Tags Public
services and repositories serving public resource endpoints e.g. Tags/Posts/Authors Content API endpoints
Usage
Develop
This is a monorepo package.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Test
yarn lint
run just eslintyarn test
run lint and tests