aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/sonar-aligned
diff options
context:
space:
mode:
authorViktor Vorona <viktor.vorona@sonarsource.com>2024-04-25 15:32:10 +0200
committerMatteo Mara <matteo.mara@sonarsource.com>2024-04-30 10:59:04 +0200
commitdade4edf434e12c90e9c39b114047540b5d352b6 (patch)
tree73d8b018ac2d64310d4bcbebee89dcdf8a3ccb9c /server/sonar-web/src/main/js/sonar-aligned
parent0a731b7621e835a8aef15055a717b95b8203a3e2 (diff)
downloadsonarqube-dade4edf434e12c90e9c39b114047540b5d352b6.tar.gz
sonarqube-dade4edf434e12c90e9c39b114047540b5d352b6.zip
SONAR-22049 Align ComponentQualifier
Diffstat (limited to 'server/sonar-web/src/main/js/sonar-aligned')
-rw-r--r--server/sonar-web/src/main/js/sonar-aligned/types/component.ts31
1 files changed, 31 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/sonar-aligned/types/component.ts b/server/sonar-web/src/main/js/sonar-aligned/types/component.ts
new file mode 100644
index 00000000000..347769b5b9f
--- /dev/null
+++ b/server/sonar-web/src/main/js/sonar-aligned/types/component.ts
@@ -0,0 +1,31 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2024 SonarSource SA
+ * mailto:info AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+export enum ComponentQualifier {
+ Application = 'APP',
+ Directory = 'DIR',
+ Developer = 'DEV',
+ File = 'FIL',
+ Portfolio = 'VW',
+ Project = 'TRK',
+ SubPortfolio = 'SVW',
+ SubProject = 'BRC',
+ TestFile = 'UTS',
+}