Ghost/ghost/version-notifications-data-service
Naz baef69f968 Added Integration name extraction based on API Key data
refs https://github.com/TryGhost/Toolbox/issues/292

- This information is needed for the emails used to notify the instance admins about version mismatch.
- The identification information is different for Content and Admin keys because of their nature. Content API keys send the unique "secret" value in plaintext, Admin API keys send key id (kid) as a part of token payload and that's the easiest accessible information available without a need to query the db in another parts of the system.
2022-05-10 16:26:52 +08:00
..
lib Added Integration name extraction based on API Key data 2022-05-10 16:26:52 +08:00
test Added Integration name extraction based on API Key data 2022-05-10 16:26:52 +08:00
.eslintrc.js Added scaffolding for version notification data service 2022-04-22 14:47:18 +08:00
index.js Added scaffolding for version notification data service 2022-04-22 14:47:18 +08:00
LICENSE Added scaffolding for version notification data service 2022-04-22 14:47:18 +08:00
package.json Published new versions 2022-05-09 18:25:48 +08:00
README.md Added scaffolding for version notification data service 2022-04-22 14:47:18 +08:00

Version Notifications Data Service

Package-service managing data fot the version notification service

Install

npm install @tryghost/version-notifications-data-service --save

or

yarn add @tryghost/version-notifications-data-service

Usage

Develop

This is a mono repository, managed with lerna.

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.

Run

  • yarn dev

Test

  • yarn lint run just eslint
  • yarn test run lint and tests

Copyright & License

Copyright (c) 2013-2022 Ghost Foundation - Released under the MIT license.