Add BaseGraphqlService, support [github] V4 API (#3763)

* add base class for Graphql APIs
* add GithubAuthV4Service + updates to GH token pool
* update github forks to use GithubAuthV4Service
* rename GithubAuthService to GithubAuthV3Service
This commit is contained in:
chris48s
2019-07-29 21:42:03 +01:00
committed by GitHub
parent 320de79309
commit 75ee413178
36 changed files with 756 additions and 120 deletions

View File

@@ -2,10 +2,10 @@
const { addv } = require('../text-formatters')
const { fetchLatestRelease } = require('./github-common-fetch')
const { GithubAuthService } = require('./github-auth-service')
const { GithubAuthV3Service } = require('./github-auth-service')
const { documentation } = require('./github-helpers')
module.exports = class GithubRelease extends GithubAuthService {
module.exports = class GithubRelease extends GithubAuthV3Service {
static get category() {
return 'version'
}