51d0e9db182c22f2381da74b20d7ce1be3b683f1
[ccsdk/cds.git] /
1 import {Injectable} from '@angular/core';
2 import {ApiService} from '../../../../common/core/services/api.typed.service';
3 import {BlueprintURLs} from '../../../../common/constants/app-constants';
4 import {Observable} from 'rxjs';
5 import {BluePrintDetailModel} from '../model/BluePrint.detail.model';
6
7
8 @Injectable({
9     providedIn: 'root'
10 })
11 export class ConfigurationDashboardService {
12
13
14     constructor(private api: ApiService<BluePrintDetailModel>) {
15
16     }
17
18     getBluePrintModel(id: string): Observable<BluePrintDetailModel> {
19         return this.api.getOne(BlueprintURLs.getOneBlueprint + '/' + id);
20
21     }
22 }