triangle-types 1.0.296 → 1.0.297
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.
|
@@ -12,6 +12,8 @@ export declare class StateVoter {
|
|
|
12
12
|
readonly name_middle?: string;
|
|
13
13
|
readonly name_last: string;
|
|
14
14
|
readonly name_suffix?: string;
|
|
15
|
+
readonly gender_id?: string;
|
|
16
|
+
readonly birth_date?: string;
|
|
15
17
|
readonly address_residence_1: string;
|
|
16
18
|
readonly address_residence_2?: string;
|
|
17
19
|
readonly address_residence_city?: string;
|
|
@@ -12,6 +12,8 @@ export class StateVoter {
|
|
|
12
12
|
name_middle;
|
|
13
13
|
name_last;
|
|
14
14
|
name_suffix;
|
|
15
|
+
gender_id;
|
|
16
|
+
birth_date;
|
|
15
17
|
address_residence_1;
|
|
16
18
|
address_residence_2;
|
|
17
19
|
address_residence_city;
|
|
@@ -34,6 +36,8 @@ export class StateVoter {
|
|
|
34
36
|
this.name_middle = state_voter.name_middle;
|
|
35
37
|
this.name_last = state_voter.name_last;
|
|
36
38
|
this.name_suffix = state_voter.name_suffix;
|
|
39
|
+
this.gender_id = state_voter.gender_id;
|
|
40
|
+
this.birth_date = state_voter.birth_date;
|
|
37
41
|
this.address_residence_1 = state_voter.address_residence_1;
|
|
38
42
|
this.address_residence_2 = state_voter.address_residence_2;
|
|
39
43
|
this.address_residence_city = state_voter.address_residence_city;
|
|
@@ -55,6 +59,8 @@ export class StateVoter {
|
|
|
55
59
|
(state_voter.name_middle === undefined || typeof state_voter.name_middle === "string") &&
|
|
56
60
|
typeof state_voter.name_last === "string" &&
|
|
57
61
|
(state_voter.name_suffix === undefined || typeof state_voter.name_suffix === "string") &&
|
|
62
|
+
(state_voter.gender_id === undefined || typeof state_voter.gender_id === "string") &&
|
|
63
|
+
(state_voter.birth_date === undefined || typeof state_voter.birth_date === "string") &&
|
|
58
64
|
typeof state_voter.address_residence_1 === "string" &&
|
|
59
65
|
(state_voter.address_residence_2 === undefined || typeof state_voter.address_residence_2 === "string") &&
|
|
60
66
|
(state_voter.address_residence_city === undefined || typeof state_voter.address_residence_city === "string") &&
|
package/package.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { LALFileVoter } from "../lal/LALFileVoter"
|
|
2
2
|
import { is_state_id, StateID } from "../jurisdictions/State"
|
|
3
|
-
import { StateVoterFeature } from "./StateVoterFeature"
|
|
4
3
|
import { StateVoterTarget } from "./StateVoterTarget"
|
|
5
4
|
import { is_voter_party_type_id, VoterPartyTypeID } from "./Voter"
|
|
6
5
|
import { Geom } from "../jurisdictions/Geom"
|
|
@@ -14,6 +13,8 @@ export class StateVoter {
|
|
|
14
13
|
readonly name_middle? : string
|
|
15
14
|
readonly name_last : string
|
|
16
15
|
readonly name_suffix? : string
|
|
16
|
+
readonly gender_id? : string
|
|
17
|
+
readonly birth_date? : string
|
|
17
18
|
readonly address_residence_1 : string
|
|
18
19
|
readonly address_residence_2? : string
|
|
19
20
|
readonly address_residence_city? : string
|
|
@@ -38,6 +39,8 @@ export class StateVoter {
|
|
|
38
39
|
this.name_middle = state_voter.name_middle
|
|
39
40
|
this.name_last = state_voter.name_last
|
|
40
41
|
this.name_suffix = state_voter.name_suffix
|
|
42
|
+
this.gender_id = state_voter.gender_id
|
|
43
|
+
this.birth_date = state_voter.birth_date
|
|
41
44
|
this.address_residence_1 = state_voter.address_residence_1
|
|
42
45
|
this.address_residence_2 = state_voter.address_residence_2
|
|
43
46
|
this.address_residence_city = state_voter.address_residence_city
|
|
@@ -61,6 +64,8 @@ export class StateVoter {
|
|
|
61
64
|
(state_voter.name_middle === undefined || typeof state_voter.name_middle === "string") &&
|
|
62
65
|
typeof state_voter.name_last === "string" &&
|
|
63
66
|
(state_voter.name_suffix === undefined || typeof state_voter.name_suffix === "string") &&
|
|
67
|
+
(state_voter.gender_id === undefined || typeof state_voter.gender_id === "string") &&
|
|
68
|
+
(state_voter.birth_date === undefined || typeof state_voter.birth_date === "string") &&
|
|
64
69
|
typeof state_voter.address_residence_1 === "string" &&
|
|
65
70
|
(state_voter.address_residence_2 === undefined || typeof state_voter.address_residence_2 === "string") &&
|
|
66
71
|
(state_voter.address_residence_city === undefined || typeof state_voter.address_residence_city === "string") &&
|