@gitkraken/provider-apis 0.29.4 → 0.29.6
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BitbucketServerMergeStrategy } from '../../types/exportedTypes/bitbucket';
|
|
2
|
-
import { Account, EnterpriseOptions, GetRepoErrorData, GetRepoInput, GetReposInput, GitPullRequest, GitRepository, NumberedPageInput, SetPullRequestInput } from '../../types/exportedTypes/gitProvider';
|
|
2
|
+
import { Account, EnterpriseOptions, GetRepoErrorData, GetRepoInput, GetReposInput, GitPullRequest, GitRepository, NumberedPageInput, Options, SetPullRequestInput, User } from '../../types/exportedTypes/gitProvider';
|
|
3
|
+
import { Result } from '../../types/exportedTypes/types';
|
|
3
4
|
import { BitbucketServerPullRequest } from '../../types/internalTypes/bitbucketServer';
|
|
4
5
|
import { GitProvider } from '../gitProvider';
|
|
5
6
|
import { EnterpriseProvider } from '../provider';
|
|
@@ -10,6 +11,10 @@ export declare class BitbucketServer extends EnterpriseProvider implements GitPr
|
|
|
10
11
|
getCurrentUser(input?: Record<string, never>, options?: EnterpriseOptions): Promise<{
|
|
11
12
|
data: Account;
|
|
12
13
|
}>;
|
|
14
|
+
getUserForCommit(input: {
|
|
15
|
+
repo: GetRepoInput;
|
|
16
|
+
oid: string;
|
|
17
|
+
}, options: Options): Promise<Result<User>>;
|
|
13
18
|
getRepo(input: GetRepoInput, options?: EnterpriseOptions): Promise<{
|
|
14
19
|
data: GitRepository;
|
|
15
20
|
}>;
|
|
@@ -88,4 +93,13 @@ export declare class BitbucketServer extends EnterpriseProvider implements GitPr
|
|
|
88
93
|
username: string | null;
|
|
89
94
|
}[];
|
|
90
95
|
}, options?: EnterpriseOptions): Promise<void>;
|
|
96
|
+
getAccountsForProject(input: {
|
|
97
|
+
project: string;
|
|
98
|
+
} & NumberedPageInput, options?: EnterpriseOptions): Promise<{
|
|
99
|
+
pageInfo: {
|
|
100
|
+
hasNextPage: boolean;
|
|
101
|
+
nextPage: number | null;
|
|
102
|
+
};
|
|
103
|
+
data: Account[];
|
|
104
|
+
}>;
|
|
91
105
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitkraken/provider-apis",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.6",
|
|
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",
|