2020-06-06 22:11:37 +08:00
|
|
|
{"version":3,"file":"index.js","sources":["../dist-src/generated/endpoints.js","../dist-src/version.js","../dist-src/endpoints-to-methods.js","../dist-src/index.js"],"sourcesContent":["const Endpoints = {\n actions: {\n addSelectedRepoToOrgSecret: [\n \"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\",\n ],\n cancelWorkflowRun: [\n \"POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel\",\n ],\n createOrUpdateOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}\"],\n createOrUpdateRepoSecret: [\n \"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n { renamedParameters: { name: \"secret_name\" } },\n ],\n createOrUpdateSecretForRepo: [\n \"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n {\n renamed: [\"actions\", \"createOrUpdateRepoSecret\"],\n renamedParameters: { name: \"secret_name\" },\n },\n ],\n createRegistrationToken: [\n \"POST /repos/{owner}/{repo}/actions/runners/registration-token\",\n {},\n { renamed: [\"actions\", \"createRegistrationTokenForRepo\"] },\n ],\n createRegistrationTokenForOrg: [\n \"POST /orgs/{org}/actions/runners/registration-token\",\n ],\n createRegistrationTokenForRepo: [\n \"POST /repos/{owner}/{repo}/actions/runners/registration-token\",\n ],\n createRemoveToken: [\n \"POST /repos/{owner}/{repo}/actions/runners/remove-token\",\n {},\n { renamed: [\"actions\", \"createRemoveTokenForRepo\"] },\n ],\n createRemoveTokenForOrg: [\"POST /orgs/{org}/actions/runners/remove-token\"],\n createRemoveTokenForRepo: [\n \"POST /repos/{owner}/{repo}/actions/runners/remove-token\",\n ],\n deleteArtifact: [\n \"DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\",\n ],\n deleteOrgSecret: [\"DELETE /orgs/{org}/actions/secrets/{secret_name}\"],\n deleteRepoSecret: [\n \"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n { renamedParameters: { name: \"secret_name\" } },\n ],\n deleteSecretFromRepo: [\n \"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n {\n renamed: [\"actions\", \"deleteRepoSecret\"],\n renamedParameters: { name: \"secret_name\" },\n },\n ],\n deleteSelfHostedRunnerFromOrg: [\n \"DELETE /orgs/{org}/actions/runners/{runner_id}\",\n ],\n deleteSelfHostedRunnerFromRepo: [\n \"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}\",\n ],\n deleteWorkflowRunLogs: [\n \"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs\",\n ],\n downloadArtifact: [\n \"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}\",\n ],\n downloadWorkflowJobLogs: [\n \"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs\",\n ],\n downloadWorkflowRunLogs: [\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs\",\n ],\n getArtifact: [\"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\"],\n getOrgPublicKey: [\"GET /orgs/{org}/actions/secrets/public-key\"],\n getOrgSecret: [\"GET /orgs/{org}/actions/secrets/{secret_name}\"],\n getPublicKey: [\n \"GET /repos/{owner}/{repo}/actions/secrets/public-key\",\n {},\n { renamed: [\"actions\", \"getRepoPublicKey\"] },\n ],\n getRepoPublicKey: [\"GET /repos/{owner}/{repo}/actions/secrets/public-key\"],\n getRepoSecret: [\n \"GET /repos/{owner}/{repo}/actions/secrets/{secret_name}\",\n {},\n { renamedParameters: { name: \"secret_name
|