gunsmith-common 2.1.29 → 2.1.31
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/inventory.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/inventory.service.d.ts +1 -0
- package/shared/types/inventory-item.d.ts +1 -0
|
@@ -1485,6 +1485,9 @@ class InventoryService {
|
|
|
1485
1485
|
}
|
|
1486
1486
|
return this.http.get(this.url, { params: params });
|
|
1487
1487
|
}
|
|
1488
|
+
updateInventoryItem(id, item) {
|
|
1489
|
+
return this.http.put(`${this.url}/${id}`, item);
|
|
1490
|
+
}
|
|
1488
1491
|
}
|
|
1489
1492
|
InventoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: InventoryService, deps: [{ token: i1.HttpClient }, { token: 'env' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1490
1493
|
InventoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: InventoryService, providedIn: 'root' });
|