mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-16 23:12:49 +00:00
16 lines
457 B
JavaScript
16 lines
457 B
JavaScript
import { Octokit as Core } from "@octokit/core";
|
|
import { requestLog } from "@octokit/plugin-request-log";
|
|
import { paginateRest } from "@octokit/plugin-paginate-rest";
|
|
import { legacyRestEndpointMethods } from "@octokit/plugin-rest-endpoint-methods";
|
|
import { VERSION } from "./version";
|
|
const Octokit = Core.plugin(
|
|
requestLog,
|
|
legacyRestEndpointMethods,
|
|
paginateRest
|
|
).defaults({
|
|
userAgent: `octokit-rest.js/${VERSION}`
|
|
});
|
|
export {
|
|
Octokit
|
|
};
|