elections-types 1.0.89 → 1.0.91
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.
- package/backup.sh +22 -0
- package/dist/src/types/ElectionsConfig.d.ts +1 -1
- package/dist/src/types/FederalElectionDonation.d.ts +0 -1
- package/dist/src/types/FederalElectionDonation.js +0 -3
- package/package.json +1 -1
- package/src/types/ElectionsConfig.ts +1 -1
- package/src/types/FederalElectionDonation.ts +0 -3
package/backup.sh
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
aws dynamodb create-backup --table-name elections.federal_lobby_document_interests --backup-name elections.federal_lobby_document_interests
|
|
2
|
+
aws dynamodb create-backup --table-name elections.federal_lobby_clients --backup-name elections.federal_lobby_clients
|
|
3
|
+
aws dynamodb create-backup --table-name elections.federal_lobby_agencies --backup-name elections.federal_lobby_agencies
|
|
4
|
+
aws dynamodb create-backup --table-name elections.federal_lobby_lobbyists --backup-name elections.federal_lobby_lobbyists
|
|
5
|
+
aws dynamodb create-backup --table-name elections.federal_lobby_documents --backup-name elections.federal_lobby_documents
|
|
6
|
+
aws dynamodb create-backup --table-name elections.federal_election_files --backup-name elections.federal_election_files
|
|
7
|
+
aws dynamodb create-backup --table-name triage.federal_congress_bills --backup-name triage.federal_congress_bills
|
|
8
|
+
aws dynamodb create-backup --table-name triage.federal_docket_agencies --backup-name triage.federal_docket_agencies
|
|
9
|
+
aws dynamodb create-backup --table-name triage.federal_docket_comment_attachments --backup-name triage.federal_docket_comment_attachments
|
|
10
|
+
aws dynamodb create-backup --table-name triage.federal_docket_comments --backup-name triage.federal_docket_comments
|
|
11
|
+
aws dynamodb create-backup --table-name triage.federal_docket_documents --backup-name triage.federal_docket_documents
|
|
12
|
+
aws dynamodb create-backup --table-name triage.federal_dockets --backup-name triage.federal_dockets
|
|
13
|
+
aws dynamodb create-backup --table-name triage.federal_register_agencies --backup-name triage.federal_register_agencies
|
|
14
|
+
aws dynamodb create-backup --table-name triage.federal_register_documents --backup-name triage.federal_register_documents
|
|
15
|
+
aws dynamodb create-backup --table-name triage.federal_register_document_ingredients --backup-name triage.federal_register_document_ingredients
|
|
16
|
+
aws dynamodb create-backup --table-name triage.federal_foods --backup-name triage.federal_foods
|
|
17
|
+
aws dynamodb create-backup --table-name triage.federal_food_nutrients --backup-name triage.federal_food_nutrients
|
|
18
|
+
aws dynamodb create-backup --table-name triage.state_facilities --backup-name triage.state_facilities
|
|
19
|
+
aws dynamodb create-backup --table-name triage.state_permits --backup-name triage.state_permits
|
|
20
|
+
aws dynamodb create-backup --table-name triage.state_permit_documents --backup-name triage.state_permit_documents
|
|
21
|
+
aws dynamodb create-backup --table-name triage.state_permit_document_sources --backup-name triage.state_permit_document_sources
|
|
22
|
+
aws dynamodb create-backup --table-name triage.state_permit_document_source_pollutants --backup-name triage.state_permit_document_source_pollutants
|
|
@@ -32,7 +32,7 @@ export interface ElectionsConfig extends ElectionsUtilsConfig {
|
|
|
32
32
|
dynamodb_videos: string;
|
|
33
33
|
dynamodb_candidate_videos: string;
|
|
34
34
|
dynamodb_federal_election_files: string;
|
|
35
|
-
|
|
35
|
+
dynamodb_federal_election_donations: string;
|
|
36
36
|
dynamodb_fetch_history: string;
|
|
37
37
|
s3_bucket: string;
|
|
38
38
|
}
|
|
@@ -2,7 +2,6 @@ import { StateID } from "./State.js";
|
|
|
2
2
|
export declare class FederalElectionDonation {
|
|
3
3
|
readonly federal_election_donation_id: string;
|
|
4
4
|
readonly receipt_date: string;
|
|
5
|
-
readonly sub_id: string;
|
|
6
5
|
readonly committee_id: string;
|
|
7
6
|
readonly federal_election_file_id: number;
|
|
8
7
|
readonly image_number: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export class FederalElectionDonation {
|
|
2
2
|
federal_election_donation_id;
|
|
3
3
|
receipt_date;
|
|
4
|
-
sub_id;
|
|
5
4
|
committee_id;
|
|
6
5
|
federal_election_file_id;
|
|
7
6
|
image_number;
|
|
@@ -30,7 +29,6 @@ export class FederalElectionDonation {
|
|
|
30
29
|
}
|
|
31
30
|
this.federal_election_donation_id = federal_election_donation.federal_election_donation_id;
|
|
32
31
|
this.receipt_date = federal_election_donation.receipt_date;
|
|
33
|
-
this.sub_id = federal_election_donation.sub_id;
|
|
34
32
|
this.committee_id = federal_election_donation.committee_id;
|
|
35
33
|
this.federal_election_file_id = federal_election_donation.federal_election_file_id;
|
|
36
34
|
this.image_number = federal_election_donation.image_number;
|
|
@@ -58,7 +56,6 @@ export class FederalElectionDonation {
|
|
|
58
56
|
return (federal_election_donation !== undefined &&
|
|
59
57
|
typeof federal_election_donation.federal_election_donation_id === "string" &&
|
|
60
58
|
typeof federal_election_donation.receipt_date === "string" &&
|
|
61
|
-
typeof federal_election_donation.sub_id === "string" &&
|
|
62
59
|
typeof federal_election_donation.committee_id === "string" &&
|
|
63
60
|
typeof federal_election_donation.federal_election_file_id === "number" && !isNaN(federal_election_donation.federal_election_file_id) &&
|
|
64
61
|
typeof federal_election_donation.image_number === "string" &&
|
package/package.json
CHANGED
|
@@ -34,7 +34,7 @@ export interface ElectionsConfig extends ElectionsUtilsConfig {
|
|
|
34
34
|
dynamodb_videos : string,
|
|
35
35
|
dynamodb_candidate_videos : string,
|
|
36
36
|
dynamodb_federal_election_files : string,
|
|
37
|
-
|
|
37
|
+
dynamodb_federal_election_donations : string,
|
|
38
38
|
dynamodb_fetch_history : string,
|
|
39
39
|
s3_bucket : string
|
|
40
40
|
}
|
|
@@ -3,7 +3,6 @@ import { StateID } from "./State"
|
|
|
3
3
|
export class FederalElectionDonation {
|
|
4
4
|
readonly federal_election_donation_id : string
|
|
5
5
|
readonly receipt_date : string
|
|
6
|
-
readonly sub_id : string
|
|
7
6
|
readonly committee_id : string
|
|
8
7
|
readonly federal_election_file_id : number
|
|
9
8
|
readonly image_number : string
|
|
@@ -33,7 +32,6 @@ export class FederalElectionDonation {
|
|
|
33
32
|
}
|
|
34
33
|
this.federal_election_donation_id = federal_election_donation.federal_election_donation_id
|
|
35
34
|
this.receipt_date = federal_election_donation.receipt_date
|
|
36
|
-
this.sub_id = federal_election_donation.sub_id
|
|
37
35
|
this.committee_id = federal_election_donation.committee_id
|
|
38
36
|
this.federal_election_file_id = federal_election_donation.federal_election_file_id
|
|
39
37
|
this.image_number = federal_election_donation.image_number
|
|
@@ -63,7 +61,6 @@ export class FederalElectionDonation {
|
|
|
63
61
|
federal_election_donation !== undefined &&
|
|
64
62
|
typeof federal_election_donation.federal_election_donation_id === "string" &&
|
|
65
63
|
typeof federal_election_donation.receipt_date === "string" &&
|
|
66
|
-
typeof federal_election_donation.sub_id === "string" &&
|
|
67
64
|
typeof federal_election_donation.committee_id === "string" &&
|
|
68
65
|
typeof federal_election_donation.federal_election_file_id === "number" && !isNaN(federal_election_donation.federal_election_file_id) &&
|
|
69
66
|
typeof federal_election_donation.image_number === "string" &&
|