@gitkraken/provider-apis 0.26.4 → 0.27.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 +15 -0
- package/dist/index.js +17 -12
- package/dist/index.provider-utils.js +1 -1
- package/dist/index.providers.js +31 -26
- package/dist/types/exportedTypes/gitProvider.d.ts +6 -1
- package/package.json +1 -1
|
@@ -69,6 +69,11 @@ export interface GitMilestone {
|
|
|
69
69
|
startDate: Date | null;
|
|
70
70
|
dueDate: Date | null;
|
|
71
71
|
}
|
|
72
|
+
export type GitRepositoryPermissions = {
|
|
73
|
+
canCreateWebhook: boolean | null;
|
|
74
|
+
canPush: boolean;
|
|
75
|
+
isAdmin: boolean;
|
|
76
|
+
};
|
|
72
77
|
export interface GitRepository {
|
|
73
78
|
id: string;
|
|
74
79
|
graphQLId?: string;
|
|
@@ -80,7 +85,7 @@ export interface GitRepository {
|
|
|
80
85
|
httpsUrl: string | null;
|
|
81
86
|
sshUrl: string | null;
|
|
82
87
|
defaultBranch: GitRef | null;
|
|
83
|
-
|
|
88
|
+
permissions: GitRepositoryPermissions | null;
|
|
84
89
|
}
|
|
85
90
|
export interface GitRef {
|
|
86
91
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitkraken/provider-apis",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.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",
|