initial commit of actions
This commit is contained in:
commit
949ece5785
44660 changed files with 12034344 additions and 0 deletions
18
github/codeql-action-v2/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js
generated
vendored
Normal file
18
github/codeql-action-v2/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import ENDPOINTS from "./generated/endpoints";
|
||||
import { VERSION } from "./version";
|
||||
import { endpointsToMethods } from "./endpoints-to-methods";
|
||||
export function restEndpointMethods(octokit) {
|
||||
const api = endpointsToMethods(octokit, ENDPOINTS);
|
||||
return {
|
||||
rest: api,
|
||||
};
|
||||
}
|
||||
restEndpointMethods.VERSION = VERSION;
|
||||
export function legacyRestEndpointMethods(octokit) {
|
||||
const api = endpointsToMethods(octokit, ENDPOINTS);
|
||||
return {
|
||||
...api,
|
||||
rest: api,
|
||||
};
|
||||
}
|
||||
legacyRestEndpointMethods.VERSION = VERSION;
|
||||
Loading…
Add table
Add a link
Reference in a new issue