aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/account
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-08-21 09:23:52 +0200
committerStas Vilchik <stas.vilchik@sonarsource.com>2017-08-21 10:29:05 +0200
commite4a2b37268212b232c7aea22445a5bbbf0acd050 (patch)
tree81fb4aae7716d1403f740993b1ed4e4eec3f5fd7 /server/sonar-web/src/main/js/apps/account
parentb6f7557b705bee15f1b86d325b58dbc539a22245 (diff)
downloadsonarqube-e4a2b37268212b232c7aea22445a5bbbf0acd050.tar.gz
sonarqube-e4a2b37268212b232c7aea22445a5bbbf0acd050.zip
remove I prefix from interfaces
Diffstat (limited to 'server/sonar-web/src/main/js/apps/account')
-rw-r--r--server/sonar-web/src/main/js/apps/account/projects/ProjectCard.tsx4
-rw-r--r--server/sonar-web/src/main/js/apps/account/projects/Projects.tsx4
-rw-r--r--server/sonar-web/src/main/js/apps/account/projects/types.ts2
3 files changed, 5 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/apps/account/projects/ProjectCard.tsx b/server/sonar-web/src/main/js/apps/account/projects/ProjectCard.tsx
index 93a3a787715..b81b2cf256f 100644
--- a/server/sonar-web/src/main/js/apps/account/projects/ProjectCard.tsx
+++ b/server/sonar-web/src/main/js/apps/account/projects/ProjectCard.tsx
@@ -21,12 +21,12 @@ import * as React from 'react';
import * as moment from 'moment';
import { sortBy } from 'lodash';
import { Link } from 'react-router';
-import { IProject } from './types';
+import { Project } from './types';
import Level from '../../../components/ui/Level';
import { translateWithParameters, translate } from '../../../helpers/l10n';
interface Props {
- project: IProject;
+ project: Project;
}
export default function ProjectCard(props: Props) {
diff --git a/server/sonar-web/src/main/js/apps/account/projects/Projects.tsx b/server/sonar-web/src/main/js/apps/account/projects/Projects.tsx
index e3681c3465d..1b574e3d09d 100644
--- a/server/sonar-web/src/main/js/apps/account/projects/Projects.tsx
+++ b/server/sonar-web/src/main/js/apps/account/projects/Projects.tsx
@@ -19,14 +19,14 @@
*/
import * as React from 'react';
import ProjectCard from './ProjectCard';
-import { IProject } from './types';
+import { Project } from './types';
import ListFooter from '../../../components/controls/ListFooter';
import { translate } from '../../../helpers/l10n';
interface Props {
loading: boolean;
loadMore: () => void;
- projects: IProject[];
+ projects: Project[];
search: (query: string) => void;
total?: number;
}
diff --git a/server/sonar-web/src/main/js/apps/account/projects/types.ts b/server/sonar-web/src/main/js/apps/account/projects/types.ts
index 76feb045c64..7d78a718e2e 100644
--- a/server/sonar-web/src/main/js/apps/account/projects/types.ts
+++ b/server/sonar-web/src/main/js/apps/account/projects/types.ts
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-export interface IProject {
+export interface Project {
id: string;
key: string;
name: string;