diff options
author | 2020-02-28 13:39:08 +0000 | |
---|---|---|
committer | 2020-02-28 13:39:08 +0000 | |
commit | 6567f41b63f14a2c81577af7a89b86c0306c61f6 (patch) | |
tree | c59189f48703e6e3093ae1c69f93f898a8e08aaf /cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/package.store.ts | |
parent | d20383f0b00a363b0193e162ac297dd731088ca2 (diff) | |
parent | 0dda490e7e26860a33170829ce561dd1d2979ecb (diff) |
Merge "add basic download for current viewed package"
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/package.store.ts')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/package.store.ts | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/package.store.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/package.store.ts deleted file mode 100644 index 49de59e62..000000000 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/package.store.ts +++ /dev/null @@ -1,49 +0,0 @@ -/* -============LICENSE_START========================================== -=================================================================== -Copyright (C) 2019 Orange. All rights reserved. -=================================================================== - -Unless otherwise specified, all software contained herein is licensed -under the Apache License, Version 2.0 (the License); -you may not use this software except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -============LICENSE_END============================================ -*/ - -import {Injectable} from '@angular/core'; -import {Store} from '../../../../common/core/stores/Store'; -import {ConfigurationDashboardService} from './configuration-dashboard.service'; -import {PackageDashboardState} from '../model/package-dashboard.state'; -import {BlueprintURLs} from '../../../../common/constants/app-constants'; -import * as JSZip from 'jszip'; - -@Injectable({ - providedIn: 'root' -}) -export class PackageStore extends Store<PackageDashboardState> { - - private zipFile: JSZip = new JSZip(); - - constructor(private configurationDashboardService: ConfigurationDashboardService) { - super(new PackageDashboardState()); - } - - /* getPagedPackages(id: string) { - return this.configurationDashboardService.getBluePrintModel(id); - } - - public downloadResource(path: string) { - return this.configurationDashboardService.downloadResource(BlueprintURLs.download + path); - }*/ - - -} |