Ghost/ghost/limit-service
Hannah Wolfe 75e857b76b Updated staff count query to include invites
refs: https://github.com/TryGhost/Team/issues/510

- we need to make sure we take into account any invites that could be accepted at any time
- this counts all invites for non-contributor roles as well as all users who aren't contributors
- this should stop there being loop holes to inviting staff users
2021-03-04 13:31:41 +00:00
..
lib Updated staff count query to include invites 2021-03-04 13:31:41 +00:00
test Fixed clobbering the lodash template settings 2021-03-03 17:54:36 +00:00
.eslintrc.js Added limit service initial commit 2021-03-03 12:19:48 +00:00
index.js Added limit service initial commit 2021-03-03 12:19:48 +00:00
LICENSE Added limit service initial commit 2021-03-03 12:19:48 +00:00
package.json Published new versions 2021-03-03 17:56:02 +00:00
README.md Added limit service initial commit 2021-03-03 12:19:48 +00:00

Limit Service

Install

npm install @tryghost/limit-service --save

or

yarn add @tryghost/limit-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-2021 Ghost Foundation - Released under the MIT license.