diff options
author | Viktor Vorona <viktor.vorona@sonarsource.com> | 2024-04-25 14:27:33 +0200 |
---|---|---|
committer | Matteo Mara <matteo.mara@sonarsource.com> | 2024-04-30 10:59:04 +0200 |
commit | 0a731b7621e835a8aef15055a717b95b8203a3e2 (patch) | |
tree | 7d49958efbbef56f0063226c42ebe6e9e06d2df3 /server/sonar-web/src/main/js/queries | |
parent | da21bb7e20058ad4c2dfabbb9ed84230e0998cd7 (diff) | |
download | sonarqube-0a731b7621e835a8aef15055a717b95b8203a3e2.tar.gz sonarqube-0a731b7621e835a8aef15055a717b95b8203a3e2.zip |
SONAR-22049 Align BranchParameters
Diffstat (limited to 'server/sonar-web/src/main/js/queries')
-rw-r--r-- | server/sonar-web/src/main/js/queries/component.ts | 2 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/queries/measures.ts | 2 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/queries/project-analyses.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/queries/component.ts b/server/sonar-web/src/main/js/queries/component.ts index 96a861413d1..3a45dbda571 100644 --- a/server/sonar-web/src/main/js/queries/component.ts +++ b/server/sonar-web/src/main/js/queries/component.ts @@ -18,9 +18,9 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import { UseQueryResult, useQuery } from '@tanstack/react-query'; +import { BranchParameters } from '~sonar-aligned/types/branch-like'; import { getTasksForComponent } from '../api/ce'; import { getMeasuresWithMetrics } from '../api/measures'; -import { BranchParameters } from '../types/branch-like'; import { MeasuresAndMetaWithMetrics } from '../types/measures'; import { Component } from '../types/types'; diff --git a/server/sonar-web/src/main/js/queries/measures.ts b/server/sonar-web/src/main/js/queries/measures.ts index 60aa82a40c4..e34ff3be2a5 100644 --- a/server/sonar-web/src/main/js/queries/measures.ts +++ b/server/sonar-web/src/main/js/queries/measures.ts @@ -19,8 +19,8 @@ */ import { useQuery } from '@tanstack/react-query'; +import { BranchParameters } from '~sonar-aligned/types/branch-like'; import { getAllTimeMachineData } from '../api/time-machine'; -import { BranchParameters } from '../types/branch-like'; export function useAllMeasuresHistoryQuery( component: string | undefined, diff --git a/server/sonar-web/src/main/js/queries/project-analyses.ts b/server/sonar-web/src/main/js/queries/project-analyses.ts index 75615849dfc..02186c97420 100644 --- a/server/sonar-web/src/main/js/queries/project-analyses.ts +++ b/server/sonar-web/src/main/js/queries/project-analyses.ts @@ -20,6 +20,7 @@ import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query'; import { getBranchLikeQuery } from '~sonar-aligned/helpers/branch-like'; +import { BranchParameters } from '~sonar-aligned/types/branch-like'; import { CreateEventResponse, ProjectActivityStatuses, @@ -35,7 +36,6 @@ import { } from '../app/components/componentContext/withComponentContext'; import { parseDate } from '../helpers/dates'; import { serializeStringArray } from '../helpers/query'; -import { BranchParameters } from '../types/branch-like'; import { ParsedAnalysis } from '../types/project-activity'; import { useBranchesQuery } from './branch'; |