Fix Bug 2121: NG-UI uses unmaintained Chokidar version
- Upgraded Angular from 11 to 14 version to remove chokidar
unmaintained version.
- Changed linting tool tslint to eslint for angular 14 as tslint
is depreacted after angular 12
- Resolved linting issues from code
Change-Id: I00e908ab651db0f080e0d18a9d1c9711f4e36b91
Signed-off-by: SANDHYA.JS <sandhya.j@tataelxsi.co.in>
diff --git a/src/models/CommonModel.ts b/src/models/CommonModel.ts
index a33e6f3..ed35029 100644
--- a/src/models/CommonModel.ts
+++ b/src/models/CommonModel.ts
@@ -23,7 +23,7 @@
/**
* @file Model for Commonly used information.
*/
-// tslint:disable: completed-docs
+/* eslint-disable */
/**
* handle count @enum
*/
@@ -198,7 +198,6 @@
}
/** Interface For the Pagination pager in ng-smarttable */
export interface SMARTTABLECLASS {
- // tslint:disable-next-line: no-reserved-keywords
class: string;
}
/** Constants of the VIM Types */
diff --git a/src/models/NSDModel.ts b/src/models/NSDModel.ts
index 48e7387..f8b3d9d 100644
--- a/src/models/NSDModel.ts
+++ b/src/models/NSDModel.ts
@@ -18,7 +18,6 @@
/**
* @file Model for NSD related information.
*/
-// tslint:disable: completed-docs
import { VNFDAdminDetails } from './VNFDModel';
/** Interface for NSData */
diff --git a/src/models/NSInstanceModel.ts b/src/models/NSInstanceModel.ts
index 66294cf..12ce977 100644
--- a/src/models/NSInstanceModel.ts
+++ b/src/models/NSInstanceModel.ts
@@ -18,7 +18,7 @@
/**
* @file Model for NS Instance related information.
*/
-// tslint:disable: completed-docs
+/* eslint-disable */
import { DF, VLD } from 'NSDModel';
import { VNFDAdminDetails } from 'VNFDModel';
@@ -67,7 +67,6 @@
}
/** Interface for _Admin */
-// tslint:disable-next-line:class-name
interface _Admin {
'projects_write': string[];
deployed: DeployedAdmin;
@@ -114,7 +113,6 @@
}
/** Interface for _AdminDetails */
-// tslint:disable-next-line:class-name
export interface _AdminDetails {
usageState: string;
projects_write: string[];
diff --git a/src/models/NetworkSliceModel.ts b/src/models/NetworkSliceModel.ts
index eda0b92..baa79be 100644
--- a/src/models/NetworkSliceModel.ts
+++ b/src/models/NetworkSliceModel.ts
@@ -76,7 +76,6 @@
id: string;
'nss-connection-point-ref': NssConnectionPointRef[];
'mgmt-network': boolean;
- // tslint:disable-next-line:no-reserved-keywords
type: string;
}
diff --git a/src/models/OperationalModel.ts b/src/models/OperationalModel.ts
index 79f248e..14de20b 100644
--- a/src/models/OperationalModel.ts
+++ b/src/models/OperationalModel.ts
@@ -20,7 +20,6 @@
* @file Model for Operational view JUJU information.
*/
-// tslint:disable: completed-docs
/** Interface for the VCASTATUS */
export interface VCASTATUS {
diff --git a/src/models/VNFDModel.ts b/src/models/VNFDModel.ts
index 339dd02..6eafe39 100644
--- a/src/models/VNFDModel.ts
+++ b/src/models/VNFDModel.ts
@@ -18,7 +18,6 @@
/**
* @file Model for VNFD related information.
*/
-// tslint:disable: completed-docs
/** Interface for Project */
export interface ProjectModel {
project_id: string;
diff --git a/src/models/VimAccountModel.ts b/src/models/VimAccountModel.ts
index 159b2c9..4337276 100644
--- a/src/models/VimAccountModel.ts
+++ b/src/models/VimAccountModel.ts
@@ -18,7 +18,6 @@
/**
* @file Model for VimAccount Details related information.
*/
-// tslint:disable: completed-docs
import { NSInstanceDetails } from 'NSInstanceModel';
/** Interface for VimAccountDetails */
export interface VimAccountDetails {
@@ -146,8 +145,14 @@
export interface RESOURCESCHARTDATA {
title: string;
values: CHARTVALUES;
+ data: CHARTDATA[];
+}
+/** Interface common use for the Chart */
+export interface CHARTDATA {
data: number[];
- colorValues: Color[];
+ backgroundColor?: string[] | string;
+ hoverBackgroundColor?: string[] | string;
+ hoverBorderColor?: string[] | string;
}
/** Interface common use for the Chart */
export interface CHARTVALUES {