triangle-types 1.0.350 → 1.0.351
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.
|
@@ -8,6 +8,7 @@ export declare class FederalElectionFile {
|
|
|
8
8
|
readonly form_type_id: FormTypeID;
|
|
9
9
|
readonly amendment_type_id: AmendmentTypeID;
|
|
10
10
|
readonly long_form_type_id: LongFormTypeID;
|
|
11
|
+
readonly report_date: string;
|
|
11
12
|
readonly s3_id: string;
|
|
12
13
|
readonly federal_election_committee_id?: string;
|
|
13
14
|
readonly federal_election_candidate_id?: string;
|
|
@@ -9,6 +9,7 @@ export class FederalElectionFile {
|
|
|
9
9
|
form_type_id;
|
|
10
10
|
amendment_type_id;
|
|
11
11
|
long_form_type_id;
|
|
12
|
+
report_date;
|
|
12
13
|
s3_id;
|
|
13
14
|
federal_election_committee_id;
|
|
14
15
|
federal_election_candidate_id;
|
|
@@ -23,6 +24,7 @@ export class FederalElectionFile {
|
|
|
23
24
|
this.form_type_id = federal_election_file.form_type_id;
|
|
24
25
|
this.amendment_type_id = federal_election_file.amendment_type_id;
|
|
25
26
|
this.long_form_type_id = federal_election_file.long_form_type_id;
|
|
27
|
+
this.report_date = federal_election_file.report_date;
|
|
26
28
|
this.s3_id = federal_election_file.s3_id;
|
|
27
29
|
this.federal_election_committee_id = federal_election_file.federal_election_committee_id;
|
|
28
30
|
this.federal_election_candidate_id = federal_election_file.federal_election_candidate_id;
|
|
@@ -36,6 +38,7 @@ export class FederalElectionFile {
|
|
|
36
38
|
is_form_type_id(federal_election_file.form_type_id) &&
|
|
37
39
|
is_amendment_type_id(federal_election_file.amendment_type_id) &&
|
|
38
40
|
is_long_form_type_id(federal_election_file.long_form_type_id) &&
|
|
41
|
+
typeof federal_election_file.report_date === "string" &&
|
|
39
42
|
typeof federal_election_file.s3_id === "string" &&
|
|
40
43
|
(federal_election_file.federal_election_committee_id === undefined || typeof federal_election_file.federal_election_committee_id === "string") &&
|
|
41
44
|
(federal_election_file.federal_election_candidate_id === undefined || typeof federal_election_file.federal_election_candidate_id === "string") &&
|
package/package.json
CHANGED
|
@@ -14,6 +14,7 @@ export class FederalElectionFile {
|
|
|
14
14
|
readonly form_type_id : FormTypeID
|
|
15
15
|
readonly amendment_type_id : AmendmentTypeID
|
|
16
16
|
readonly long_form_type_id : LongFormTypeID
|
|
17
|
+
readonly report_date : string
|
|
17
18
|
readonly s3_id : string
|
|
18
19
|
readonly federal_election_committee_id? : string
|
|
19
20
|
readonly federal_election_candidate_id? : string
|
|
@@ -30,6 +31,7 @@ export class FederalElectionFile {
|
|
|
30
31
|
this.form_type_id = federal_election_file.form_type_id
|
|
31
32
|
this.amendment_type_id = federal_election_file.amendment_type_id
|
|
32
33
|
this.long_form_type_id = federal_election_file.long_form_type_id
|
|
34
|
+
this.report_date = federal_election_file.report_date
|
|
33
35
|
this.s3_id = federal_election_file.s3_id
|
|
34
36
|
this.federal_election_committee_id = federal_election_file.federal_election_committee_id
|
|
35
37
|
this.federal_election_candidate_id = federal_election_file.federal_election_candidate_id
|
|
@@ -45,6 +47,7 @@ export class FederalElectionFile {
|
|
|
45
47
|
is_form_type_id(federal_election_file.form_type_id) &&
|
|
46
48
|
is_amendment_type_id(federal_election_file.amendment_type_id) &&
|
|
47
49
|
is_long_form_type_id(federal_election_file.long_form_type_id) &&
|
|
50
|
+
typeof federal_election_file.report_date === "string" &&
|
|
48
51
|
typeof federal_election_file.s3_id === "string" &&
|
|
49
52
|
(federal_election_file.federal_election_committee_id === undefined || typeof federal_election_file.federal_election_committee_id === "string") &&
|
|
50
53
|
(federal_election_file.federal_election_candidate_id === undefined || typeof federal_election_file.federal_election_candidate_id === "string") &&
|