diff options
author | Jeremy Davis <jeremy.davis@sonarsource.com> | 2020-12-14 14:57:33 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-12-22 20:09:36 +0000 |
commit | 4d95e4f93fc695ef1eb492e0d823b1d76abb31e8 (patch) | |
tree | 0c093ca502437508d39646bf14f3503223fb4285 /server/sonar-web/src/main/js/apps/issues/utils.ts | |
parent | 9dc6361a06ccec4f33c6ac4691cb7739a83defb3 (diff) | |
download | sonarqube-4d95e4f93fc695ef1eb492e0d823b1d76abb31e8.tar.gz sonarqube-4d95e4f93fc695ef1eb492e0d823b1d76abb31e8.zip |
SONAR-13999 Remove orgs from issues
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues/utils.ts')
-rw-r--r-- | server/sonar-web/src/main/js/apps/issues/utils.ts | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/utils.ts b/server/sonar-web/src/main/js/apps/issues/utils.ts index a75278626fe..0e112d06186 100644 --- a/server/sonar-web/src/main/js/apps/issues/utils.ts +++ b/server/sonar-web/src/main/js/apps/issues/utils.ts @@ -32,6 +32,7 @@ import { import { scrollToElement } from 'sonar-ui-common/helpers/scrolling'; import { get, save } from 'sonar-ui-common/helpers/storage'; import { searchUsers } from '../../api/users'; +import { Facet, RawFacet } from '../../types/issues'; import { SecurityStandard, StandardType } from '../../types/security'; export interface Query { @@ -150,15 +151,6 @@ export function serializeQuery(query: Query): T.RawQuery { export const areQueriesEqual = (a: T.RawQuery, b: T.RawQuery) => queriesEqual(parseQuery(a), parseQuery(b)); -export interface RawFacet { - property: string; - values: Array<{ val: string; count: number }>; -} - -export interface Facet { - [value: string]: number; -} - export function mapFacet(facet: string) { const propertyMapping: T.Dict<string> = { modules: 'moduleUuids' @@ -192,23 +184,6 @@ export function formatFacetStat(stat: number | undefined) { return stat && formatMeasure(stat, 'SHORT_INT'); } -export interface ReferencedComponent { - key: string; - name: string; - organization: string; - path?: string; - uuid: string; -} - -export interface ReferencedLanguage { - name: string; -} - -export interface ReferencedRule { - langName?: string; - name: string; -} - export const searchAssignees = ( query: string, page = 1 |