triage-types 1.0.47 → 1.0.49

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;
@@ -1,4 +1,5 @@
1
1
  import { is_state_id } from "../State.js";
2
+ import { StateFacilityAux } from "./StateFacility.js";
2
3
  export class StatePermit {
3
4
  state_permit_id;
4
5
  state_id;
@@ -60,7 +61,7 @@ export class StatePermitAux extends StatePermit {
60
61
  }
61
62
  static is(state_permit) {
62
63
  return (StatePermit.is(state_permit) &&
63
- StatePermitAux.is(state_permit.state_facility) &&
64
+ StateFacilityAux.is(state_permit.state_facility) &&
64
65
  (state_permit.s3_url === undefined || typeof state_permit.s3_url === "string") &&
65
66
  (state_permit.s3_text_url === undefined || typeof state_permit.s3_text_url === "string"));
66
67
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triage-types",
3
- "version": "1.0.47",
3
+ "version": "1.0.49",
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) {
@@ -1,5 +1,5 @@
1
1
  import { is_state_id, StateID } from "../State"
2
- import { StateFacility } from "./StateFacility"
2
+ import { StateFacility, StateFacilityAux } from "./StateFacility"
3
3
 
4
4
  export class StatePermit {
5
5
  readonly state_permit_id : string
@@ -71,7 +71,7 @@ export class StatePermitAux extends StatePermit {
71
71
  static is(state_permit : any) : state_permit is StatePermitAux {
72
72
  return (
73
73
  StatePermit.is(state_permit) &&
74
- StatePermitAux.is(state_permit.state_facility) &&
74
+ StateFacilityAux.is(state_permit.state_facility) &&
75
75
  (state_permit.s3_url === undefined || typeof state_permit.s3_url === "string") &&
76
76
  (state_permit.s3_text_url === undefined || typeof state_permit.s3_text_url === "string")
77
77
  )