triage-types 1.0.82 → 1.0.83

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.
@@ -6,7 +6,7 @@ export declare class StateFacility {
6
6
  readonly facility_id: string;
7
7
  readonly name: string;
8
8
  readonly is_active?: boolean;
9
- readonly type_id?: string;
9
+ readonly facility_type_id?: string;
10
10
  readonly site_address_city?: string;
11
11
  readonly site_address_county?: string;
12
12
  readonly [x: string]: any;
@@ -6,7 +6,7 @@ export class StateFacility {
6
6
  facility_id;
7
7
  name;
8
8
  is_active;
9
- type_id;
9
+ facility_type_id;
10
10
  site_address_city;
11
11
  site_address_county;
12
12
  constructor(state_facility) {
@@ -18,7 +18,7 @@ export class StateFacility {
18
18
  this.facility_id = state_facility.facility_id;
19
19
  this.name = state_facility.name;
20
20
  this.is_active = state_facility.is_active;
21
- this.type_id = state_facility.type_id;
21
+ this.facility_type_id = state_facility.facility_type_id;
22
22
  this.site_address_city = state_facility.site_address_city;
23
23
  }
24
24
  static is(state_facility) {
@@ -28,7 +28,7 @@ export class StateFacility {
28
28
  typeof state_facility.facility_id === "string" &&
29
29
  typeof state_facility.name === "string" &&
30
30
  (state_facility.is_active === undefined || typeof state_facility.is_active === "boolean") &&
31
- (state_facility.type_id === undefined || typeof state_facility.type_id === "string") &&
31
+ (state_facility.facility_type_id === undefined || typeof state_facility.facility_type_id === "string") &&
32
32
  (state_facility.site_address_city === undefined || typeof state_facility.site_address_city === "string"));
33
33
  }
34
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triage-types",
3
- "version": "1.0.82",
3
+ "version": "1.0.83",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "directories": {
@@ -7,7 +7,7 @@ export class StateFacility {
7
7
  readonly facility_id : string
8
8
  readonly name : string
9
9
  readonly is_active? : boolean
10
- readonly type_id? : string
10
+ readonly facility_type_id? : string
11
11
  readonly site_address_city? : string
12
12
  readonly site_address_county? : string
13
13
  readonly [x : string] : any
@@ -21,7 +21,7 @@ export class StateFacility {
21
21
  this.facility_id = state_facility.facility_id
22
22
  this.name = state_facility.name
23
23
  this.is_active = state_facility.is_active
24
- this.type_id = state_facility.type_id
24
+ this.facility_type_id = state_facility.facility_type_id
25
25
  this.site_address_city = state_facility.site_address_city
26
26
  }
27
27
 
@@ -33,7 +33,7 @@ export class StateFacility {
33
33
  typeof state_facility.facility_id === "string" &&
34
34
  typeof state_facility.name === "string" &&
35
35
  (state_facility.is_active === undefined || typeof state_facility.is_active === "boolean") &&
36
- (state_facility.type_id === undefined || typeof state_facility.type_id === "string") &&
36
+ (state_facility.facility_type_id === undefined || typeof state_facility.facility_type_id === "string") &&
37
37
  (state_facility.site_address_city=== undefined || typeof state_facility.site_address_city === "string")
38
38
  )
39
39
  }