Initial commit (from f5274cbdce4ae7c9e4b937dcdf95ac70ae436d5f)
This commit is contained in:
commit
28ccc3db2d
13974 changed files with 2618436 additions and 0 deletions
17
node_modules/@octokit/rest/dist-src/index.js
generated
vendored
Normal file
17
node_modules/@octokit/rest/dist-src/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import { Octokit as Core } from "@octokit/core";
|
||||
import { requestLog } from "@octokit/plugin-request-log";
|
||||
import { paginateRest } from "@octokit/plugin-paginate-rest";
|
||||
import { restEndpointMethods } from "@octokit/plugin-rest-endpoint-methods";
|
||||
import { VERSION } from "./version";
|
||||
export const Octokit = Core.plugin([
|
||||
// Workaround to prevent TypeScript from widening the inferred return type of
|
||||
// plugins passed to Octokit, which would result in type information (e.g.
|
||||
// methods provided by plugins) not being added to Octokit instances.
|
||||
//
|
||||
// See https://github.com/octokit/core.js/issues/51#issuecomment-596846088
|
||||
requestLog,
|
||||
restEndpointMethods,
|
||||
paginateRest
|
||||
]).defaults({
|
||||
userAgent: `octokit-rest.js/${VERSION}`
|
||||
});
|
||||
1
node_modules/@octokit/rest/dist-src/version.js
generated
vendored
Normal file
1
node_modules/@octokit/rest/dist-src/version.js
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
export const VERSION = "17.1.0";
|
||||
Loading…
Add table
Add a link
Reference in a new issue