[Feature] Twitter retweets (#143)

Feature: Retweets
This commit is contained in:
Erik authored and GitHub committed 2021-03-07 16:03:33 +01:00
1 parent 1a09fa57ae
commit 21152fa38a
16 files changed
+382 -142

No files matched your search

+22 -10
View File
@@ -1,15 +1,27 @@
export interface Tweet {
id: number;
profile_name?: string;
profile_id: number;
isMine: boolean;
isReported: boolean;
avatar_url?: string;
export interface NewTweet {
message: string;
createdAt?: string;
updatedAt?: string;
images?: string;
likes?: number;
retweet?: number;
}
export interface Tweet extends NewTweet {
profile_name: string;
profile_id: number;
id: number;
isMine: boolean;
isLiked: boolean;
isReported: boolean;
avatar_url: string;
isRetweet: number | boolean;
isRetweetedByPlayer?: boolean;
retweetIdentifier: string;
retweetId: string;
seconds_since_tweet: number;
retweetProfileName: string;
retweetAvatarUrl: string;
createdAt: string;
updatedAt: string;
}
export interface Profile {