Skip to content

Commit 342b81f

Browse files
committed
Release 11.1.4
1 parent a1d15db commit 342b81f

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "danger",
3-
"version": "11.1.3",
3+
"version": "11.1.4",
44
"description": "Unit tests for Team Culture",
55
"main": "distribution/danger.js",
66
"typings": "distribution/danger.d.ts",

source/danger-incoming-process-schema.json

+4
Original file line numberDiff line numberDiff line change
@@ -135959,6 +135959,10 @@
135959135959
"description": "The number of deleted lines in the PR",
135960135960
"type": "number"
135961135961
},
135962+
"draft": {
135963+
"description": "Is in draft state?",
135964+
"type": "boolean"
135965+
},
135962135966
"head": {
135963135967
"$ref": "#/definitions/GitHubMergeRef",
135964135968
"description": "Merge reference for the _other_ repo."

source/danger.d.ts

+6-13
Original file line numberDiff line numberDiff line change
@@ -1228,6 +1228,11 @@ interface GitHubPRDSL {
12281228
*/
12291229
assignees: GitHubUser[]
12301230

1231+
/**
1232+
* Is in draft state?
1233+
*/
1234+
draft: boolean
1235+
12311236
/**
12321237
* Has the PR been merged yet?
12331238
*/
@@ -1453,6 +1458,7 @@ interface GitHubReviewers {
14531458
/** Teams that have been requested */
14541459
teams: any[]
14551460
}
1461+
14561462
// TODO: extract out from BitBucket specifically, or create our own type
14571463

14581464
// getPlatformReviewDSLRepresentation
@@ -1698,19 +1704,6 @@ interface GitLabMRCommit {
16981704
committed_date: string
16991705
}
17001706

1701-
interface GitLabRepositoryFile {
1702-
file_name: string
1703-
file_path: string
1704-
size: number
1705-
encoding: "base64"
1706-
content: string
1707-
content_sha256: string
1708-
ref: string
1709-
blob_id: string
1710-
commit_id: string
1711-
last_commit_id: string
1712-
}
1713-
17141707
interface GitLabCommit {
17151708
id: string
17161709
short_id: string

0 commit comments

Comments
 (0)