@gitkraken/provider-apis 0.26.2 → 0.26.4
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,4 +1,4 @@
|
|
|
1
|
-
import { Account, CursorPageInput, EnterpriseOptions, GetRepoErrorData, GetRepoInput, GetReposInput, GitLabel, GitMergeStrategy, GitPullRequest, GitRepository, NumberedPageInput, SetAccountInput, SetLabelInput, SetMilestoneInput, SetPullRequestInput } from '../../types/exportedTypes/gitProvider';
|
|
1
|
+
import { Account, CursorPageInput, EnterpriseOptions, GetRepoErrorData, GetRepoInput, GetReposInput, GitLabel, GitMergeStrategy, GitPullRequest, GitRepository, GitTreeItem, NumberedPageInput, SetAccountInput, SetLabelInput, SetMilestoneInput, SetPullRequestInput } from '../../types/exportedTypes/gitProvider';
|
|
2
2
|
import { GitLabGetIssueInput, PullRequestAssociation } from '../../types/exportedTypes/gitlab';
|
|
3
3
|
import { Issue, SetIssueInput } from '../../types/exportedTypes/issueProvider';
|
|
4
4
|
import { GitProvider } from '../gitProvider';
|
|
@@ -295,4 +295,14 @@ export declare class GitLab extends EnterpriseProvider implements GitProvider, I
|
|
|
295
295
|
};
|
|
296
296
|
data: GitLabel[];
|
|
297
297
|
}>;
|
|
298
|
+
getTreeForRepo(input: {
|
|
299
|
+
repo: GetRepoInput;
|
|
300
|
+
branch: string;
|
|
301
|
+
} & CursorPageInput, options?: EnterpriseOptions): Promise<{
|
|
302
|
+
data: GitTreeItem[];
|
|
303
|
+
pageInfo: {
|
|
304
|
+
endCursor: string | null;
|
|
305
|
+
hasNextPage: boolean;
|
|
306
|
+
};
|
|
307
|
+
}>;
|
|
298
308
|
}
|
|
@@ -52,3 +52,10 @@ export declare enum GitLabCiJobStatus {
|
|
|
52
52
|
WaitingForCallback = "WAITING_FOR_CALLBACK",
|
|
53
53
|
WaitingForResource = "WAITING_FOR_RESOURCE"
|
|
54
54
|
}
|
|
55
|
+
export interface RESTTreeItem {
|
|
56
|
+
id: string;
|
|
57
|
+
name: string;
|
|
58
|
+
type: string;
|
|
59
|
+
path: string;
|
|
60
|
+
mode: string;
|
|
61
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitkraken/provider-apis",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.4",
|
|
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",
|