Initial commit (from f5274cbdce4ae7c9e4b937dcdf95ac70ae436d5f)
This commit is contained in:
commit
28ccc3db2d
13974 changed files with 2618436 additions and 0 deletions
22
node_modules/@octokit/rest/dist-web/index.js
generated
vendored
Normal file
22
node_modules/@octokit/rest/dist-web/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
import { Octokit as Octokit$1 } 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';
|
||||
|
||||
const VERSION = "17.1.0";
|
||||
|
||||
const Octokit = Octokit$1.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}`
|
||||
});
|
||||
|
||||
export { Octokit };
|
||||
//# sourceMappingURL=index.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue