gunsmith-common 2.3.5 → 2.3.6

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.
@@ -1780,6 +1780,9 @@ class FirearmOpticService extends BaseService {
1780
1780
  this.env = env;
1781
1781
  this.urlSegments = [`${this.env.baseUrl}api/firearms`, "optics"];
1782
1782
  }
1783
+ createCollection(firearmOptics, firearmId) {
1784
+ return this.http.post(`${this.env.baseUrl}api/firearms/${firearmId}/optics/collection`, firearmOptics);
1785
+ }
1783
1786
  }
1784
1787
  FirearmOpticService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FirearmOpticService, deps: [{ token: i1.HttpClient }, { token: "env" }], target: i0.ɵɵFactoryTarget.Injectable });
1785
1788
  FirearmOpticService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FirearmOpticService, providedIn: "root" });