Skip to content

Commit

Permalink
feat(typescript): .rest.packages.deletePackageForUser(), `.rest.pac…
Browse files Browse the repository at this point in the history
…kages.deletePackageVersionForUser()`, `.rest.packages.restorePackageForUser()`, `.rest.packages.restorePackageVersionForUser()`, `.rest.secretScanning.listAlertsForOrg()` (#2150)
  • Loading branch information
gr2m authored Aug 31, 2021
1 parent f0742a1 commit 670986f
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 78 deletions.
117 changes: 47 additions & 70 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
"test:typescript": "npx tsc --noEmit --declaration --noUnusedLocals --esModuleInterop --strict test/typescript-validate.ts"
},
"dependencies": {
"@octokit/app": "^12.0.0",
"@octokit/core": "^3.3.1",
"@octokit/oauth-app": "^3.3.0",
"@octokit/plugin-paginate-rest": "^2.13.3",
"@octokit/plugin-rest-endpoint-methods": "5.8.0",
"@octokit/plugin-retry": "^3.0.8",
"@octokit/plugin-throttling": "^3.4.3",
"@octokit/types": "^6.16.1"
"@octokit/app": "^12.0.4",
"@octokit/core": "^3.5.1",
"@octokit/oauth-app": "^3.5.1",
"@octokit/plugin-paginate-rest": "^2.16.0",
"@octokit/plugin-rest-endpoint-methods": "^5.9.0",
"@octokit/plugin-retry": "^3.0.9",
"@octokit/plugin-throttling": "^3.5.1",
"@octokit/types": "^6.26.0"
},
"devDependencies": {
"@octokit/tsconfig": "^1.0.2",
Expand Down
1 change: 1 addition & 0 deletions test/app.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ describe("App", () => {
for await (const { octokit, repository } of app.eachRepository.iterator()) {
// https://docs.github.com/en/rest/reference/repos#create-a-repository-dispatch-event
await octokit.request("POST /repos/{owner}/{repo}/dispatches", {
// @ts-ignore - https://github.com/octokit/openapi-types.ts/issues/136
owner: repository.owner.login,
repo: repository.name,
event_type: "my_event",
Expand Down

0 comments on commit 670986f

Please sign in to comment.