elections-types 1.1.2 → 1.1.4
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.
|
@@ -71,7 +71,7 @@ export class FederalElectionAux extends FederalElection {
|
|
|
71
71
|
}
|
|
72
72
|
super(federal_election);
|
|
73
73
|
this.federal_election_candidates = federal_election.federal_election_candidates;
|
|
74
|
-
this.federal_election_committees = federal_election.
|
|
74
|
+
this.federal_election_committees = federal_election.federal_election_committees;
|
|
75
75
|
this.federal_election_file_expenditures = federal_election.federal_election_file_expenditures;
|
|
76
76
|
}
|
|
77
77
|
static is(federal_election) {
|
|
@@ -2,7 +2,7 @@ export declare class Tweet {
|
|
|
2
2
|
readonly tweet_id: string;
|
|
3
3
|
readonly username: string;
|
|
4
4
|
readonly url: string;
|
|
5
|
-
readonly
|
|
5
|
+
readonly tweet_time: string;
|
|
6
6
|
readonly html: string;
|
|
7
7
|
constructor(tweet: Tweet);
|
|
8
8
|
static is(tweet: any): tweet is Tweet;
|
package/dist/src/types/Tweet.js
CHANGED
|
@@ -2,7 +2,7 @@ export class Tweet {
|
|
|
2
2
|
tweet_id;
|
|
3
3
|
username;
|
|
4
4
|
url;
|
|
5
|
-
|
|
5
|
+
tweet_time;
|
|
6
6
|
// readonly tweet_content : string
|
|
7
7
|
// readonly quote? : string
|
|
8
8
|
html;
|
|
@@ -14,7 +14,7 @@ export class Tweet {
|
|
|
14
14
|
this.tweet_id = tweet.tweet_id;
|
|
15
15
|
this.username = tweet.username;
|
|
16
16
|
this.url = tweet.url;
|
|
17
|
-
this.
|
|
17
|
+
this.tweet_time = tweet.tweet_time;
|
|
18
18
|
// this.tweet_content = tweet.tweet_content
|
|
19
19
|
// this.quote = tweet.quote
|
|
20
20
|
this.html = tweet.html;
|
|
@@ -25,7 +25,7 @@ export class Tweet {
|
|
|
25
25
|
typeof tweet.tweet_id === "string" &&
|
|
26
26
|
typeof tweet.username === "string" &&
|
|
27
27
|
typeof tweet.url === "string" &&
|
|
28
|
-
typeof tweet.
|
|
28
|
+
typeof tweet.tweet_time === "string" &&
|
|
29
29
|
// typeof tweet.tweet_content === "string" &&
|
|
30
30
|
// (tweet.quote === undefined || typeof tweet.quote === "string") &&
|
|
31
31
|
typeof tweet.html === "string"
|
package/package.json
CHANGED
|
@@ -87,7 +87,7 @@ export class FederalElectionAux extends FederalElection {
|
|
|
87
87
|
}
|
|
88
88
|
super(federal_election)
|
|
89
89
|
this.federal_election_candidates = federal_election.federal_election_candidates
|
|
90
|
-
this.federal_election_committees = federal_election.
|
|
90
|
+
this.federal_election_committees = federal_election.federal_election_committees
|
|
91
91
|
this.federal_election_file_expenditures = federal_election.federal_election_file_expenditures
|
|
92
92
|
}
|
|
93
93
|
|
package/src/types/Tweet.ts
CHANGED
|
@@ -2,7 +2,7 @@ export class Tweet {
|
|
|
2
2
|
readonly tweet_id : string
|
|
3
3
|
readonly username : string
|
|
4
4
|
readonly url : string
|
|
5
|
-
readonly
|
|
5
|
+
readonly tweet_time : string
|
|
6
6
|
// readonly tweet_content : string
|
|
7
7
|
// readonly quote? : string
|
|
8
8
|
readonly html : string
|
|
@@ -15,7 +15,7 @@ export class Tweet {
|
|
|
15
15
|
this.tweet_id = tweet.tweet_id
|
|
16
16
|
this.username = tweet.username
|
|
17
17
|
this.url = tweet.url
|
|
18
|
-
this.
|
|
18
|
+
this.tweet_time = tweet.tweet_time
|
|
19
19
|
// this.tweet_content = tweet.tweet_content
|
|
20
20
|
// this.quote = tweet.quote
|
|
21
21
|
this.html = tweet.html
|
|
@@ -28,7 +28,7 @@ export class Tweet {
|
|
|
28
28
|
typeof tweet.tweet_id === "string" &&
|
|
29
29
|
typeof tweet.username === "string" &&
|
|
30
30
|
typeof tweet.url === "string" &&
|
|
31
|
-
typeof tweet.
|
|
31
|
+
typeof tweet.tweet_time === "string" &&
|
|
32
32
|
// typeof tweet.tweet_content === "string" &&
|
|
33
33
|
// (tweet.quote === undefined || typeof tweet.quote === "string") &&
|
|
34
34
|
typeof tweet.html === "string"
|