@gitkraken/provider-apis 0.25.11 → 0.26.1
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 +15 -0
- package/dist/index.js +14 -14
- package/dist/index.providers.js +36 -36
- package/dist/providers/bitbucket/bitbucket.d.ts +15 -1
- package/dist/types/exportedTypes/bitbucket.d.ts +5 -0
- package/dist/types/internalTypes/azureDevOps.d.ts +3 -0
- package/dist/types/internalTypes/bitbucket.d.ts +13 -0
- package/package.json +1 -1
|
@@ -68,8 +68,22 @@ export declare class Bitbucket extends Provider implements GitProvider {
|
|
|
68
68
|
};
|
|
69
69
|
}[];
|
|
70
70
|
}>;
|
|
71
|
-
|
|
71
|
+
getWorkspacesForUser(input: {
|
|
72
72
|
userId: string;
|
|
73
|
+
} & NumberedPageInput, options?: Options): Promise<{
|
|
74
|
+
pageInfo: {
|
|
75
|
+
hasNextPage: boolean;
|
|
76
|
+
nextPage: number | null;
|
|
77
|
+
};
|
|
78
|
+
data: {
|
|
79
|
+
id: string;
|
|
80
|
+
slug: string;
|
|
81
|
+
name: string;
|
|
82
|
+
}[];
|
|
83
|
+
}>;
|
|
84
|
+
getPullRequestsForUserAndWorkspace(input: {
|
|
85
|
+
userId: string;
|
|
86
|
+
workspaceSlug: string;
|
|
73
87
|
} & NumberedPageInput, options?: Options): Promise<{
|
|
74
88
|
pageInfo: {
|
|
75
89
|
hasNextPage: boolean;
|
|
@@ -178,4 +178,17 @@ export interface BitbucketPullRequest {
|
|
|
178
178
|
merge_commit: CommitStub | null;
|
|
179
179
|
closed_by: UserStub | null;
|
|
180
180
|
}
|
|
181
|
+
export interface BitbucketWorkspace {
|
|
182
|
+
type: 'workspace_membership';
|
|
183
|
+
permission: string;
|
|
184
|
+
last_accessed: string;
|
|
185
|
+
added_on: string;
|
|
186
|
+
user: UserStub;
|
|
187
|
+
workspace: {
|
|
188
|
+
type: 'workspace';
|
|
189
|
+
uuid: string;
|
|
190
|
+
name: string;
|
|
191
|
+
slug: string;
|
|
192
|
+
};
|
|
193
|
+
}
|
|
181
194
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitkraken/provider-apis",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.1",
|
|
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",
|