triangle-types 1.0.190 → 1.0.191

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.
@@ -27,7 +27,7 @@ export declare class LALFileVoter {
27
27
  readonly address_mail_city?: string;
28
28
  readonly address_mail_state_id: string;
29
29
  readonly address_mail_zip_id?: string;
30
- readonly party_id: string;
30
+ readonly party_id?: string;
31
31
  readonly party_type_id: VoterPartyTypeID;
32
32
  readonly lal_occupation_group_id?: string;
33
33
  readonly lal_occupation_id?: string;
@@ -114,7 +114,7 @@ export class LALFileVoter {
114
114
  (lal_file_voter.address_mail_city === undefined || typeof lal_file_voter.address_mail_city === "string") &&
115
115
  typeof lal_file_voter.address_mail_state_id === "string" &&
116
116
  (lal_file_voter.address_mail_zip_id === undefined || typeof lal_file_voter.address_mail_zip_id === "string") &&
117
- typeof lal_file_voter.party_id === "string" &&
117
+ (lal_file_voter.party === undefined || typeof lal_file_voter.party_id === "string") &&
118
118
  is_voter_party_type_id(lal_file_voter.party_type_id) &&
119
119
  (lal_file_voter.lal_occupation_group_id === undefined || typeof lal_file_voter.lal_occupation_group_id === "string") &&
120
120
  (lal_file_voter.lal_occupation_id === undefined || typeof lal_file_voter.lal_occupation_id === "string") &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triangle-types",
3
- "version": "1.0.190",
3
+ "version": "1.0.191",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {
@@ -28,7 +28,7 @@ export class LALFileVoter {
28
28
  readonly address_mail_city? : string
29
29
  readonly address_mail_state_id : string
30
30
  readonly address_mail_zip_id? : string
31
- readonly party_id : string
31
+ readonly party_id? : string
32
32
  readonly party_type_id : VoterPartyTypeID
33
33
  readonly lal_occupation_group_id? : string
34
34
  readonly lal_occupation_id? : string
@@ -119,7 +119,7 @@ export class LALFileVoter {
119
119
  (lal_file_voter.address_mail_city === undefined || typeof lal_file_voter.address_mail_city === "string") &&
120
120
  typeof lal_file_voter.address_mail_state_id === "string" &&
121
121
  (lal_file_voter.address_mail_zip_id === undefined || typeof lal_file_voter.address_mail_zip_id === "string") &&
122
- typeof lal_file_voter.party_id === "string" &&
122
+ (lal_file_voter.party === undefined || typeof lal_file_voter.party_id === "string") &&
123
123
  is_voter_party_type_id(lal_file_voter.party_type_id) &&
124
124
  (lal_file_voter.lal_occupation_group_id === undefined || typeof lal_file_voter.lal_occupation_group_id === "string") &&
125
125
  (lal_file_voter.lal_occupation_id === undefined || typeof lal_file_voter.lal_occupation_id === "string") &&