From f140f289d930ee9db8c00230b45fbb9de0fdde65 Mon Sep 17 00:00:00 2001 From: Wouter Admiraal Date: Fri, 12 Feb 2021 09:08:47 +0100 Subject: [PATCH] SONAR-13848 Remove deprecated API parameters --- server/sonar-web/src/main/js/api/quality-profiles.ts | 1 - .../__tests__/ProjectQualityProfilesApp-test.tsx | 2 -- server/sonar-web/src/main/js/types/tasks.ts | 1 - 3 files changed, 4 deletions(-) diff --git a/server/sonar-web/src/main/js/api/quality-profiles.ts b/server/sonar-web/src/main/js/api/quality-profiles.ts index b64d4fd6bdf..f9e6698e43d 100644 --- a/server/sonar-web/src/main/js/api/quality-profiles.ts +++ b/server/sonar-web/src/main/js/api/quality-profiles.ts @@ -91,7 +91,6 @@ export function restoreQualityProfile(data: RequestData): Promise { } export interface ProfileProject { - id: number; key: string; name: string; selected: boolean; diff --git a/server/sonar-web/src/main/js/apps/projectQualityProfiles/__tests__/ProjectQualityProfilesApp-test.tsx b/server/sonar-web/src/main/js/apps/projectQualityProfiles/__tests__/ProjectQualityProfilesApp-test.tsx index 28a0f5caa9f..815c1a97a54 100644 --- a/server/sonar-web/src/main/js/apps/projectQualityProfiles/__tests__/ProjectQualityProfilesApp-test.tsx +++ b/server/sonar-web/src/main/js/apps/projectQualityProfiles/__tests__/ProjectQualityProfilesApp-test.tsx @@ -55,14 +55,12 @@ jest.mock('../../../api/quality-profiles', () => { const results: ProfileProject[] = []; if (key === 'js' || key === 'css' || key === 'html_default') { results.push({ - id: 1, key: 'foo', name: 'Foo', selected: true }); } else if (key === 'html') { results.push({ - id: 2, key: 'foobar', name: 'FooBar', selected: true diff --git a/server/sonar-web/src/main/js/types/tasks.ts b/server/sonar-web/src/main/js/types/tasks.ts index 42aec18f46d..954918c2247 100644 --- a/server/sonar-web/src/main/js/types/tasks.ts +++ b/server/sonar-web/src/main/js/types/tasks.ts @@ -44,7 +44,6 @@ export interface Task { hasErrorStacktrace?: boolean; hasScannerContext?: boolean; id: string; - logs?: boolean; pullRequest?: string; pullRequestTitle?: string; scannerContext?: string; -- 2.39.5