@squidcloud/github-client 1.0.482 → 1.0.484
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -226,6 +226,7 @@ export interface GitHubFileContentResponse {
|
|
|
226
226
|
}
|
|
227
227
|
export interface SearchGitHubPRsRequest {
|
|
228
228
|
integrationId: IntegrationId;
|
|
229
|
+
repository?: string;
|
|
229
230
|
query?: string;
|
|
230
231
|
state?: 'open' | 'closed' | 'all';
|
|
231
232
|
author?: string;
|
|
@@ -234,17 +235,20 @@ export interface SearchGitHubPRsRequest {
|
|
|
234
235
|
}
|
|
235
236
|
export interface GetGitHubPRRequest {
|
|
236
237
|
integrationId: IntegrationId;
|
|
238
|
+
repository?: string;
|
|
237
239
|
prNumber: number;
|
|
238
240
|
includeFiles?: boolean;
|
|
239
241
|
includeReviews?: boolean;
|
|
240
242
|
}
|
|
241
243
|
export interface ListGitHubPRsRequest {
|
|
242
244
|
integrationId: IntegrationId;
|
|
245
|
+
repository?: string;
|
|
243
246
|
state?: 'open' | 'closed' | 'all';
|
|
244
247
|
limit?: number;
|
|
245
248
|
}
|
|
246
249
|
export interface SearchGitHubCodeRequest {
|
|
247
250
|
integrationId: IntegrationId;
|
|
251
|
+
repository?: string;
|
|
248
252
|
query: string;
|
|
249
253
|
path?: string;
|
|
250
254
|
extension?: string;
|
|
@@ -252,11 +256,13 @@ export interface SearchGitHubCodeRequest {
|
|
|
252
256
|
}
|
|
253
257
|
export interface GetGitHubFileRequest {
|
|
254
258
|
integrationId: IntegrationId;
|
|
259
|
+
repository?: string;
|
|
255
260
|
filePath: string;
|
|
256
261
|
ref?: string;
|
|
257
262
|
}
|
|
258
263
|
export interface CreateGitHubPRRequest {
|
|
259
264
|
integrationId: IntegrationId;
|
|
265
|
+
repository?: string;
|
|
260
266
|
title: string;
|
|
261
267
|
body?: string;
|
|
262
268
|
head: string;
|
|
@@ -265,21 +271,25 @@ export interface CreateGitHubPRRequest {
|
|
|
265
271
|
}
|
|
266
272
|
export interface AddGitHubPRCommentRequest {
|
|
267
273
|
integrationId: IntegrationId;
|
|
274
|
+
repository?: string;
|
|
268
275
|
prNumber: number;
|
|
269
276
|
body: string;
|
|
270
277
|
}
|
|
271
278
|
export interface AddGitHubPRReviewRequest {
|
|
272
279
|
integrationId: IntegrationId;
|
|
280
|
+
repository?: string;
|
|
273
281
|
prNumber: number;
|
|
274
282
|
body?: string;
|
|
275
283
|
event: 'APPROVE' | 'REQUEST_CHANGES' | 'COMMENT';
|
|
276
284
|
}
|
|
277
285
|
export interface CloseGitHubPRRequest {
|
|
278
286
|
integrationId: IntegrationId;
|
|
287
|
+
repository?: string;
|
|
279
288
|
prNumber: number;
|
|
280
289
|
}
|
|
281
290
|
export interface MergeGitHubPRRequest {
|
|
282
291
|
integrationId: IntegrationId;
|
|
292
|
+
repository?: string;
|
|
283
293
|
prNumber: number;
|
|
284
294
|
commitTitle?: string;
|
|
285
295
|
commitMessage?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squidcloud/github-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.484",
|
|
4
4
|
"description": "Squid GitHub Client",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/client/src/index.d.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"assertic": "^1.3.0",
|
|
21
21
|
"lodash": "^4.18.1",
|
|
22
|
-
"@squidcloud/client": "^1.0.
|
|
22
|
+
"@squidcloud/client": "^1.0.484"
|
|
23
23
|
},
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=20.0.0"
|