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
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { Optic } from '../types';
|
|
3
|
+
import { Optic, OpticReportItem } from '../types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class OpticService {
|
|
6
6
|
private http;
|
|
@@ -12,6 +12,7 @@ export declare class OpticService {
|
|
|
12
12
|
createOptic(optic: Optic): Observable<Optic>;
|
|
13
13
|
updateOptic(opticId: number, optic: Optic): Observable<Optic>;
|
|
14
14
|
deleteOptic(opticId: number): Observable<any>;
|
|
15
|
+
readOpticReport(): Observable<OpticReportItem[]>;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<OpticService, never>;
|
|
16
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<OpticService>;
|
|
17
18
|
}
|
package/shared/types/index.d.ts
CHANGED
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
import { MillingType } from './milling-type';
|
|
2
|
+
import { OpticStatus } from './optic-status';
|
|
3
|
+
import { RearSightPosition } from './rear-sight-position';
|
|
4
|
+
import { ShieldRMSOptions } from './shield-rms-options';
|
|
5
|
+
import { SightType } from './sight-type';
|
|
2
6
|
export declare class MillingItem {
|
|
3
7
|
id: number;
|
|
4
8
|
millingType: MillingType;
|
|
5
|
-
|
|
9
|
+
opticId: number;
|
|
10
|
+
opticName: string;
|
|
11
|
+
opticPulled: boolean;
|
|
12
|
+
opticStatus: OpticStatus;
|
|
13
|
+
frontSightType: SightType;
|
|
14
|
+
rearSightType: SightType;
|
|
15
|
+
rearSightPosition: RearSightPosition;
|
|
16
|
+
shieldRMSOptions: ShieldRMSOptions;
|
|
17
|
+
notes: string;
|
|
6
18
|
completedDate: Date;
|
|
7
19
|
timestamp: string;
|
|
8
20
|
}
|
package/shared/types/optic.d.ts
CHANGED
|
Binary file
|