gunsmith-common 2.2.14 → 2.2.15
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/optic.service.mjs +4 -1
- package/esm2020/shared/types/index.mjs +2 -1
- package/esm2020/shared/types/milling-detail.mjs +2 -1
- package/esm2020/shared/types/milling-item.mjs +4 -1
- package/esm2020/shared/types/optic-report-item.mjs +2 -0
- package/esm2020/shared/types/optic.mjs +1 -1
- package/fesm2015/gunsmith-common.mjs +7 -0
- package/fesm2015/gunsmith-common.mjs.map +1 -1
- package/fesm2020/gunsmith-common.mjs +7 -0
- package/fesm2020/gunsmith-common.mjs.map +1 -1
- package/gunsmith-common-2.2.15.tgz +0 -0
- package/package.json +1 -1
- package/shared/services/optic.service.d.ts +2 -1
- package/shared/types/index.d.ts +1 -0
- package/shared/types/milling-detail.d.ts +1 -0
- package/shared/types/milling-item.d.ts +13 -1
- package/shared/types/optic-report-item.d.ts +11 -0
- package/shared/types/optic.d.ts +1 -0
- package/gunsmith-common-2.2.14.tgz +0 -0
|
@@ -302,6 +302,7 @@ class MillingDetail {
|
|
|
302
302
|
constructor() {
|
|
303
303
|
this.barrelCrown = false;
|
|
304
304
|
this.bushingInstallation = false;
|
|
305
|
+
this.opticPulled = false;
|
|
305
306
|
}
|
|
306
307
|
}
|
|
307
308
|
|
|
@@ -345,6 +346,9 @@ class MillingType {
|
|
|
345
346
|
}
|
|
346
347
|
|
|
347
348
|
class MillingItem {
|
|
349
|
+
constructor() {
|
|
350
|
+
this.opticPulled = false;
|
|
351
|
+
}
|
|
348
352
|
}
|
|
349
353
|
|
|
350
354
|
class WorkOrderRefinishItem {
|
|
@@ -1209,6 +1213,9 @@ class OpticService {
|
|
|
1209
1213
|
deleteOptic(opticId) {
|
|
1210
1214
|
return this.http.delete(`${this.url}/${opticId}`);
|
|
1211
1215
|
}
|
|
1216
|
+
readOpticReport() {
|
|
1217
|
+
return this.http.get(`${this.url}/report`);
|
|
1218
|
+
}
|
|
1212
1219
|
}
|
|
1213
1220
|
OpticService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpticService, deps: [{ token: i1.HttpClient }, { token: 'env' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1214
1221
|
OpticService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpticService, providedIn: 'root' });
|