mirror of
https://github.com/actions/github-script.git
synced 2026-10-03 14:36:05 +03:00
update plugin dependencies
This commit is contained in:
1 parent
0c6f007687
commit
f6f802415c
3 files changed
+194
-430
No files matched your search
Vendored
+159
-395
@@ -1673,6 +1673,7 @@ const Endpoints = {
|
|||||||
disableWorkflow: ["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],
|
disableWorkflow: ["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],
|
||||||
downloadArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],
|
downloadArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],
|
||||||
downloadJobLogsForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],
|
downloadJobLogsForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],
|
||||||
|
downloadWorkflowRunAttemptLogs: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],
|
||||||
downloadWorkflowRunLogs: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],
|
downloadWorkflowRunLogs: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],
|
||||||
enableSelectedRepositoryGithubActionsOrganization: ["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],
|
enableSelectedRepositoryGithubActionsOrganization: ["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],
|
||||||
enableWorkflow: ["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],
|
enableWorkflow: ["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],
|
||||||
@@ -1697,11 +1698,13 @@ const Endpoints = {
|
|||||||
getSelfHostedRunnerForRepo: ["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],
|
getSelfHostedRunnerForRepo: ["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],
|
||||||
getWorkflow: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],
|
getWorkflow: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],
|
||||||
getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],
|
getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],
|
||||||
|
getWorkflowRunAttempt: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],
|
||||||
getWorkflowRunUsage: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],
|
getWorkflowRunUsage: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],
|
||||||
getWorkflowUsage: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],
|
getWorkflowUsage: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],
|
||||||
listArtifactsForRepo: ["GET /repos/{owner}/{repo}/actions/artifacts"],
|
listArtifactsForRepo: ["GET /repos/{owner}/{repo}/actions/artifacts"],
|
||||||
listEnvironmentSecrets: ["GET /repositories/{repository_id}/environments/{environment_name}/secrets"],
|
listEnvironmentSecrets: ["GET /repositories/{repository_id}/environments/{environment_name}/secrets"],
|
||||||
listJobsForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],
|
listJobsForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],
|
||||||
|
listJobsForWorkflowRunAttempt: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],
|
||||||
listOrgSecrets: ["GET /orgs/{org}/actions/secrets"],
|
listOrgSecrets: ["GET /orgs/{org}/actions/secrets"],
|
||||||
listRepoSecrets: ["GET /repos/{owner}/{repo}/actions/secrets"],
|
listRepoSecrets: ["GET /repos/{owner}/{repo}/actions/secrets"],
|
||||||
listRepoWorkflows: ["GET /repos/{owner}/{repo}/actions/workflows"],
|
listRepoWorkflows: ["GET /repos/{owner}/{repo}/actions/workflows"],
|
||||||
@@ -1715,7 +1718,6 @@ const Endpoints = {
|
|||||||
listWorkflowRuns: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],
|
listWorkflowRuns: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],
|
||||||
listWorkflowRunsForRepo: ["GET /repos/{owner}/{repo}/actions/runs"],
|
listWorkflowRunsForRepo: ["GET /repos/{owner}/{repo}/actions/runs"],
|
||||||
removeSelectedRepoFromOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],
|
removeSelectedRepoFromOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],
|
||||||
retryWorkflow: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/retry"],
|
|
||||||
reviewPendingDeploymentsForRun: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],
|
reviewPendingDeploymentsForRun: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],
|
||||||
setAllowedActionsOrganization: ["PUT /orgs/{org}/actions/permissions/selected-actions"],
|
setAllowedActionsOrganization: ["PUT /orgs/{org}/actions/permissions/selected-actions"],
|
||||||
setAllowedActionsRepository: ["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],
|
setAllowedActionsRepository: ["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],
|
||||||
@@ -1758,7 +1760,10 @@ const Endpoints = {
|
|||||||
unstarRepoForAuthenticatedUser: ["DELETE /user/starred/{owner}/{repo}"]
|
unstarRepoForAuthenticatedUser: ["DELETE /user/starred/{owner}/{repo}"]
|
||||||
},
|
},
|
||||||
apps: {
|
apps: {
|
||||||
addRepoToInstallation: ["PUT /user/installations/{installation_id}/repositories/{repository_id}"],
|
addRepoToInstallation: ["PUT /user/installations/{installation_id}/repositories/{repository_id}", {}, {
|
||||||
|
renamed: ["apps", "addRepoToInstallationForAuthenticatedUser"]
|
||||||
|
}],
|
||||||
|
addRepoToInstallationForAuthenticatedUser: ["PUT /user/installations/{installation_id}/repositories/{repository_id}"],
|
||||||
checkToken: ["POST /applications/{client_id}/token"],
|
checkToken: ["POST /applications/{client_id}/token"],
|
||||||
createContentAttachment: ["POST /content_references/{content_reference_id}/attachments", {
|
createContentAttachment: ["POST /content_references/{content_reference_id}/attachments", {
|
||||||
mediaType: {
|
mediaType: {
|
||||||
@@ -1797,7 +1802,10 @@ const Endpoints = {
|
|||||||
listSubscriptionsForAuthenticatedUserStubbed: ["GET /user/marketplace_purchases/stubbed"],
|
listSubscriptionsForAuthenticatedUserStubbed: ["GET /user/marketplace_purchases/stubbed"],
|
||||||
listWebhookDeliveries: ["GET /app/hook/deliveries"],
|
listWebhookDeliveries: ["GET /app/hook/deliveries"],
|
||||||
redeliverWebhookDelivery: ["POST /app/hook/deliveries/{delivery_id}/attempts"],
|
redeliverWebhookDelivery: ["POST /app/hook/deliveries/{delivery_id}/attempts"],
|
||||||
removeRepoFromInstallation: ["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],
|
removeRepoFromInstallation: ["DELETE /user/installations/{installation_id}/repositories/{repository_id}", {}, {
|
||||||
|
renamed: ["apps", "removeRepoFromInstallationForAuthenticatedUser"]
|
||||||
|
}],
|
||||||
|
removeRepoFromInstallationForAuthenticatedUser: ["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],
|
||||||
resetToken: ["PATCH /applications/{client_id}/token"],
|
resetToken: ["PATCH /applications/{client_id}/token"],
|
||||||
revokeInstallationAccessToken: ["DELETE /installation/token"],
|
revokeInstallationAccessToken: ["DELETE /installation/token"],
|
||||||
scopeToken: ["POST /applications/{client_id}/token/scoped"],
|
scopeToken: ["POST /applications/{client_id}/token/scoped"],
|
||||||
@@ -1822,6 +1830,7 @@ const Endpoints = {
|
|||||||
listForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],
|
listForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],
|
||||||
listForSuite: ["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],
|
listForSuite: ["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],
|
||||||
listSuitesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],
|
listSuitesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],
|
||||||
|
rerequestRun: ["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],
|
||||||
rerequestSuite: ["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],
|
rerequestSuite: ["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],
|
||||||
setSuitesPreferences: ["PATCH /repos/{owner}/{repo}/check-suites/preferences"],
|
setSuitesPreferences: ["PATCH /repos/{owner}/{repo}/check-suites/preferences"],
|
||||||
update: ["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]
|
update: ["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]
|
||||||
@@ -1846,12 +1855,7 @@ const Endpoints = {
|
|||||||
},
|
},
|
||||||
codesOfConduct: {
|
codesOfConduct: {
|
||||||
getAllCodesOfConduct: ["GET /codes_of_conduct"],
|
getAllCodesOfConduct: ["GET /codes_of_conduct"],
|
||||||
getConductCode: ["GET /codes_of_conduct/{key}"],
|
getConductCode: ["GET /codes_of_conduct/{key}"]
|
||||||
getForRepo: ["GET /repos/{owner}/{repo}/community/code_of_conduct", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["scarlet-witch"]
|
|
||||||
}
|
|
||||||
}]
|
|
||||||
},
|
},
|
||||||
emojis: {
|
emojis: {
|
||||||
get: ["GET /emojis"]
|
get: ["GET /emojis"]
|
||||||
@@ -1989,74 +1993,29 @@ const Endpoints = {
|
|||||||
},
|
},
|
||||||
migrations: {
|
migrations: {
|
||||||
cancelImport: ["DELETE /repos/{owner}/{repo}/import"],
|
cancelImport: ["DELETE /repos/{owner}/{repo}/import"],
|
||||||
deleteArchiveForAuthenticatedUser: ["DELETE /user/migrations/{migration_id}/archive", {
|
deleteArchiveForAuthenticatedUser: ["DELETE /user/migrations/{migration_id}/archive"],
|
||||||
mediaType: {
|
deleteArchiveForOrg: ["DELETE /orgs/{org}/migrations/{migration_id}/archive"],
|
||||||
previews: ["wyandotte"]
|
downloadArchiveForOrg: ["GET /orgs/{org}/migrations/{migration_id}/archive"],
|
||||||
}
|
getArchiveForAuthenticatedUser: ["GET /user/migrations/{migration_id}/archive"],
|
||||||
}],
|
|
||||||
deleteArchiveForOrg: ["DELETE /orgs/{org}/migrations/{migration_id}/archive", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["wyandotte"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
downloadArchiveForOrg: ["GET /orgs/{org}/migrations/{migration_id}/archive", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["wyandotte"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
getArchiveForAuthenticatedUser: ["GET /user/migrations/{migration_id}/archive", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["wyandotte"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
getCommitAuthors: ["GET /repos/{owner}/{repo}/import/authors"],
|
getCommitAuthors: ["GET /repos/{owner}/{repo}/import/authors"],
|
||||||
getImportStatus: ["GET /repos/{owner}/{repo}/import"],
|
getImportStatus: ["GET /repos/{owner}/{repo}/import"],
|
||||||
getLargeFiles: ["GET /repos/{owner}/{repo}/import/large_files"],
|
getLargeFiles: ["GET /repos/{owner}/{repo}/import/large_files"],
|
||||||
getStatusForAuthenticatedUser: ["GET /user/migrations/{migration_id}", {
|
getStatusForAuthenticatedUser: ["GET /user/migrations/{migration_id}"],
|
||||||
mediaType: {
|
getStatusForOrg: ["GET /orgs/{org}/migrations/{migration_id}"],
|
||||||
previews: ["wyandotte"]
|
listForAuthenticatedUser: ["GET /user/migrations"],
|
||||||
}
|
listForOrg: ["GET /orgs/{org}/migrations"],
|
||||||
}],
|
listReposForAuthenticatedUser: ["GET /user/migrations/{migration_id}/repositories"],
|
||||||
getStatusForOrg: ["GET /orgs/{org}/migrations/{migration_id}", {
|
listReposForOrg: ["GET /orgs/{org}/migrations/{migration_id}/repositories"],
|
||||||
mediaType: {
|
listReposForUser: ["GET /user/migrations/{migration_id}/repositories", {}, {
|
||||||
previews: ["wyandotte"]
|
renamed: ["migrations", "listReposForAuthenticatedUser"]
|
||||||
}
|
|
||||||
}],
|
|
||||||
listForAuthenticatedUser: ["GET /user/migrations", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["wyandotte"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
listForOrg: ["GET /orgs/{org}/migrations", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["wyandotte"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
listReposForOrg: ["GET /orgs/{org}/migrations/{migration_id}/repositories", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["wyandotte"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
listReposForUser: ["GET /user/migrations/{migration_id}/repositories", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["wyandotte"]
|
|
||||||
}
|
|
||||||
}],
|
}],
|
||||||
mapCommitAuthor: ["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"],
|
mapCommitAuthor: ["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"],
|
||||||
setLfsPreference: ["PATCH /repos/{owner}/{repo}/import/lfs"],
|
setLfsPreference: ["PATCH /repos/{owner}/{repo}/import/lfs"],
|
||||||
startForAuthenticatedUser: ["POST /user/migrations"],
|
startForAuthenticatedUser: ["POST /user/migrations"],
|
||||||
startForOrg: ["POST /orgs/{org}/migrations"],
|
startForOrg: ["POST /orgs/{org}/migrations"],
|
||||||
startImport: ["PUT /repos/{owner}/{repo}/import"],
|
startImport: ["PUT /repos/{owner}/{repo}/import"],
|
||||||
unlockRepoForAuthenticatedUser: ["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock", {
|
unlockRepoForAuthenticatedUser: ["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],
|
||||||
mediaType: {
|
unlockRepoForOrg: ["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"],
|
||||||
previews: ["wyandotte"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
unlockRepoForOrg: ["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["wyandotte"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
updateImport: ["PATCH /repos/{owner}/{repo}/import"]
|
updateImport: ["PATCH /repos/{owner}/{repo}/import"]
|
||||||
},
|
},
|
||||||
orgs: {
|
orgs: {
|
||||||
@@ -2136,131 +2095,31 @@ const Endpoints = {
|
|||||||
restorePackageVersionForUser: ["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]
|
restorePackageVersionForUser: ["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]
|
||||||
},
|
},
|
||||||
projects: {
|
projects: {
|
||||||
addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}", {
|
addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}"],
|
||||||
mediaType: {
|
createCard: ["POST /projects/columns/{column_id}/cards"],
|
||||||
previews: ["inertia"]
|
createColumn: ["POST /projects/{project_id}/columns"],
|
||||||
}
|
createForAuthenticatedUser: ["POST /user/projects"],
|
||||||
}],
|
createForOrg: ["POST /orgs/{org}/projects"],
|
||||||
createCard: ["POST /projects/columns/{column_id}/cards", {
|
createForRepo: ["POST /repos/{owner}/{repo}/projects"],
|
||||||
mediaType: {
|
delete: ["DELETE /projects/{project_id}"],
|
||||||
previews: ["inertia"]
|
deleteCard: ["DELETE /projects/columns/cards/{card_id}"],
|
||||||
}
|
deleteColumn: ["DELETE /projects/columns/{column_id}"],
|
||||||
}],
|
get: ["GET /projects/{project_id}"],
|
||||||
createColumn: ["POST /projects/{project_id}/columns", {
|
getCard: ["GET /projects/columns/cards/{card_id}"],
|
||||||
mediaType: {
|
getColumn: ["GET /projects/columns/{column_id}"],
|
||||||
previews: ["inertia"]
|
getPermissionForUser: ["GET /projects/{project_id}/collaborators/{username}/permission"],
|
||||||
}
|
listCards: ["GET /projects/columns/{column_id}/cards"],
|
||||||
}],
|
listCollaborators: ["GET /projects/{project_id}/collaborators"],
|
||||||
createForAuthenticatedUser: ["POST /user/projects", {
|
listColumns: ["GET /projects/{project_id}/columns"],
|
||||||
mediaType: {
|
listForOrg: ["GET /orgs/{org}/projects"],
|
||||||
previews: ["inertia"]
|
listForRepo: ["GET /repos/{owner}/{repo}/projects"],
|
||||||
}
|
listForUser: ["GET /users/{username}/projects"],
|
||||||
}],
|
moveCard: ["POST /projects/columns/cards/{card_id}/moves"],
|
||||||
createForOrg: ["POST /orgs/{org}/projects", {
|
moveColumn: ["POST /projects/columns/{column_id}/moves"],
|
||||||
mediaType: {
|
removeCollaborator: ["DELETE /projects/{project_id}/collaborators/{username}"],
|
||||||
previews: ["inertia"]
|
update: ["PATCH /projects/{project_id}"],
|
||||||
}
|
updateCard: ["PATCH /projects/columns/cards/{card_id}"],
|
||||||
}],
|
updateColumn: ["PATCH /projects/columns/{column_id}"]
|
||||||
createForRepo: ["POST /repos/{owner}/{repo}/projects", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
delete: ["DELETE /projects/{project_id}", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
deleteCard: ["DELETE /projects/columns/cards/{card_id}", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
deleteColumn: ["DELETE /projects/columns/{column_id}", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
get: ["GET /projects/{project_id}", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
getCard: ["GET /projects/columns/cards/{card_id}", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
getColumn: ["GET /projects/columns/{column_id}", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
getPermissionForUser: ["GET /projects/{project_id}/collaborators/{username}/permission", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
listCards: ["GET /projects/columns/{column_id}/cards", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
listCollaborators: ["GET /projects/{project_id}/collaborators", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
listColumns: ["GET /projects/{project_id}/columns", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
listForOrg: ["GET /orgs/{org}/projects", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
listForRepo: ["GET /repos/{owner}/{repo}/projects", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
listForUser: ["GET /users/{username}/projects", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
moveCard: ["POST /projects/columns/cards/{card_id}/moves", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
moveColumn: ["POST /projects/columns/{column_id}/moves", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
removeCollaborator: ["DELETE /projects/{project_id}/collaborators/{username}", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
update: ["PATCH /projects/{project_id}", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
updateCard: ["PATCH /projects/columns/cards/{card_id}", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
updateColumn: ["PATCH /projects/columns/{column_id}", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}]
|
|
||||||
},
|
},
|
||||||
pulls: {
|
pulls: {
|
||||||
checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],
|
checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],
|
||||||
@@ -2287,11 +2146,7 @@ const Endpoints = {
|
|||||||
requestReviewers: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],
|
requestReviewers: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],
|
||||||
submitReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],
|
submitReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],
|
||||||
update: ["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],
|
update: ["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],
|
||||||
updateBranch: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch", {
|
updateBranch: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],
|
||||||
mediaType: {
|
|
||||||
previews: ["lydian"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
updateReview: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],
|
updateReview: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],
|
||||||
updateReviewComment: ["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]
|
updateReviewComment: ["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]
|
||||||
},
|
},
|
||||||
@@ -2299,111 +2154,31 @@ const Endpoints = {
|
|||||||
get: ["GET /rate_limit"]
|
get: ["GET /rate_limit"]
|
||||||
},
|
},
|
||||||
reactions: {
|
reactions: {
|
||||||
createForCommitComment: ["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions", {
|
createForCommitComment: ["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],
|
||||||
mediaType: {
|
createForIssue: ["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],
|
||||||
previews: ["squirrel-girl"]
|
createForIssueComment: ["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],
|
||||||
}
|
createForPullRequestReviewComment: ["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],
|
||||||
}],
|
createForRelease: ["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],
|
||||||
createForIssue: ["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions", {
|
createForTeamDiscussionCommentInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],
|
||||||
mediaType: {
|
createForTeamDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],
|
||||||
previews: ["squirrel-girl"]
|
deleteForCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],
|
||||||
}
|
deleteForIssue: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],
|
||||||
}],
|
deleteForIssueComment: ["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],
|
||||||
createForIssueComment: ["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", {
|
deleteForPullRequestComment: ["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],
|
||||||
mediaType: {
|
deleteForTeamDiscussion: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],
|
||||||
previews: ["squirrel-girl"]
|
deleteForTeamDiscussionComment: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],
|
||||||
}
|
listForCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],
|
||||||
}],
|
listForIssue: ["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],
|
||||||
createForPullRequestReviewComment: ["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", {
|
listForIssueComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],
|
||||||
mediaType: {
|
listForPullRequestReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],
|
||||||
previews: ["squirrel-girl"]
|
listForTeamDiscussionCommentInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],
|
||||||
}
|
listForTeamDiscussionInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]
|
||||||
}],
|
|
||||||
createForRelease: ["POST /repos/{owner}/{repo}/releases/{release_id}/reactions", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["squirrel-girl"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
createForTeamDiscussionCommentInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["squirrel-girl"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
createForTeamDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["squirrel-girl"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
deleteForCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["squirrel-girl"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
deleteForIssue: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["squirrel-girl"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
deleteForIssueComment: ["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["squirrel-girl"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
deleteForPullRequestComment: ["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["squirrel-girl"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
deleteForTeamDiscussion: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["squirrel-girl"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
deleteForTeamDiscussionComment: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["squirrel-girl"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
deleteLegacy: ["DELETE /reactions/{reaction_id}", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["squirrel-girl"]
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
deprecated: "octokit.rest.reactions.deleteLegacy() is deprecated, see https://docs.github.com/rest/reference/reactions/#delete-a-reaction-legacy"
|
|
||||||
}],
|
|
||||||
listForCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["squirrel-girl"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
listForIssue: ["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["squirrel-girl"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
listForIssueComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["squirrel-girl"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
listForPullRequestReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["squirrel-girl"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
listForTeamDiscussionCommentInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["squirrel-girl"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
listForTeamDiscussionInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", {
|
|
||||||
mediaType: {
|
|
||||||
previews: ["squirrel-girl"]
|
|
||||||
}
|
|
||||||
}]
|
|
||||||
},
|
},
|
||||||
repos: {
|
repos: {
|
||||||
acceptInvitation: ["PATCH /user/repository_invitations/{invitation_id}"],
|
acceptInvitation: ["PATCH /user/repository_invitations/{invitation_id}", {}, {
|
||||||
|
renamed: ["repos", "acceptInvitationForAuthenticatedUser"]
|
||||||
|
}],
|
||||||
|
acceptInvitationForAuthenticatedUser: ["PATCH /user/repository_invitations/{invitation_id}"],
|
||||||
addAppAccessRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, {
|
addAppAccessRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, {
|
||||||
mapToData: "apps"
|
mapToData: "apps"
|
||||||
}],
|
}],
|
||||||
@@ -2418,20 +2193,12 @@ const Endpoints = {
|
|||||||
mapToData: "users"
|
mapToData: "users"
|
||||||
}],
|
}],
|
||||||
checkCollaborator: ["GET /repos/{owner}/{repo}/collaborators/{username}"],
|
checkCollaborator: ["GET /repos/{owner}/{repo}/collaborators/{username}"],
|
||||||
checkVulnerabilityAlerts: ["GET /repos/{owner}/{repo}/vulnerability-alerts", {
|
checkVulnerabilityAlerts: ["GET /repos/{owner}/{repo}/vulnerability-alerts"],
|
||||||
mediaType: {
|
|
||||||
previews: ["dorian"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
compareCommits: ["GET /repos/{owner}/{repo}/compare/{base}...{head}"],
|
compareCommits: ["GET /repos/{owner}/{repo}/compare/{base}...{head}"],
|
||||||
compareCommitsWithBasehead: ["GET /repos/{owner}/{repo}/compare/{basehead}"],
|
compareCommitsWithBasehead: ["GET /repos/{owner}/{repo}/compare/{basehead}"],
|
||||||
createAutolink: ["POST /repos/{owner}/{repo}/autolinks"],
|
createAutolink: ["POST /repos/{owner}/{repo}/autolinks"],
|
||||||
createCommitComment: ["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],
|
createCommitComment: ["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],
|
||||||
createCommitSignatureProtection: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", {
|
createCommitSignatureProtection: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],
|
||||||
mediaType: {
|
|
||||||
previews: ["zzzax"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
createCommitStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}"],
|
createCommitStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}"],
|
||||||
createDeployKey: ["POST /repos/{owner}/{repo}/keys"],
|
createDeployKey: ["POST /repos/{owner}/{repo}/keys"],
|
||||||
createDeployment: ["POST /repos/{owner}/{repo}/deployments"],
|
createDeployment: ["POST /repos/{owner}/{repo}/deployments"],
|
||||||
@@ -2442,19 +2209,14 @@ const Endpoints = {
|
|||||||
createInOrg: ["POST /orgs/{org}/repos"],
|
createInOrg: ["POST /orgs/{org}/repos"],
|
||||||
createOrUpdateEnvironment: ["PUT /repos/{owner}/{repo}/environments/{environment_name}"],
|
createOrUpdateEnvironment: ["PUT /repos/{owner}/{repo}/environments/{environment_name}"],
|
||||||
createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"],
|
createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"],
|
||||||
createPagesSite: ["POST /repos/{owner}/{repo}/pages", {
|
createPagesSite: ["POST /repos/{owner}/{repo}/pages"],
|
||||||
mediaType: {
|
|
||||||
previews: ["switcheroo"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
createRelease: ["POST /repos/{owner}/{repo}/releases"],
|
createRelease: ["POST /repos/{owner}/{repo}/releases"],
|
||||||
createUsingTemplate: ["POST /repos/{template_owner}/{template_repo}/generate", {
|
createUsingTemplate: ["POST /repos/{template_owner}/{template_repo}/generate"],
|
||||||
mediaType: {
|
|
||||||
previews: ["baptiste"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
createWebhook: ["POST /repos/{owner}/{repo}/hooks"],
|
createWebhook: ["POST /repos/{owner}/{repo}/hooks"],
|
||||||
declineInvitation: ["DELETE /user/repository_invitations/{invitation_id}"],
|
declineInvitation: ["DELETE /user/repository_invitations/{invitation_id}", {}, {
|
||||||
|
renamed: ["repos", "declineInvitationForAuthenticatedUser"]
|
||||||
|
}],
|
||||||
|
declineInvitationForAuthenticatedUser: ["DELETE /user/repository_invitations/{invitation_id}"],
|
||||||
delete: ["DELETE /repos/{owner}/{repo}"],
|
delete: ["DELETE /repos/{owner}/{repo}"],
|
||||||
deleteAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],
|
deleteAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],
|
||||||
deleteAdminBranchProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],
|
deleteAdminBranchProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],
|
||||||
@@ -2462,51 +2224,28 @@ const Endpoints = {
|
|||||||
deleteAutolink: ["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],
|
deleteAutolink: ["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],
|
||||||
deleteBranchProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],
|
deleteBranchProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],
|
||||||
deleteCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],
|
deleteCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],
|
||||||
deleteCommitSignatureProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", {
|
deleteCommitSignatureProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],
|
||||||
mediaType: {
|
|
||||||
previews: ["zzzax"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
deleteDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}"],
|
deleteDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}"],
|
||||||
deleteDeployment: ["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],
|
deleteDeployment: ["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],
|
||||||
deleteFile: ["DELETE /repos/{owner}/{repo}/contents/{path}"],
|
deleteFile: ["DELETE /repos/{owner}/{repo}/contents/{path}"],
|
||||||
deleteInvitation: ["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],
|
deleteInvitation: ["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],
|
||||||
deletePagesSite: ["DELETE /repos/{owner}/{repo}/pages", {
|
deletePagesSite: ["DELETE /repos/{owner}/{repo}/pages"],
|
||||||
mediaType: {
|
|
||||||
previews: ["switcheroo"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
deletePullRequestReviewProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],
|
deletePullRequestReviewProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],
|
||||||
deleteRelease: ["DELETE /repos/{owner}/{repo}/releases/{release_id}"],
|
deleteRelease: ["DELETE /repos/{owner}/{repo}/releases/{release_id}"],
|
||||||
deleteReleaseAsset: ["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],
|
deleteReleaseAsset: ["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],
|
||||||
deleteWebhook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],
|
deleteWebhook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],
|
||||||
disableAutomatedSecurityFixes: ["DELETE /repos/{owner}/{repo}/automated-security-fixes", {
|
disableAutomatedSecurityFixes: ["DELETE /repos/{owner}/{repo}/automated-security-fixes"],
|
||||||
mediaType: {
|
|
||||||
previews: ["london"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
disableLfsForRepo: ["DELETE /repos/{owner}/{repo}/lfs"],
|
disableLfsForRepo: ["DELETE /repos/{owner}/{repo}/lfs"],
|
||||||
disableVulnerabilityAlerts: ["DELETE /repos/{owner}/{repo}/vulnerability-alerts", {
|
disableVulnerabilityAlerts: ["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],
|
||||||
mediaType: {
|
|
||||||
previews: ["dorian"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
downloadArchive: ["GET /repos/{owner}/{repo}/zipball/{ref}", {}, {
|
downloadArchive: ["GET /repos/{owner}/{repo}/zipball/{ref}", {}, {
|
||||||
renamed: ["repos", "downloadZipballArchive"]
|
renamed: ["repos", "downloadZipballArchive"]
|
||||||
}],
|
}],
|
||||||
downloadTarballArchive: ["GET /repos/{owner}/{repo}/tarball/{ref}"],
|
downloadTarballArchive: ["GET /repos/{owner}/{repo}/tarball/{ref}"],
|
||||||
downloadZipballArchive: ["GET /repos/{owner}/{repo}/zipball/{ref}"],
|
downloadZipballArchive: ["GET /repos/{owner}/{repo}/zipball/{ref}"],
|
||||||
enableAutomatedSecurityFixes: ["PUT /repos/{owner}/{repo}/automated-security-fixes", {
|
enableAutomatedSecurityFixes: ["PUT /repos/{owner}/{repo}/automated-security-fixes"],
|
||||||
mediaType: {
|
|
||||||
previews: ["london"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
enableLfsForRepo: ["PUT /repos/{owner}/{repo}/lfs"],
|
enableLfsForRepo: ["PUT /repos/{owner}/{repo}/lfs"],
|
||||||
enableVulnerabilityAlerts: ["PUT /repos/{owner}/{repo}/vulnerability-alerts", {
|
enableVulnerabilityAlerts: ["PUT /repos/{owner}/{repo}/vulnerability-alerts"],
|
||||||
mediaType: {
|
generateReleaseNotes: ["POST /repos/{owner}/{repo}/releases/generate-notes"],
|
||||||
previews: ["dorian"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
get: ["GET /repos/{owner}/{repo}"],
|
get: ["GET /repos/{owner}/{repo}"],
|
||||||
getAccessRestrictions: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],
|
getAccessRestrictions: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],
|
||||||
getAdminBranchProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],
|
getAdminBranchProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],
|
||||||
@@ -2528,11 +2267,7 @@ const Endpoints = {
|
|||||||
getCommit: ["GET /repos/{owner}/{repo}/commits/{ref}"],
|
getCommit: ["GET /repos/{owner}/{repo}/commits/{ref}"],
|
||||||
getCommitActivityStats: ["GET /repos/{owner}/{repo}/stats/commit_activity"],
|
getCommitActivityStats: ["GET /repos/{owner}/{repo}/stats/commit_activity"],
|
||||||
getCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}"],
|
getCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}"],
|
||||||
getCommitSignatureProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", {
|
getCommitSignatureProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],
|
||||||
mediaType: {
|
|
||||||
previews: ["zzzax"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"],
|
getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"],
|
||||||
getContent: ["GET /repos/{owner}/{repo}/contents/{path}"],
|
getContent: ["GET /repos/{owner}/{repo}/contents/{path}"],
|
||||||
getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"],
|
getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"],
|
||||||
@@ -2650,11 +2385,7 @@ const Endpoints = {
|
|||||||
},
|
},
|
||||||
search: {
|
search: {
|
||||||
code: ["GET /search/code"],
|
code: ["GET /search/code"],
|
||||||
commits: ["GET /search/commits", {
|
commits: ["GET /search/commits"],
|
||||||
mediaType: {
|
|
||||||
previews: ["cloak"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
issuesAndPullRequests: ["GET /search/issues"],
|
issuesAndPullRequests: ["GET /search/issues"],
|
||||||
labels: ["GET /search/labels"],
|
labels: ["GET /search/labels"],
|
||||||
repos: ["GET /search/repositories"],
|
repos: ["GET /search/repositories"],
|
||||||
@@ -2673,17 +2404,9 @@ const Endpoints = {
|
|||||||
},
|
},
|
||||||
teams: {
|
teams: {
|
||||||
addOrUpdateMembershipForUserInOrg: ["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],
|
addOrUpdateMembershipForUserInOrg: ["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],
|
||||||
addOrUpdateProjectPermissionsInOrg: ["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", {
|
addOrUpdateProjectPermissionsInOrg: ["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
addOrUpdateRepoPermissionsInOrg: ["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],
|
addOrUpdateRepoPermissionsInOrg: ["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],
|
||||||
checkPermissionsForProjectInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", {
|
checkPermissionsForProjectInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
checkPermissionsForRepoInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],
|
checkPermissionsForRepoInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],
|
||||||
create: ["POST /orgs/{org}/teams"],
|
create: ["POST /orgs/{org}/teams"],
|
||||||
createDiscussionCommentInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],
|
createDiscussionCommentInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],
|
||||||
@@ -2702,11 +2425,7 @@ const Endpoints = {
|
|||||||
listForAuthenticatedUser: ["GET /user/teams"],
|
listForAuthenticatedUser: ["GET /user/teams"],
|
||||||
listMembersInOrg: ["GET /orgs/{org}/teams/{team_slug}/members"],
|
listMembersInOrg: ["GET /orgs/{org}/teams/{team_slug}/members"],
|
||||||
listPendingInvitationsInOrg: ["GET /orgs/{org}/teams/{team_slug}/invitations"],
|
listPendingInvitationsInOrg: ["GET /orgs/{org}/teams/{team_slug}/invitations"],
|
||||||
listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects", {
|
listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects"],
|
||||||
mediaType: {
|
|
||||||
previews: ["inertia"]
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"],
|
listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"],
|
||||||
removeMembershipForUserInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],
|
removeMembershipForUserInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],
|
||||||
removeProjectInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],
|
removeProjectInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],
|
||||||
@@ -2716,42 +2435,87 @@ const Endpoints = {
|
|||||||
updateInOrg: ["PATCH /orgs/{org}/teams/{team_slug}"]
|
updateInOrg: ["PATCH /orgs/{org}/teams/{team_slug}"]
|
||||||
},
|
},
|
||||||
users: {
|
users: {
|
||||||
addEmailForAuthenticated: ["POST /user/emails"],
|
addEmailForAuthenticated: ["POST /user/emails", {}, {
|
||||||
|
renamed: ["users", "addEmailForAuthenticatedUser"]
|
||||||
|
}],
|
||||||
|
addEmailForAuthenticatedUser: ["POST /user/emails"],
|
||||||
block: ["PUT /user/blocks/{username}"],
|
block: ["PUT /user/blocks/{username}"],
|
||||||
checkBlocked: ["GET /user/blocks/{username}"],
|
checkBlocked: ["GET /user/blocks/{username}"],
|
||||||
checkFollowingForUser: ["GET /users/{username}/following/{target_user}"],
|
checkFollowingForUser: ["GET /users/{username}/following/{target_user}"],
|
||||||
checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"],
|
checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"],
|
||||||
createGpgKeyForAuthenticated: ["POST /user/gpg_keys"],
|
createGpgKeyForAuthenticated: ["POST /user/gpg_keys", {}, {
|
||||||
createPublicSshKeyForAuthenticated: ["POST /user/keys"],
|
renamed: ["users", "createGpgKeyForAuthenticatedUser"]
|
||||||
deleteEmailForAuthenticated: ["DELETE /user/emails"],
|
}],
|
||||||
deleteGpgKeyForAuthenticated: ["DELETE /user/gpg_keys/{gpg_key_id}"],
|
createGpgKeyForAuthenticatedUser: ["POST /user/gpg_keys"],
|
||||||
deletePublicSshKeyForAuthenticated: ["DELETE /user/keys/{key_id}"],
|
createPublicSshKeyForAuthenticated: ["POST /user/keys", {}, {
|
||||||
|
renamed: ["users", "createPublicSshKeyForAuthenticatedUser"]
|
||||||
|
}],
|
||||||
|
createPublicSshKeyForAuthenticatedUser: ["POST /user/keys"],
|
||||||
|
deleteEmailForAuthenticated: ["DELETE /user/emails", {}, {
|
||||||
|
renamed: ["users", "deleteEmailForAuthenticatedUser"]
|
||||||
|
}],
|
||||||
|
deleteEmailForAuthenticatedUser: ["DELETE /user/emails"],
|
||||||
|
deleteGpgKeyForAuthenticated: ["DELETE /user/gpg_keys/{gpg_key_id}", {}, {
|
||||||
|
renamed: ["users", "deleteGpgKeyForAuthenticatedUser"]
|
||||||
|
}],
|
||||||
|
deleteGpgKeyForAuthenticatedUser: ["DELETE /user/gpg_keys/{gpg_key_id}"],
|
||||||
|
deletePublicSshKeyForAuthenticated: ["DELETE /user/keys/{key_id}", {}, {
|
||||||
|
renamed: ["users", "deletePublicSshKeyForAuthenticatedUser"]
|
||||||
|
}],
|
||||||
|
deletePublicSshKeyForAuthenticatedUser: ["DELETE /user/keys/{key_id}"],
|
||||||
follow: ["PUT /user/following/{username}"],
|
follow: ["PUT /user/following/{username}"],
|
||||||
getAuthenticated: ["GET /user"],
|
getAuthenticated: ["GET /user"],
|
||||||
getByUsername: ["GET /users/{username}"],
|
getByUsername: ["GET /users/{username}"],
|
||||||
getContextForUser: ["GET /users/{username}/hovercard"],
|
getContextForUser: ["GET /users/{username}/hovercard"],
|
||||||
getGpgKeyForAuthenticated: ["GET /user/gpg_keys/{gpg_key_id}"],
|
getGpgKeyForAuthenticated: ["GET /user/gpg_keys/{gpg_key_id}", {}, {
|
||||||
getPublicSshKeyForAuthenticated: ["GET /user/keys/{key_id}"],
|
renamed: ["users", "getGpgKeyForAuthenticatedUser"]
|
||||||
|
}],
|
||||||
|
getGpgKeyForAuthenticatedUser: ["GET /user/gpg_keys/{gpg_key_id}"],
|
||||||
|
getPublicSshKeyForAuthenticated: ["GET /user/keys/{key_id}", {}, {
|
||||||
|
renamed: ["users", "getPublicSshKeyForAuthenticatedUser"]
|
||||||
|
}],
|
||||||
|
getPublicSshKeyForAuthenticatedUser: ["GET /user/keys/{key_id}"],
|
||||||
list: ["GET /users"],
|
list: ["GET /users"],
|
||||||
listBlockedByAuthenticated: ["GET /user/blocks"],
|
listBlockedByAuthenticated: ["GET /user/blocks", {}, {
|
||||||
listEmailsForAuthenticated: ["GET /user/emails"],
|
renamed: ["users", "listBlockedByAuthenticatedUser"]
|
||||||
listFollowedByAuthenticated: ["GET /user/following"],
|
}],
|
||||||
|
listBlockedByAuthenticatedUser: ["GET /user/blocks"],
|
||||||
|
listEmailsForAuthenticated: ["GET /user/emails", {}, {
|
||||||
|
renamed: ["users", "listEmailsForAuthenticatedUser"]
|
||||||
|
}],
|
||||||
|
listEmailsForAuthenticatedUser: ["GET /user/emails"],
|
||||||
|
listFollowedByAuthenticated: ["GET /user/following", {}, {
|
||||||
|
renamed: ["users", "listFollowedByAuthenticatedUser"]
|
||||||
|
}],
|
||||||
|
listFollowedByAuthenticatedUser: ["GET /user/following"],
|
||||||
listFollowersForAuthenticatedUser: ["GET /user/followers"],
|
listFollowersForAuthenticatedUser: ["GET /user/followers"],
|
||||||
listFollowersForUser: ["GET /users/{username}/followers"],
|
listFollowersForUser: ["GET /users/{username}/followers"],
|
||||||
listFollowingForUser: ["GET /users/{username}/following"],
|
listFollowingForUser: ["GET /users/{username}/following"],
|
||||||
listGpgKeysForAuthenticated: ["GET /user/gpg_keys"],
|
listGpgKeysForAuthenticated: ["GET /user/gpg_keys", {}, {
|
||||||
|
renamed: ["users", "listGpgKeysForAuthenticatedUser"]
|
||||||
|
}],
|
||||||
|
listGpgKeysForAuthenticatedUser: ["GET /user/gpg_keys"],
|
||||||
listGpgKeysForUser: ["GET /users/{username}/gpg_keys"],
|
listGpgKeysForUser: ["GET /users/{username}/gpg_keys"],
|
||||||
listPublicEmailsForAuthenticated: ["GET /user/public_emails"],
|
listPublicEmailsForAuthenticated: ["GET /user/public_emails", {}, {
|
||||||
|
renamed: ["users", "listPublicEmailsForAuthenticatedUser"]
|
||||||
|
}],
|
||||||
|
listPublicEmailsForAuthenticatedUser: ["GET /user/public_emails"],
|
||||||
listPublicKeysForUser: ["GET /users/{username}/keys"],
|
listPublicKeysForUser: ["GET /users/{username}/keys"],
|
||||||
listPublicSshKeysForAuthenticated: ["GET /user/keys"],
|
listPublicSshKeysForAuthenticated: ["GET /user/keys", {}, {
|
||||||
setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility"],
|
renamed: ["users", "listPublicSshKeysForAuthenticatedUser"]
|
||||||
|
}],
|
||||||
|
listPublicSshKeysForAuthenticatedUser: ["GET /user/keys"],
|
||||||
|
setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility", {}, {
|
||||||
|
renamed: ["users", "setPrimaryEmailVisibilityForAuthenticatedUser"]
|
||||||
|
}],
|
||||||
|
setPrimaryEmailVisibilityForAuthenticatedUser: ["PATCH /user/email/visibility"],
|
||||||
unblock: ["DELETE /user/blocks/{username}"],
|
unblock: ["DELETE /user/blocks/{username}"],
|
||||||
unfollow: ["DELETE /user/following/{username}"],
|
unfollow: ["DELETE /user/following/{username}"],
|
||||||
updateAuthenticated: ["PATCH /user"]
|
updateAuthenticated: ["PATCH /user"]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const VERSION = "5.11.1";
|
const VERSION = "5.13.0";
|
||||||
|
|
||||||
function endpointsToMethods(octokit, endpointsMap) {
|
function endpointsToMethods(octokit, endpointsMap) {
|
||||||
const newMethods = {};
|
const newMethods = {};
|
||||||
@@ -3970,7 +3734,7 @@ exports.getState = getState;
|
|||||||
|
|
||||||
Object.defineProperty(exports, '__esModule', { value: true });
|
Object.defineProperty(exports, '__esModule', { value: true });
|
||||||
|
|
||||||
const VERSION = "2.16.4";
|
const VERSION = "2.17.0";
|
||||||
|
|
||||||
function ownKeys(object, enumerableOnly) {
|
function ownKeys(object, enumerableOnly) {
|
||||||
var keys = Object.keys(object);
|
var keys = Object.keys(object);
|
||||||
@@ -4154,7 +3918,7 @@ const composePaginateRest = Object.assign(paginate, {
|
|||||||
iterator
|
iterator
|
||||||
});
|
});
|
||||||
|
|
||||||
const paginatingEndpoints = ["GET /app/hook/deliveries", "GET /app/installations", "GET /applications/grants", "GET /authorizations", "GET /enterprises/{enterprise}/actions/permissions/organizations", "GET /enterprises/{enterprise}/actions/runner-groups", "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", "GET /enterprises/{enterprise}/actions/runners", "GET /enterprises/{enterprise}/actions/runners/downloads", "GET /events", "GET /gists", "GET /gists/public", "GET /gists/starred", "GET /gists/{gist_id}/comments", "GET /gists/{gist_id}/commits", "GET /gists/{gist_id}/forks", "GET /installation/repositories", "GET /issues", "GET /marketplace_listing/plans", "GET /marketplace_listing/plans/{plan_id}/accounts", "GET /marketplace_listing/stubbed/plans", "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts", "GET /networks/{owner}/{repo}/events", "GET /notifications", "GET /organizations", "GET /orgs/{org}/actions/permissions/repositories", "GET /orgs/{org}/actions/runner-groups", "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners", "GET /orgs/{org}/actions/runners", "GET /orgs/{org}/actions/runners/downloads", "GET /orgs/{org}/actions/secrets", "GET /orgs/{org}/actions/secrets/{secret_name}/repositories", "GET /orgs/{org}/blocks", "GET /orgs/{org}/credential-authorizations", "GET /orgs/{org}/events", "GET /orgs/{org}/failed_invitations", "GET /orgs/{org}/hooks", "GET /orgs/{org}/hooks/{hook_id}/deliveries", "GET /orgs/{org}/installations", "GET /orgs/{org}/invitations", "GET /orgs/{org}/invitations/{invitation_id}/teams", "GET /orgs/{org}/issues", "GET /orgs/{org}/members", "GET /orgs/{org}/migrations", "GET /orgs/{org}/migrations/{migration_id}/repositories", "GET /orgs/{org}/outside_collaborators", "GET /orgs/{org}/packages", "GET /orgs/{org}/projects", "GET /orgs/{org}/public_members", "GET /orgs/{org}/repos", "GET /orgs/{org}/secret-scanning/alerts", "GET /orgs/{org}/team-sync/groups", "GET /orgs/{org}/teams", "GET /orgs/{org}/teams/{team_slug}/discussions", "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", "GET /orgs/{org}/teams/{team_slug}/invitations", "GET /orgs/{org}/teams/{team_slug}/members", "GET /orgs/{org}/teams/{team_slug}/projects", "GET /orgs/{org}/teams/{team_slug}/repos", "GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings", "GET /orgs/{org}/teams/{team_slug}/teams", "GET /projects/columns/{column_id}/cards", "GET /projects/{project_id}/collaborators", "GET /projects/{project_id}/columns", "GET /repos/{owner}/{repo}/actions/artifacts", "GET /repos/{owner}/{repo}/actions/runners", "GET /repos/{owner}/{repo}/actions/runners/downloads", "GET /repos/{owner}/{repo}/actions/runs", "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs", "GET /repos/{owner}/{repo}/actions/secrets", "GET /repos/{owner}/{repo}/actions/workflows", "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", "GET /repos/{owner}/{repo}/assignees", "GET /repos/{owner}/{repo}/autolinks", "GET /repos/{owner}/{repo}/branches", "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", "GET /repos/{owner}/{repo}/code-scanning/alerts", "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", "GET /repos/{owner}/{repo}/code-scanning/analyses", "GET /repos/{owner}/{repo}/collaborators", "GET /repos/{owner}/{repo}/comments", "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", "GET /repos/{owner}/{repo}/commits", "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments", "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls", "GET /repos/{owner}/{repo}/commits/{ref}/check-runs", "GET /repos/{owner}/{repo}/commits/{ref}/check-suites", "GET /repos/{owner}/{repo}/commits/{ref}/statuses", "GET /repos/{owner}/{repo}/contributors", "GET /repos/{owner}/{repo}/deployments", "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses", "GET /repos/{owner}/{repo}/events", "GET /repos/{owner}/{repo}/forks", "GET /repos/{owner}/{repo}/git/matching-refs/{ref}", "GET /repos/{owner}/{repo}/hooks", "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries", "GET /repos/{owner}/{repo}/invitations", "GET /repos/{owner}/{repo}/issues", "GET /repos/{owner}/{repo}/issues/comments", "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", "GET /repos/{owner}/{repo}/issues/events", "GET /repos/{owner}/{repo}/issues/{issue_number}/comments", "GET /repos/{owner}/{repo}/issues/{issue_numbLine truncated
|
const paginatingEndpoints = ["GET /app/hook/deliveries", "GET /app/installations", "GET /applications/grants", "GET /authorizations", "GET /enterprises/{enterprise}/actions/permissions/organizations", "GET /enterprises/{enterprise}/actions/runner-groups", "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", "GET /enterprises/{enterprise}/actions/runners", "GET /enterprises/{enterprise}/actions/runners/downloads", "GET /events", "GET /gists", "GET /gists/public", "GET /gists/starred", "GET /gists/{gist_id}/comments", "GET /gists/{gist_id}/commits", "GET /gists/{gist_id}/forks", "GET /installation/repositories", "GET /issues", "GET /marketplace_listing/plans", "GET /marketplace_listing/plans/{plan_id}/accounts", "GET /marketplace_listing/stubbed/plans", "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts", "GET /networks/{owner}/{repo}/events", "GET /notifications", "GET /organizations", "GET /orgs/{org}/actions/permissions/repositories", "GET /orgs/{org}/actions/runner-groups", "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners", "GET /orgs/{org}/actions/runners", "GET /orgs/{org}/actions/runners/downloads", "GET /orgs/{org}/actions/secrets", "GET /orgs/{org}/actions/secrets/{secret_name}/repositories", "GET /orgs/{org}/blocks", "GET /orgs/{org}/credential-authorizations", "GET /orgs/{org}/events", "GET /orgs/{org}/failed_invitations", "GET /orgs/{org}/hooks", "GET /orgs/{org}/hooks/{hook_id}/deliveries", "GET /orgs/{org}/installations", "GET /orgs/{org}/invitations", "GET /orgs/{org}/invitations/{invitation_id}/teams", "GET /orgs/{org}/issues", "GET /orgs/{org}/members", "GET /orgs/{org}/migrations", "GET /orgs/{org}/migrations/{migration_id}/repositories", "GET /orgs/{org}/outside_collaborators", "GET /orgs/{org}/packages", "GET /orgs/{org}/projects", "GET /orgs/{org}/public_members", "GET /orgs/{org}/repos", "GET /orgs/{org}/secret-scanning/alerts", "GET /orgs/{org}/team-sync/groups", "GET /orgs/{org}/teams", "GET /orgs/{org}/teams/{team_slug}/discussions", "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", "GET /orgs/{org}/teams/{team_slug}/invitations", "GET /orgs/{org}/teams/{team_slug}/members", "GET /orgs/{org}/teams/{team_slug}/projects", "GET /orgs/{org}/teams/{team_slug}/repos", "GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings", "GET /orgs/{org}/teams/{team_slug}/teams", "GET /projects/columns/{column_id}/cards", "GET /projects/{project_id}/collaborators", "GET /projects/{project_id}/columns", "GET /repos/{owner}/{repo}/actions/artifacts", "GET /repos/{owner}/{repo}/actions/runners", "GET /repos/{owner}/{repo}/actions/runners/downloads", "GET /repos/{owner}/{repo}/actions/runs", "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", "GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs", "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs", "GET /repos/{owner}/{repo}/actions/secrets", "GET /repos/{owner}/{repo}/actions/workflows", "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", "GET /repos/{owner}/{repo}/assignees", "GET /repos/{owner}/{repo}/autolinks", "GET /repos/{owner}/{repo}/branches", "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", "GET /repos/{owner}/{repo}/code-scanning/alerts", "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", "GET /repos/{owner}/{repo}/code-scanning/analyses", "GET /repos/{owner}/{repo}/collaborators", "GET /repos/{owner}/{repo}/comments", "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", "GET /repos/{owner}/{repo}/commits", "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments", "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls", "GET /repos/{owner}/{repo}/commits/{ref}/check-runs", "GET /repos/{owner}/{repo}/commits/{ref}/check-suites", "GET /repos/{owner}/{repo}/commits/{ref}/statuses", "GET /repos/{owner}/{repo}/contributors", "GET /repos/{owner}/{repo}/deployments", "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses", "GET /repos/{owner}/{repo}/events", "GET /repos/{owner}/{repo}/forks", "GET /repos/{owner}/{repo}/git/matching-refs/{ref}", "GET /repos/{owner}/{repo}/hooks", "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries", "GET /repos/{owner}/{repo}/invitations", "GET /repos/{owner}/{repo}/issues", "GET /repos/{owner}/{repo}/issues/comments", "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", "GET /repos/{owner}/{repo}/issues/events", "GET /repos/{owner}/{reLine truncated
|
||||||
|
|
||||||
function isPaginatingEndpoint(arg) {
|
function isPaginatingEndpoint(arg) {
|
||||||
if (typeof arg === "string") {
|
if (typeof arg === "string") {
|
||||||
|
|||||||
Generated
+33
-33
@@ -15,8 +15,8 @@
|
|||||||
"@actions/glob": "^0.2.0",
|
"@actions/glob": "^0.2.0",
|
||||||
"@actions/io": "^1.1.1",
|
"@actions/io": "^1.1.1",
|
||||||
"@octokit/core": "^3.5.1",
|
"@octokit/core": "^3.5.1",
|
||||||
"@octokit/plugin-paginate-rest": "^2.16.4",
|
"@octokit/plugin-paginate-rest": "^2.17.0",
|
||||||
"@octokit/plugin-rest-endpoint-methods": "^5.11.1"
|
"@octokit/plugin-rest-endpoint-methods": "^5.13.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^27.0.2",
|
"@types/jest": "^27.0.2",
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"@vercel/ncc": "^0.23.0",
|
"@vercel/ncc": "^0.23.0",
|
||||||
"eslint": "^7.32.0",
|
"eslint": "^7.32.0",
|
||||||
"eslint-config-prettier": "^6.15.0",
|
"eslint-config-prettier": "^6.15.0",
|
||||||
"husky": "^7.0.2",
|
"husky": "^7.0.0",
|
||||||
"jest": "^27.2.5",
|
"jest": "^27.2.5",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"prettier": "^2.0.5",
|
"prettier": "^2.0.5",
|
||||||
@@ -1091,27 +1091,27 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@octokit/openapi-types": {
|
"node_modules/@octokit/openapi-types": {
|
||||||
"version": "10.5.0",
|
"version": "11.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-10.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-11.2.0.tgz",
|
||||||
"integrity": "sha512-yt8GpYL0s1bLZR7602l0Im5zfmB3UdHYCfcrv3ZGRX95BjX66UQeH4asXjXo8xBit9HneCctVhTMN0On/duukQ=="
|
"integrity": "sha512-PBsVO+15KSlGmiI8QAzaqvsNlZlrDlyAJYcrXBCvVUxCp7VnXjkwPoFHgjEJXx3WF9BAwkA6nfCUA7i9sODzKA=="
|
||||||
},
|
},
|
||||||
"node_modules/@octokit/plugin-paginate-rest": {
|
"node_modules/@octokit/plugin-paginate-rest": {
|
||||||
"version": "2.16.4",
|
"version": "2.17.0",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.16.4.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.17.0.tgz",
|
||||||
"integrity": "sha512-33UFvlgJP1zQVcbkeMQhzUeEXMOOr1U/3i8GDJqzw9MMRy90P/J+PXfgQvhE0N/rfX01DnY2IQMb2Q/L01EL0A==",
|
"integrity": "sha512-tzMbrbnam2Mt4AhuyCHvpRkS0oZ5MvwwcQPYGtMv4tUa5kkzG58SVB0fcsLulOZQeRnOgdkZWkRUiyBlh0Bkyw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@octokit/types": "^6.30.0"
|
"@octokit/types": "^6.34.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@octokit/core": ">=2"
|
"@octokit/core": ">=2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@octokit/plugin-rest-endpoint-methods": {
|
"node_modules/@octokit/plugin-rest-endpoint-methods": {
|
||||||
"version": "5.11.1",
|
"version": "5.13.0",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.11.1.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.13.0.tgz",
|
||||||
"integrity": "sha512-EE69SuO08wtnIy9q/HftGDr7/Im1txzDfeYr+I4T/JkMSNEiedUUE5RuCWkEQAwwbeEU4kVTwSEQZb9Af77/PA==",
|
"integrity": "sha512-uJjMTkN1KaOIgNtUPMtIXDOjx6dGYysdIFhgA52x4xSadQCz3b/zJexvITDVpANnfKPW/+E0xkOvLntqMYpviA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@octokit/types": "^6.30.0",
|
"@octokit/types": "^6.34.0",
|
||||||
"deprecation": "^2.3.1"
|
"deprecation": "^2.3.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
@@ -1142,11 +1142,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@octokit/types": {
|
"node_modules/@octokit/types": {
|
||||||
"version": "6.31.0",
|
"version": "6.34.0",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.31.0.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.34.0.tgz",
|
||||||
"integrity": "sha512-xobpvYmMYoFSxZB6jL1TPTMMZkxZIBlY145ZKibBJDKCczP1FrLLougtuVOZywGVZdcYs8oq2Bxb3aMjqIFeiw==",
|
"integrity": "sha512-s1zLBjWhdEI2zwaoSgyOFoKSl109CUcVBCc7biPJ3aAf6LGLU6szDvi31JPU7bxfla2lqfhjbbg/5DdFNxOwHw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@octokit/openapi-types": "^10.5.0"
|
"@octokit/openapi-types": "^11.2.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@sinonjs/commons": {
|
"node_modules/@sinonjs/commons": {
|
||||||
@@ -6999,24 +6999,24 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@octokit/openapi-types": {
|
"@octokit/openapi-types": {
|
||||||
"version": "10.5.0",
|
"version": "11.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-10.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-11.2.0.tgz",
|
||||||
"integrity": "sha512-yt8GpYL0s1bLZR7602l0Im5zfmB3UdHYCfcrv3ZGRX95BjX66UQeH4asXjXo8xBit9HneCctVhTMN0On/duukQ=="
|
"integrity": "sha512-PBsVO+15KSlGmiI8QAzaqvsNlZlrDlyAJYcrXBCvVUxCp7VnXjkwPoFHgjEJXx3WF9BAwkA6nfCUA7i9sODzKA=="
|
||||||
},
|
},
|
||||||
"@octokit/plugin-paginate-rest": {
|
"@octokit/plugin-paginate-rest": {
|
||||||
"version": "2.16.4",
|
"version": "2.17.0",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.16.4.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.17.0.tgz",
|
||||||
"integrity": "sha512-33UFvlgJP1zQVcbkeMQhzUeEXMOOr1U/3i8GDJqzw9MMRy90P/J+PXfgQvhE0N/rfX01DnY2IQMb2Q/L01EL0A==",
|
"integrity": "sha512-tzMbrbnam2Mt4AhuyCHvpRkS0oZ5MvwwcQPYGtMv4tUa5kkzG58SVB0fcsLulOZQeRnOgdkZWkRUiyBlh0Bkyw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@octokit/types": "^6.30.0"
|
"@octokit/types": "^6.34.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@octokit/plugin-rest-endpoint-methods": {
|
"@octokit/plugin-rest-endpoint-methods": {
|
||||||
"version": "5.11.1",
|
"version": "5.13.0",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.11.1.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.13.0.tgz",
|
||||||
"integrity": "sha512-EE69SuO08wtnIy9q/HftGDr7/Im1txzDfeYr+I4T/JkMSNEiedUUE5RuCWkEQAwwbeEU4kVTwSEQZb9Af77/PA==",
|
"integrity": "sha512-uJjMTkN1KaOIgNtUPMtIXDOjx6dGYysdIFhgA52x4xSadQCz3b/zJexvITDVpANnfKPW/+E0xkOvLntqMYpviA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@octokit/types": "^6.30.0",
|
"@octokit/types": "^6.34.0",
|
||||||
"deprecation": "^2.3.1"
|
"deprecation": "^2.3.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -7044,11 +7044,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@octokit/types": {
|
"@octokit/types": {
|
||||||
"version": "6.31.0",
|
"version": "6.34.0",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.31.0.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.34.0.tgz",
|
||||||
"integrity": "sha512-xobpvYmMYoFSxZB6jL1TPTMMZkxZIBlY145ZKibBJDKCczP1FrLLougtuVOZywGVZdcYs8oq2Bxb3aMjqIFeiw==",
|
"integrity": "sha512-s1zLBjWhdEI2zwaoSgyOFoKSl109CUcVBCc7biPJ3aAf6LGLU6szDvi31JPU7bxfla2lqfhjbbg/5DdFNxOwHw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@octokit/openapi-types": "^10.5.0"
|
"@octokit/openapi-types": "^11.2.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@sinonjs/commons": {
|
"@sinonjs/commons": {
|
||||||
|
|||||||
+2
-2
@@ -37,8 +37,8 @@
|
|||||||
"@actions/glob": "^0.2.0",
|
"@actions/glob": "^0.2.0",
|
||||||
"@actions/io": "^1.1.1",
|
"@actions/io": "^1.1.1",
|
||||||
"@octokit/core": "^3.5.1",
|
"@octokit/core": "^3.5.1",
|
||||||
"@octokit/plugin-paginate-rest": "^2.16.4",
|
"@octokit/plugin-paginate-rest": "^2.17.0",
|
||||||
"@octokit/plugin-rest-endpoint-methods": "^5.11.1"
|
"@octokit/plugin-rest-endpoint-methods": "^5.13.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^27.0.2",
|
"@types/jest": "^27.0.2",
|
||||||
|
|||||||
Reference in new issue
Block a user