github.com/nektos/act@v0.2.63-0.20240520024548-8acde99bfa9c/pkg/runner/testdata/actions/node12/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js (about)

     1  import ENDPOINTS from "./generated/endpoints";
     2  import { VERSION } from "./version";
     3  import { endpointsToMethods } from "./endpoints-to-methods";
     4  export function restEndpointMethods(octokit) {
     5      const api = endpointsToMethods(octokit, ENDPOINTS);
     6      return {
     7          ...api,
     8          rest: api,
     9      };
    10  }
    11  restEndpointMethods.VERSION = VERSION;