gunsmith-common 2.1.28 → 2.1.30
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/esm2020/shared/services/work-order.service.mjs +4 -1
- package/esm2020/shared/types/inventory-item.mjs +1 -1
- package/fesm2015/gunsmith-common.mjs +3 -0
- package/fesm2015/gunsmith-common.mjs.map +1 -1
- package/fesm2020/gunsmith-common.mjs +3 -0
- package/fesm2020/gunsmith-common.mjs.map +1 -1
- package/package.json +1 -1
- package/shared/services/work-order.service.d.ts +1 -0
- package/shared/types/inventory-item.d.ts +1 -0
|
@@ -826,6 +826,9 @@ class WorkOrderService {
|
|
|
826
826
|
updateMillingItem(workOrderId, millingItemId, millingItem) {
|
|
827
827
|
return this.http.put(`${this.url}/${workOrderId}/milling-items/${millingItemId}`, millingItem);
|
|
828
828
|
}
|
|
829
|
+
updateMillingItemCollection(workOrderId, itemIds, millingItems) {
|
|
830
|
+
return this.http.put(`${this.url}/${workOrderId}/milling-items/collection/${itemIds.join(',')}`, millingItems);
|
|
831
|
+
}
|
|
829
832
|
deleteMillingItem(workOrderId, millingItemId) {
|
|
830
833
|
return this.http.delete(`${this.url}/${workOrderId}/milling-items/${millingItemId}`);
|
|
831
834
|
}
|