@gitkraken/provider-apis 0.44.0 → 0.45.0
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.
- package/CHANGELOG.md +12 -0
- package/dist/index.js +188 -188
- package/dist/index.providers.js +217 -217
- package/dist/providers/azureDevops/azureDevOps.d.ts +16 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AzureGetRepoInput, AzureGetReposInput, AzureGraphAccount, AzureOrganization, AzureProject, AzureSetAccountInput, AzureSetIssueInput, AzureSetPullRequestInput, PullRequestAsyncStatus, StatusByWorkItemIdByStatusId, WorkItemType } from '../../types/exportedTypes/azureDevOps';
|
|
2
|
-
import { CursorPageInput, EnterpriseOptions, GetMergeBaseInput, GetPRForRepoInput, GetRepoErrorData, GetRepoInput, GetReposInput, GitMergeStrategy, GitPullRequest, GitPullRequestReview, GitRepository, GitRepositoryPermissions, NumberedPageInput, SetAccountInput, SetLabelInput, SetPullRequestInput } from '../../types/exportedTypes/gitProvider';
|
|
2
|
+
import { AddInlineCommentInput, CursorPageInput, DeleteCommentInput, EditCommentInput, EnterpriseOptions, GetMergeBaseInput, GetPRForRepoInput, GetRepoErrorData, GetRepoInput, GetReposInput, GitComment, GitMergeStrategy, GitPullRequest, GitPullRequestReview, GitRepository, GitRepositoryPermissions, NumberedPageInput, PageInput, ResolveReviewThreadInput, SetAccountInput, SetLabelInput, SetPullRequestInput } from '../../types/exportedTypes/gitProvider';
|
|
3
3
|
import { Issue, SetStatusInput } from '../../types/exportedTypes/issueProvider';
|
|
4
4
|
import { PagedResult, Result } from '../../types/exportedTypes/types';
|
|
5
5
|
import { GitProvider } from '../gitProvider';
|
|
@@ -351,6 +351,21 @@ export declare class AzureDevOps extends EnterpriseProvider implements GitProvid
|
|
|
351
351
|
private getPullRequestWriteHeaders;
|
|
352
352
|
private setReviewerVote;
|
|
353
353
|
private postPullRequestThread;
|
|
354
|
+
getCommentsForPullRequest(input: {
|
|
355
|
+
repo: GetRepoInput;
|
|
356
|
+
pullRequestNumber: number;
|
|
357
|
+
} & PageInput, options?: EnterpriseOptions): Promise<PagedResult<GitComment>>;
|
|
358
|
+
addCommentToPullRequest(input: {
|
|
359
|
+
pullRequest: SetPullRequestInput;
|
|
360
|
+
comment: string;
|
|
361
|
+
}, options?: EnterpriseOptions): Promise<void>;
|
|
362
|
+
addInlineCommentToPullRequest(input: AddInlineCommentInput, options?: EnterpriseOptions): Promise<string | undefined>;
|
|
363
|
+
editComment(input: EditCommentInput, options?: EnterpriseOptions): Promise<void>;
|
|
364
|
+
editInlineComment(input: EditCommentInput, options?: EnterpriseOptions): Promise<void>;
|
|
365
|
+
deleteComment(input: DeleteCommentInput, options?: EnterpriseOptions): Promise<void>;
|
|
366
|
+
deleteInlineComment(input: DeleteCommentInput, options?: EnterpriseOptions): Promise<void>;
|
|
367
|
+
resolveReviewThread(input: ResolveReviewThreadInput, options?: EnterpriseOptions): Promise<void>;
|
|
368
|
+
unresolveReviewThread(input: ResolveReviewThreadInput, options?: EnterpriseOptions): Promise<void>;
|
|
354
369
|
approvePullRequest(input: {
|
|
355
370
|
pullRequest: SetPullRequestInput;
|
|
356
371
|
comment?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitkraken/provider-apis",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.45.0",
|
|
4
4
|
"description": "An SDK around different third-party APIs that accepts and returns data in a common format.",
|
|
5
5
|
"author": "Axosoft, LLC dba GitKraken",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|