elections-types 1.0.55 → 1.0.56
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.
|
@@ -5,7 +5,7 @@ export declare class FederalDonation {
|
|
|
5
5
|
readonly sub_id: string;
|
|
6
6
|
readonly committee_id: string;
|
|
7
7
|
readonly target_committee_id?: string;
|
|
8
|
-
readonly
|
|
8
|
+
readonly fec_file_id: number;
|
|
9
9
|
readonly image_number: string;
|
|
10
10
|
readonly amount: number;
|
|
11
11
|
readonly donor_id?: string;
|
|
@@ -4,7 +4,7 @@ export class FederalDonation {
|
|
|
4
4
|
sub_id;
|
|
5
5
|
committee_id;
|
|
6
6
|
target_committee_id;
|
|
7
|
-
|
|
7
|
+
fec_file_id;
|
|
8
8
|
image_number;
|
|
9
9
|
amount;
|
|
10
10
|
donor_id;
|
|
@@ -32,7 +32,7 @@ export class FederalDonation {
|
|
|
32
32
|
this.sub_id = federal_donation.sub_id;
|
|
33
33
|
this.committee_id = federal_donation.committee_id;
|
|
34
34
|
this.target_committee_id = federal_donation.target_committee_id;
|
|
35
|
-
this.
|
|
35
|
+
this.fec_file_id = federal_donation.fec_file_id;
|
|
36
36
|
this.image_number = federal_donation.image_number;
|
|
37
37
|
this.amount = federal_donation.amount;
|
|
38
38
|
this.donor_id = federal_donation.donor_id;
|
|
@@ -59,7 +59,7 @@ export class FederalDonation {
|
|
|
59
59
|
typeof federal_donation.sub_id === "string" &&
|
|
60
60
|
typeof federal_donation.committee_id === "string" &&
|
|
61
61
|
(federal_donation.target_committee_id === undefined || typeof federal_donation.target_committee_id === "string") &&
|
|
62
|
-
typeof federal_donation.
|
|
62
|
+
typeof federal_donation.fec_file_id === "number" && !isNaN(federal_donation.fec_file_id) &&
|
|
63
63
|
typeof federal_donation.image_number === "string" &&
|
|
64
64
|
typeof federal_donation.amount === "number" && !isNaN(federal_donation.amount) &&
|
|
65
65
|
(federal_donation.donor_id === undefined || typeof federal_donation.donor_id === "string") &&
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ export class FederalDonation {
|
|
|
6
6
|
readonly sub_id : string
|
|
7
7
|
readonly committee_id : string
|
|
8
8
|
readonly target_committee_id? : string
|
|
9
|
-
readonly
|
|
9
|
+
readonly fec_file_id : number
|
|
10
10
|
readonly image_number : string
|
|
11
11
|
readonly amount : number
|
|
12
12
|
readonly donor_id? : string
|
|
@@ -35,7 +35,7 @@ export class FederalDonation {
|
|
|
35
35
|
this.sub_id = federal_donation.sub_id
|
|
36
36
|
this.committee_id = federal_donation.committee_id
|
|
37
37
|
this.target_committee_id = federal_donation.target_committee_id
|
|
38
|
-
this.
|
|
38
|
+
this.fec_file_id = federal_donation.fec_file_id
|
|
39
39
|
this.image_number = federal_donation.image_number
|
|
40
40
|
this.amount = federal_donation.amount
|
|
41
41
|
this.donor_id = federal_donation.donor_id
|
|
@@ -64,7 +64,7 @@ export class FederalDonation {
|
|
|
64
64
|
typeof federal_donation.sub_id === "string" &&
|
|
65
65
|
typeof federal_donation.committee_id === "string" &&
|
|
66
66
|
(federal_donation.target_committee_id === undefined || typeof federal_donation.target_committee_id === "string") &&
|
|
67
|
-
typeof federal_donation.
|
|
67
|
+
typeof federal_donation.fec_file_id === "number" && !isNaN(federal_donation.fec_file_id) &&
|
|
68
68
|
typeof federal_donation.image_number === "string" &&
|
|
69
69
|
typeof federal_donation.amount === "number" && !isNaN(federal_donation.amount) &&
|
|
70
70
|
(federal_donation.donor_id === undefined || typeof federal_donation.donor_id === "string") &&
|