aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-11-29 14:27:13 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2017-12-14 17:03:35 +0100
commitab2a5de55004f8ac50a99fae9840da26ce125088 (patch)
tree2c028a982112d1a5e854ca38b676e27a419c663c /server/sonar-web/src/main/js/app
parentfa6663db4630550b3c27c71bb62fea4c4b9c262c (diff)
downloadsonarqube-ab2a5de55004f8ac50a99fae9840da26ce125088.tar.gz
sonarqube-ab2a5de55004f8ac50a99fae9840da26ce125088.zip
Rewrite part of the permissions app to Typescript
Diffstat (limited to 'server/sonar-web/src/main/js/app')
-rw-r--r--server/sonar-web/src/main/js/app/types.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/app/types.ts b/server/sonar-web/src/main/js/app/types.ts
index f18764601e4..a180856c47a 100644
--- a/server/sonar-web/src/main/js/app/types.ts
+++ b/server/sonar-web/src/main/js/app/types.ts
@@ -108,7 +108,7 @@ export interface Metric {
}
export interface Organization {
- adminPages?: Array<{ key: string; name: string }>;
+ adminPages?: { key: string; name: string }[];
avatar?: string;
canAdmin?: boolean;
canDelete?: boolean;
@@ -118,8 +118,8 @@ export interface Organization {
isDefault?: boolean;
key: string;
name: string;
- pages?: Array<{ key: string; name: string }>;
- projectVisibility: string;
+ pages?: { key: string; name: string }[];
+ projectVisibility: Visibility;
url?: string;
}