import { ApiService } from '../../../../common/core/services/api.typed.service';
import { ResourceDictionaryURLs, BlueprintURLs } from '../../../../common/constants/app-constants';
import { ModelType } from './model/ModelType.model';
-import { BlueprintDetailModel } from '../model/Blueprint.detail.model';
+import { BluePrintDetailModel } from '../model/BluePrint.detail.model';
@Injectable({
constructor(
private api: ApiService<ModelType>,
- private api2: ApiService<BlueprintDetailModel>
+ private api2: ApiService<BluePrintDetailModel>
) {
}
return this.api.get(ResourceDictionaryURLs.getResourceDictionary + '/' + modelDefinitionType);
}
- private getBlueprintModel(id: string): Observable<BlueprintDetailModel> {
+ private getBluePrintModel(id: string): Observable<BluePrintDetailModel> {
return this.api2.getOne(BlueprintURLs.getOneBlueprint + '/' + id);
}
getPagedPackages(id: string) {
- return this.getBlueprintModel(id);
+ return this.getBluePrintModel(id);
}
publishBlueprint(body: any | null, options?: any): Observable<any> {