diff options
author | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2019-02-19 11:06:47 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-03-11 20:21:04 +0100 |
commit | f418f9fe051829462ca90422d2e8d3f83ccb5098 (patch) | |
tree | aec782e7d9cf1eae01dcf688b93f05a0ee3780db /server/sonar-web/src/main/js | |
parent | e0a4e3ba8a686e2ecfe8824b8aa6d40d50fd1cc7 (diff) | |
download | sonarqube-f418f9fe051829462ca90422d2e8d3f83ccb5098.tar.gz sonarqube-f418f9fe051829462ca90422d2e8d3f83ccb5098.zip |
SONAR-11704 Update Bitbucket Cloud widgets
Diffstat (limited to 'server/sonar-web/src/main/js')
-rw-r--r-- | server/sonar-web/src/main/js/app/types.d.ts | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/server/sonar-web/src/main/js/app/types.d.ts b/server/sonar-web/src/main/js/app/types.d.ts index c0df280656a..2d4f5518f90 100644 --- a/server/sonar-web/src/main/js/app/types.d.ts +++ b/server/sonar-web/src/main/js/app/types.d.ts @@ -639,16 +639,18 @@ declare namespace T { name: string; } + export interface QualityGateProjectStatusCondition { + status: 'ERROR' | 'OK'; + metricKey: string; + comparator: string; + periodIndex: number; + errorThreshold: string; + actualValue: string; + } + export interface QualityGateProjectStatus { projectStatus: { - conditions?: Array<{ - status: 'ERROR' | 'OK'; - metricKey: string; - comparator: string; - periodIndex: number; - errorThreshold: string; - actualValue: string; - }>; + conditions?: QualityGateProjectStatusCondition[]; ignoredConditions: boolean; status: string; }; |