gunsmith-common 2.2.16 → 2.2.17

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.
@@ -591,6 +591,9 @@ class FirearmService {
591
591
  readFirearmMaterial(firearmId) {
592
592
  return this.http.get(`${this.url}/${firearmId}/material`);
593
593
  }
594
+ readFirearmCosmetics(firearmId) {
595
+ return this.http.get(`${this.url}/${firearmId}/cosmetics`);
596
+ }
594
597
  }
595
598
  FirearmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FirearmService, deps: [{ token: i1.HttpClient }, { token: 'env' }], target: i0.ɵɵFactoryTarget.Injectable });
596
599
  FirearmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FirearmService, providedIn: 'root' });
@@ -1312,15 +1315,6 @@ class MillingTypeService {
1312
1315
  params: params
1313
1316
  });
1314
1317
  }
1315
- readCosmeticMillings(includeInactive = false) {
1316
- const params = {};
1317
- if (includeInactive) {
1318
- params['includeInactive'] = includeInactive.toString();
1319
- }
1320
- return this.http.get(`${this.url}/cosmetics`, {
1321
- params: params
1322
- });
1323
- }
1324
1318
  readMillingType(id) {
1325
1319
  return this.http.get(`${this.url}/${id}`);
1326
1320
  }