triage-types 1.0.46 → 1.0.48

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.
@@ -1,6 +1,6 @@
1
1
  import { StateFacility } from "../StateFacility.js";
2
2
  export declare class KYStateFacility extends StateFacility {
3
- readonly state_id: "AR";
3
+ readonly state_id: "KY";
4
4
  readonly [x: string]: any;
5
5
  constructor(state_facility: KYStateFacility);
6
6
  static is(state_facility: any): state_facility is KYStateFacility;
@@ -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 type_id?: string;
10
10
  readonly site_address_city?: string;
11
11
  readonly site_address_county?: string;
12
12
  readonly [x: string]: any;
@@ -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
- typeof state_facility.type_id === "string" &&
31
+ (state_facility.type_id === undefined || typeof state_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.46",
3
+ "version": "1.0.48",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "directories": {
@@ -2,7 +2,7 @@ import { is_state_id, StateID } from "../../State"
2
2
  import { StateFacility } from "../StateFacility"
3
3
 
4
4
  export class KYStateFacility extends StateFacility {
5
- readonly state_id : "AR"
5
+ readonly state_id : "KY"
6
6
  readonly [x : string] : any
7
7
 
8
8
  constructor(state_facility : KYStateFacility) {
@@ -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 type_id? : string
11
11
  readonly site_address_city? : string
12
12
  readonly site_address_county? : string
13
13
  readonly [x : string] : any
@@ -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
- typeof state_facility.type_id === "string" &&
36
+ (state_facility.type_id === undefined || typeof state_facility.type_id === "string") &&
37
37
  (state_facility.site_address_city=== undefined || typeof state_facility.site_address_city === "string")
38
38
  )
39
39
  }