Skip to content

Commit

Permalink
Release 11.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Oct 4, 2022
1 parent a1d15db commit 342b81f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "danger",
"version": "11.1.3",
"version": "11.1.4",
"description": "Unit tests for Team Culture",
"main": "distribution/danger.js",
"typings": "distribution/danger.d.ts",
Expand Down
4 changes: 4 additions & 0 deletions source/danger-incoming-process-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -135959,6 +135959,10 @@
"description": "The number of deleted lines in the PR",
"type": "number"
},
"draft": {
"description": "Is in draft state?",
"type": "boolean"
},
"head": {
"$ref": "#/definitions/GitHubMergeRef",
"description": "Merge reference for the _other_ repo."
Expand Down
19 changes: 6 additions & 13 deletions source/danger.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1228,6 +1228,11 @@ interface GitHubPRDSL {
*/
assignees: GitHubUser[]

/**
* Is in draft state?
*/
draft: boolean

/**
* Has the PR been merged yet?
*/
Expand Down Expand Up @@ -1453,6 +1458,7 @@ interface GitHubReviewers {
/** Teams that have been requested */
teams: any[]
}

// TODO: extract out from BitBucket specifically, or create our own type

// getPlatformReviewDSLRepresentation
Expand Down Expand Up @@ -1698,19 +1704,6 @@ interface GitLabMRCommit {
committed_date: string
}

interface GitLabRepositoryFile {
file_name: string
file_path: string
size: number
encoding: "base64"
content: string
content_sha256: string
ref: string
blob_id: string
commit_id: string
last_commit_id: string
}

interface GitLabCommit {
id: string
short_id: string
Expand Down

0 comments on commit 342b81f

Please sign in to comment.