gunsmith-common 2.3.7 → 2.3.8

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gunsmith-common",
3
- "version": "2.3.7",
3
+ "version": "2.3.8",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": ">= 6.1.10",
6
6
  "@angular/common": ">= 6.1.10",
@@ -0,0 +1,11 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { BaseService } from './base.service';
3
+ import { MillingType } from '../types';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FirearmMillingTypeService extends BaseService<MillingType> {
6
+ protected http: HttpClient;
7
+ protected env: any;
8
+ constructor(http: HttpClient, env: any);
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<FirearmMillingTypeService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<FirearmMillingTypeService>;
11
+ }
@@ -39,3 +39,5 @@ export * from './package-variation.service';
39
39
  export * from './slide-addon.service';
40
40
  export * from './coating-value.service';
41
41
  export * from './finish-date-helper.service';
42
+ export * from './milling-type-addon.service';
43
+ export * from './firearm-milling-type.service';
@@ -0,0 +1,11 @@
1
+ import { BaseService } from './base.service';
2
+ import { MillingTypeAddon } from '../types';
3
+ import { HttpClient } from '@angular/common/http';
4
+ import * as i0 from "@angular/core";
5
+ export declare class MillingTypeAddonService extends BaseService<MillingTypeAddon> {
6
+ protected http: HttpClient;
7
+ protected env: any;
8
+ constructor(http: HttpClient, env: any);
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<MillingTypeAddonService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<MillingTypeAddonService>;
11
+ }
@@ -75,3 +75,5 @@ export * from './simple-type';
75
75
  export * from './firearm-optic';
76
76
  export * from './optic-sight';
77
77
  export * from './slide-addon';
78
+ export * from './milling-type-addon-option';
79
+ export * from './milling-type-addon';
@@ -5,6 +5,7 @@ import { ShieldRMSOptions } from './shield-rms-options';
5
5
  import { MillingType } from './milling-type';
6
6
  import { FirearmOptic } from './firearm-optic';
7
7
  import { OpticSight } from './optic-sight';
8
+ import { MillingTypeAddonOption } from './milling-type-addon-option';
8
9
  export declare class MillingDetail {
9
10
  id: number;
10
11
  firearmOptic: FirearmOptic;
@@ -16,6 +17,7 @@ export declare class MillingDetail {
16
17
  rearSightPosition: RearSightPosition;
17
18
  shieldRMSOptions: ShieldRMSOptions;
18
19
  cosmeticMilling: MillingType;
20
+ millingAddons: MillingTypeAddonOption[];
19
21
  barrelCrown: boolean;
20
22
  bushingInstallation: boolean;
21
23
  opticPulled: boolean;
@@ -0,0 +1,5 @@
1
+ import { MillingType } from "./milling-type";
2
+ export declare class MillingTypeAddonOption extends MillingType {
3
+ sortOrder: number;
4
+ millingTypeAddonId: number;
5
+ }
@@ -0,0 +1,8 @@
1
+ import { MillingTypeAddonOption } from "./milling-type-addon-option";
2
+ export declare class MillingTypeAddon {
3
+ id: number;
4
+ millingTypeId: number;
5
+ addonName: string;
6
+ addonOptions: MillingTypeAddonOption[];
7
+ active: boolean;
8
+ }
@@ -1,5 +1,5 @@
1
- import { Firearm } from './firearm';
2
1
  import { GunPart } from './gun-part';
2
+ import { MillingTypeAddon } from './milling-type-addon';
3
3
  export declare class MillingType {
4
4
  id: number;
5
5
  name: string;
@@ -8,7 +8,7 @@ export declare class MillingType {
8
8
  gunPart: GunPart;
9
9
  isCosmetic: boolean;
10
10
  mustRefinish: boolean;
11
- firearms: Firearm[];
11
+ addons: MillingTypeAddon[];
12
12
  imageUrl: string;
13
13
  active: boolean;
14
14
  timestamp: string;
Binary file