Skip to content

Commit 7ecd6f0

Browse files
feat(deps): update dependencies (#682)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dan Adajian <[email protected]>
1 parent 208bb6d commit 7ecd6f0

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

bun.lockb

2.46 KB
Binary file not shown.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"@actions/github": "6.0.0",
1010
"@adobe/node-fetch-retry": "2.2.0",
1111
"@octokit/graphql-schema": "15.25.0",
12-
"@octokit/rest": "21.0.2",
12+
"@octokit/rest": "21.1.0",
1313
"axios": "1.7.9",
1414
"bluebird": "3.7.2",
1515
"codeowners-utils": "1.0.2",
@@ -35,14 +35,14 @@
3535
"@types/lodash.uniq": "4.5.9",
3636
"@types/micromatch": "4.0.9",
3737
"@vercel/ncc": "0.38.3",
38-
"bun-types": "1.1.42",
38+
"bun-types": "1.1.43",
3939
"eslint": "9.17.0",
4040
"husky": "9.1.7",
4141
"jest": "29.7.0",
4242
"plop": "4.0.1",
4343
"prettier": "3.4.2",
44-
"typescript": "5.7.2",
45-
"typescript-eslint": "8.18.1"
44+
"typescript": "5.7.3",
45+
"typescript-eslint": "8.19.1"
4646
},
4747
"jest": {
4848
"clearMocks": true,

src/types/github.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ limitations under the License.
1212
*/
1313

1414
import { RestEndpointMethodTypes } from '@octokit/rest';
15+
import { octokit } from '../octokit';
1516

1617
export type PipelineState = RestEndpointMethodTypes['repos']['createCommitStatus']['parameters']['state'];
1718
export type DeploymentState = RestEndpointMethodTypes['repos']['createDeploymentStatus']['parameters']['state'];
18-
export type PullRequest = RestEndpointMethodTypes['pulls']['get']['response']['data'];
19+
export type PullRequest = Awaited<ReturnType<typeof octokit.pulls.get>>['data'];
1920
export type PullRequestList = RestEndpointMethodTypes['pulls']['list']['response']['data'];
2021
export type IssueList = RestEndpointMethodTypes['issues']['listForRepo']['response']['data'];
2122
export type CommentList = RestEndpointMethodTypes['issues']['listComments']['response']['data'];

0 commit comments

Comments
 (0)