diff options
author | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2021-02-12 09:08:47 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-02-12 20:07:13 +0000 |
commit | f140f289d930ee9db8c00230b45fbb9de0fdde65 (patch) | |
tree | 91320c1c22a8f58ae8a1ca8c12a4d62385cbca34 | |
parent | 3ec7fe7bfb070143fee123fa242279454251f709 (diff) | |
download | sonarqube-f140f289d930ee9db8c00230b45fbb9de0fdde65.tar.gz sonarqube-f140f289d930ee9db8c00230b45fbb9de0fdde65.zip |
SONAR-13848 Remove deprecated API parameters
3 files changed, 0 insertions, 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<any> { } 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; |