X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Fmodels%2FCommonModel.ts;h=abf0cb62f5ab9957c3b6a8426b451108291f483c;hb=1b17c432991a95035a1732426f0c11db57e511c9;hp=eb2bec3d62924ded7ebc1e627fb87384b90f46a3;hpb=a9816553feb848341a8c3214861d5479c3688578;p=osm%2FNG-UI.git diff --git a/src/models/CommonModel.ts b/src/models/CommonModel.ts index eb2bec3..abf0cb6 100644 --- a/src/models/CommonModel.ts +++ b/src/models/CommonModel.ts @@ -23,7 +23,7 @@ import { VNFD } from 'VNFDModel'; /** * @file Model for Commonly used information. */ -// tslint:disable: completed-docs +/* eslint-disable */ /** * handle count @enum */ @@ -71,7 +71,13 @@ export enum CONFIGCONSTANT { sdnOperationalStateThirdStep = 'ERROR', k8OperationalStateFirstStep = 'PROCESSING', k8OperationalStateStateSecondStep = 'ENABLED', - k8OperationalStateThirdStep = 'ERROR' + k8OperationalStateThirdStep = 'ERROR', + done = 'done', + close = 'close', + userActive = 'active', + userLocked = 'locked', + userExpired = 'expired', + userAlwaysActive = 'always-active' } /** Interface for Post options */ export interface POSTAPIRESOURCE { @@ -196,7 +202,6 @@ export interface BREADCRUMBITEM { } /** 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 */ @@ -206,7 +211,8 @@ export const VIM_TYPES: TYPESECTION[] = [ { value: 'vmware', title: 'VMware vCD' }, { value: 'openvim', title: 'OpenVIM' }, { value: 'opennebula', title: 'OpenNebula' }, - { value: 'azure', title: 'Azure' } + { value: 'azure', title: 'Azure' }, + { value: 'dummy', title: 'Dummy' } ]; /** Constants of the SDN Types */ export const SDN_TYPES: TYPESECTION[] = [ @@ -340,3 +346,9 @@ export interface LABELVALUE { label: string; value: string; } +/** Interface for Login */ +export interface UNLOCKPARAMS { + system_admin_id?: string; + unlock?: boolean; + renew?: boolean; +}