triangle-types 1.0.45 → 1.0.46
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.
|
@@ -21,6 +21,9 @@ export declare class Voter {
|
|
|
21
21
|
readonly address_mail_city: string;
|
|
22
22
|
readonly address_mail_state_id: string;
|
|
23
23
|
readonly address_mail_zip: string;
|
|
24
|
+
readonly federal_house_district: number;
|
|
25
|
+
readonly state_house_district: number;
|
|
26
|
+
readonly state_senate_district: number;
|
|
24
27
|
readonly occupation_group?: string;
|
|
25
28
|
readonly occupation_description?: string;
|
|
26
29
|
readonly phone_home?: string;
|
|
@@ -21,6 +21,9 @@ export class Voter {
|
|
|
21
21
|
address_mail_city;
|
|
22
22
|
address_mail_state_id;
|
|
23
23
|
address_mail_zip;
|
|
24
|
+
federal_house_district;
|
|
25
|
+
state_house_district;
|
|
26
|
+
state_senate_district;
|
|
24
27
|
occupation_group;
|
|
25
28
|
occupation_description;
|
|
26
29
|
phone_home;
|
|
@@ -59,6 +62,9 @@ export class Voter {
|
|
|
59
62
|
this.address_mail_city = voter.address_mail_city;
|
|
60
63
|
this.address_mail_state_id = voter.address_mail_state_id;
|
|
61
64
|
this.address_mail_zip = voter.address_mail_zip;
|
|
65
|
+
this.federal_house_district = voter.federal_house_district;
|
|
66
|
+
this.state_house_district = voter.state_house_district;
|
|
67
|
+
this.state_senate_district = voter.state_senate_district;
|
|
62
68
|
this.occupation_group = voter.occupation_group;
|
|
63
69
|
this.occupation_description = voter.occupation_description;
|
|
64
70
|
this.phone_home = voter.phone_home;
|
|
@@ -96,6 +102,9 @@ export class Voter {
|
|
|
96
102
|
typeof voter.address_mail_city === "string" &&
|
|
97
103
|
typeof voter.address_mail_state_id === "string" &&
|
|
98
104
|
typeof voter.address_mail_zip === "string" &&
|
|
105
|
+
typeof voter.federal_house_district === "number" &&
|
|
106
|
+
typeof voter.state_house_district === "number" &&
|
|
107
|
+
typeof voter.state_senate_district === "number" &&
|
|
99
108
|
(voter.occupation_group === undefined || typeof voter.occupation_group === "string") &&
|
|
100
109
|
(voter.occupation_description === undefined || typeof voter.occupation_description === "string") &&
|
|
101
110
|
(voter.phone_home === undefined || typeof voter.phone_home === "string") &&
|
package/package.json
CHANGED
package/src/types/prism/Voter.ts
CHANGED
|
@@ -21,6 +21,9 @@ export class Voter {
|
|
|
21
21
|
readonly address_mail_city : string
|
|
22
22
|
readonly address_mail_state_id : string
|
|
23
23
|
readonly address_mail_zip : string
|
|
24
|
+
readonly federal_house_district : number
|
|
25
|
+
readonly state_house_district : number
|
|
26
|
+
readonly state_senate_district : number
|
|
24
27
|
readonly occupation_group? : string
|
|
25
28
|
readonly occupation_description? : string
|
|
26
29
|
readonly phone_home? : string
|
|
@@ -61,6 +64,9 @@ export class Voter {
|
|
|
61
64
|
this.address_mail_city = voter.address_mail_city
|
|
62
65
|
this.address_mail_state_id = voter.address_mail_state_id
|
|
63
66
|
this.address_mail_zip = voter.address_mail_zip
|
|
67
|
+
this.federal_house_district = voter.federal_house_district
|
|
68
|
+
this.state_house_district = voter.state_house_district
|
|
69
|
+
this.state_senate_district = voter.state_senate_district
|
|
64
70
|
this.occupation_group = voter.occupation_group
|
|
65
71
|
this.occupation_description = voter.occupation_description
|
|
66
72
|
this.phone_home = voter.phone_home
|
|
@@ -100,6 +106,9 @@ export class Voter {
|
|
|
100
106
|
typeof voter.address_mail_city === "string" &&
|
|
101
107
|
typeof voter.address_mail_state_id === "string" &&
|
|
102
108
|
typeof voter.address_mail_zip === "string" &&
|
|
109
|
+
typeof voter.federal_house_district === "number" &&
|
|
110
|
+
typeof voter.state_house_district === "number" &&
|
|
111
|
+
typeof voter.state_senate_district === "number" &&
|
|
103
112
|
(voter.occupation_group === undefined || typeof voter.occupation_group === "string") &&
|
|
104
113
|
(voter.occupation_description === undefined || typeof voter.occupation_description === "string") &&
|
|
105
114
|
(voter.phone_home === undefined || typeof voter.phone_home === "string") &&
|