From ac31d2159014a84de91b6c7baeb29adf90284c10 Mon Sep 17 00:00:00 2001 From: shaaban Altanany Date: Wed, 26 Feb 2020 10:05:02 +0200 Subject: add view feature and decompress zip file -decompress package zip file -getting content and file names Issue-ID: CCSDK-2120 Signed-off-by: shaaban Altanany Change-Id: If930b257a9dd7b8e094958aad006ff3769810cb3 --- .../src/app/common/core/services/api.typed.service.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'cds-ui/designer-client/src/app/common') diff --git a/cds-ui/designer-client/src/app/common/core/services/api.typed.service.ts b/cds-ui/designer-client/src/app/common/core/services/api.typed.service.ts index 9c9477f33..d4851ded5 100644 --- a/cds-ui/designer-client/src/app/common/core/services/api.typed.service.ts +++ b/cds-ui/designer-client/src/app/common/core/services/api.typed.service.ts @@ -22,9 +22,9 @@ limitations under the License. ============LICENSE_END============================================ */ -import { Injectable } from '@angular/core'; -import { HttpClient, HttpHeaders, HttpResponse, HttpHeaderResponse, HttpParams } from '@angular/common/http'; -import { Observable, of } from 'rxjs'; +import {Injectable} from '@angular/core'; +import {HttpClient, HttpParams} from '@angular/common/http'; +import {Observable} from 'rxjs'; @Injectable() export class ApiService { @@ -60,4 +60,8 @@ export class ApiService { const options = {params: httpParams}; return this.httpClient.get(url, options); } + + getCustomized(url: string, params?: any): Observable { + return this.httpClient.get(url, params); + } } -- cgit 1.2.3-korg