Files
n8n-nodes-gwezz-changdunovel/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js
2025-10-26 23:10:15 +08:00

23 lines
533 B
JavaScript

import { VERSION } from "./version.js";
import { endpointsToMethods } from "./endpoints-to-methods.js";
function restEndpointMethods(octokit) {
const api = endpointsToMethods(octokit);
return {
rest: api
};
}
restEndpointMethods.VERSION = VERSION;
function legacyRestEndpointMethods(octokit) {
const api = endpointsToMethods(octokit);
return {
...api,
rest: api
};
}
legacyRestEndpointMethods.VERSION = VERSION;
export {
legacyRestEndpointMethods,
restEndpointMethods
};
//# sourceMappingURL=index.js.map