triage-types 1.0.11 → 1.0.13
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.
|
@@ -7,7 +7,7 @@ export declare class ARStateFacility {
|
|
|
7
7
|
readonly name: string;
|
|
8
8
|
readonly active: boolean;
|
|
9
9
|
readonly type_id: string;
|
|
10
|
-
readonly site_address_city
|
|
10
|
+
readonly site_address_city?: string;
|
|
11
11
|
readonly [x: string]: any;
|
|
12
12
|
constructor(state_facility: ARStateFacility);
|
|
13
13
|
static is(state_facility: any): state_facility is ARStateFacility;
|
|
@@ -28,7 +28,7 @@ export class ARStateFacility {
|
|
|
28
28
|
typeof state_facility.name === "string" &&
|
|
29
29
|
typeof state_facility.active === "boolean" &&
|
|
30
30
|
typeof state_facility.type_id === "string" &&
|
|
31
|
-
typeof state_facility.site_address_city === "string");
|
|
31
|
+
(state_facility.site_address_city === undefined || typeof state_facility.site_address_city === "string"));
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
export class ARStateFacilityAux extends ARStateFacility {
|
|
@@ -14,7 +14,7 @@ export declare class ARStatePermitSource {
|
|
|
14
14
|
readonly power_unit?: string;
|
|
15
15
|
readonly power_kw?: number;
|
|
16
16
|
readonly fuel?: string;
|
|
17
|
-
readonly is_emergency?:
|
|
17
|
+
readonly is_emergency?: string;
|
|
18
18
|
readonly [x: string]: any;
|
|
19
19
|
constructor(state_permit_source: ARStatePermitSource);
|
|
20
20
|
static is(state_permit_source: any): state_permit_source is ARStatePermitSource;
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ export class ARStateFacility {
|
|
|
8
8
|
readonly name : string
|
|
9
9
|
readonly active : boolean
|
|
10
10
|
readonly type_id : string
|
|
11
|
-
readonly site_address_city : string
|
|
11
|
+
readonly site_address_city? : string
|
|
12
12
|
readonly [x : string] : any
|
|
13
13
|
|
|
14
14
|
constructor(state_facility : ARStateFacility) {
|
|
@@ -33,7 +33,7 @@ export class ARStateFacility {
|
|
|
33
33
|
typeof state_facility.name === "string" &&
|
|
34
34
|
typeof state_facility.active === "boolean" &&
|
|
35
35
|
typeof state_facility.type_id === "string" &&
|
|
36
|
-
typeof state_facility.site_address_city === "string"
|
|
36
|
+
(state_facility.site_address_city=== undefined || typeof state_facility.site_address_city === "string")
|
|
37
37
|
)
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -15,7 +15,7 @@ export class ARStatePermitSource {
|
|
|
15
15
|
readonly power_unit? : string
|
|
16
16
|
readonly power_kw? : number
|
|
17
17
|
readonly fuel? : string
|
|
18
|
-
readonly is_emergency? :
|
|
18
|
+
readonly is_emergency? : string
|
|
19
19
|
readonly [x : string] : any
|
|
20
20
|
|
|
21
21
|
constructor(state_permit_source : ARStatePermitSource) {
|