File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 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" ,
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 ,
Original file line number Diff line number Diff line change @@ -12,10 +12,11 @@ limitations under the License.
1212*/
1313
1414import { RestEndpointMethodTypes } from '@octokit/rest' ;
15+ import { octokit } from '../octokit' ;
1516
1617export type PipelineState = RestEndpointMethodTypes [ 'repos' ] [ 'createCommitStatus' ] [ 'parameters' ] [ 'state' ] ;
1718export 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' ] ;
1920export type PullRequestList = RestEndpointMethodTypes [ 'pulls' ] [ 'list' ] [ 'response' ] [ 'data' ] ;
2021export type IssueList = RestEndpointMethodTypes [ 'issues' ] [ 'listForRepo' ] [ 'response' ] [ 'data' ] ;
2122export type CommentList = RestEndpointMethodTypes [ 'issues' ] [ 'listComments' ] [ 'response' ] [ 'data' ] ;
You can’t perform that action at this time.
0 commit comments