gunsmith-common 2.2.14 → 2.2.16
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/inventory-item.mjs +3 -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 +9 -0
- package/fesm2015/gunsmith-common.mjs.map +1 -1
- package/fesm2020/gunsmith-common.mjs +9 -0
- package/fesm2020/gunsmith-common.mjs.map +1 -1
- package/gunsmith-common-2.2.16.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/inventory-item.d.ts +2 -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 {
|
|
@@ -392,6 +396,8 @@ class InventoryItem {
|
|
|
392
396
|
this.price = 0;
|
|
393
397
|
this.count = 0;
|
|
394
398
|
this.orderPoint = 0;
|
|
399
|
+
this.bulk = false;
|
|
400
|
+
this.kit = false;
|
|
395
401
|
this.active = true;
|
|
396
402
|
}
|
|
397
403
|
}
|
|
@@ -1209,6 +1215,9 @@ class OpticService {
|
|
|
1209
1215
|
deleteOptic(opticId) {
|
|
1210
1216
|
return this.http.delete(`${this.url}/${opticId}`);
|
|
1211
1217
|
}
|
|
1218
|
+
readOpticReport() {
|
|
1219
|
+
return this.http.get(`${this.url}/report`);
|
|
1220
|
+
}
|
|
1212
1221
|
}
|
|
1213
1222
|
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
1223
|
OpticService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OpticService, providedIn: 'root' });
|