15adb254f0
refs https://github.com/TryGhost/Product/issues/3978 - added "GET /incoming_recommendations/" browse endpoint to the Admin API - we store incoming recommendations as mentions in the database. The new endpoint reuses the Mentions API underneath to fetch verified mentions of type recommendation - recommendation-specific attributes are returned by the new endpoint, including calculated fields such as the "RecommendingBack" boolean - show "Recommend back" option for sites recommending me, only if I haven't recommended the site already |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
package.json | ||
README.md |
Staff Service
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