sk-front-lib 0.17.1 → 0.17.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/crud/sk-product.service.d.ts +1 -0
- package/esm2020/crud/sk-product.service.mjs +6 -3
- package/fesm2015/sk-front-lib-crud.mjs +5 -2
- package/fesm2015/sk-front-lib-crud.mjs.map +1 -1
- package/fesm2020/sk-front-lib-crud.mjs +5 -2
- package/fesm2020/sk-front-lib-crud.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -597,11 +597,14 @@ class SkProductService {
|
|
|
597
597
|
deleteAdminSeries(id) {
|
|
598
598
|
return this._apiService.delete(`/api/admin/product-series/${id}`).pipe(map(response => response.data));
|
|
599
599
|
}
|
|
600
|
+
getAdminPublish(productId) {
|
|
601
|
+
return this._apiService.get(`/api/admin/product/${productId}/publish`).pipe(map(response => response.data));
|
|
602
|
+
}
|
|
600
603
|
createAdminPublish(productId, data) {
|
|
601
|
-
return this._apiService.post(`/api/admin/${productId}/publish`, data).pipe(map(response => response.data));
|
|
604
|
+
return this._apiService.post(`/api/admin/product/${productId}/publish`, data).pipe(map(response => response.data));
|
|
602
605
|
}
|
|
603
606
|
updateAdminPublish(productId, data) {
|
|
604
|
-
return this._apiService.put(`/api/admin/${productId}/publish`, data).pipe(map(response => response.data));
|
|
607
|
+
return this._apiService.put(`/api/admin/product/${productId}/publish`, data).pipe(map(response => response.data));
|
|
605
608
|
}
|
|
606
609
|
}
|
|
607
610
|
SkProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: SkProductService, deps: [{ token: i1.SkApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|