triage-types 1.0.23 → 1.0.24
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.
|
@@ -18,6 +18,7 @@ export declare class ARStatePermitWaterSource extends ARStatePermitSource {
|
|
|
18
18
|
readonly source_id: string;
|
|
19
19
|
readonly type_id: string;
|
|
20
20
|
readonly description?: string;
|
|
21
|
+
readonly stage?: string;
|
|
21
22
|
readonly [x: string]: any;
|
|
22
23
|
constructor(state_permit_source: ARStatePermitWaterSource);
|
|
23
24
|
static is(state_permit_source: any): state_permit_source is ARStatePermitWaterSource;
|
|
@@ -33,6 +33,7 @@ export class ARStatePermitWaterSource extends ARStatePermitSource {
|
|
|
33
33
|
source_id;
|
|
34
34
|
type_id;
|
|
35
35
|
description;
|
|
36
|
+
stage;
|
|
36
37
|
constructor(state_permit_source) {
|
|
37
38
|
if (!ARStatePermitWaterSource.is(state_permit_source)) {
|
|
38
39
|
throw Error("Invalid input.");
|
|
@@ -44,11 +45,13 @@ export class ARStatePermitWaterSource extends ARStatePermitSource {
|
|
|
44
45
|
this.source_id = state_permit_source.source_id;
|
|
45
46
|
this.type_id = state_permit_source.type_id;
|
|
46
47
|
this.description = state_permit_source.description;
|
|
48
|
+
this.stage = state_permit_source.stage;
|
|
47
49
|
}
|
|
48
50
|
static is(state_permit_source) {
|
|
49
51
|
return (ARStatePermitSource.is(state_permit_source) &&
|
|
50
52
|
state_permit_source.type_id === "WATER-NPDES" &&
|
|
51
|
-
(state_permit_source.description === undefined || typeof state_permit_source.description === "string")
|
|
53
|
+
(state_permit_source.description === undefined || typeof state_permit_source.description === "string") &&
|
|
54
|
+
(state_permit_source.stage === undefined || typeof state_permit_source.stage === "string"));
|
|
52
55
|
}
|
|
53
56
|
}
|
|
54
57
|
export class ARStatePermitAirSource extends ARStatePermitSource {
|
package/package.json
CHANGED
|
@@ -40,6 +40,7 @@ export class ARStatePermitWaterSource extends ARStatePermitSource {
|
|
|
40
40
|
readonly source_id : string
|
|
41
41
|
readonly type_id : string
|
|
42
42
|
readonly description? : string
|
|
43
|
+
readonly stage? : string
|
|
43
44
|
readonly [x : string] : any
|
|
44
45
|
|
|
45
46
|
constructor(state_permit_source : ARStatePermitWaterSource) {
|
|
@@ -53,13 +54,15 @@ export class ARStatePermitWaterSource extends ARStatePermitSource {
|
|
|
53
54
|
this.source_id = state_permit_source.source_id
|
|
54
55
|
this.type_id = state_permit_source.type_id
|
|
55
56
|
this.description = state_permit_source.description
|
|
57
|
+
this.stage = state_permit_source.stage
|
|
56
58
|
}
|
|
57
59
|
|
|
58
60
|
static is(state_permit_source : any) : state_permit_source is ARStatePermitWaterSource {
|
|
59
61
|
return (
|
|
60
62
|
ARStatePermitSource.is(state_permit_source) &&
|
|
61
63
|
state_permit_source.type_id === "WATER-NPDES" &&
|
|
62
|
-
(state_permit_source.description === undefined || typeof state_permit_source.description === "string")
|
|
64
|
+
(state_permit_source.description === undefined || typeof state_permit_source.description === "string") &&
|
|
65
|
+
(state_permit_source.stage === undefined || typeof state_permit_source.stage === "string")
|
|
63
66
|
)
|
|
64
67
|
}
|
|
65
68
|
}
|