diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-12-14 15:35:15 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-12-14 15:35:15 -0600 |
commit | 4966b2152eb213bac34cbcb0ff01c246b7746f5c (patch) | |
tree | 5cc90408631c984018f1b5a4b06f428d3d31d4a5 /src/state/models/feed-view.ts | |
parent | 345ec83f26e209929ca86b3885227e8508fb2cb8 (diff) | |
download | voidsky-4966b2152eb213bac34cbcb0ff01c246b7746f5c.tar.zst |
Add post embeds (images and external links)
Diffstat (limited to 'src/state/models/feed-view.ts')
-rw-r--r-- | src/state/models/feed-view.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/models/feed-view.ts b/src/state/models/feed-view.ts index 75ed82684..503e2a4c6 100644 --- a/src/state/models/feed-view.ts +++ b/src/state/models/feed-view.ts @@ -49,6 +49,7 @@ export class FeedItemModel implements GetTimeline.FeedItem { repostedBy?: ActorRef.WithInfo trendedBy?: ActorRef.WithInfo record: Record<string, unknown> = {} + embed?: GetTimeline.FeedItem['embed'] replyCount: number = 0 repostCount: number = 0 upvoteCount: number = 0 @@ -78,6 +79,7 @@ export class FeedItemModel implements GetTimeline.FeedItem { this.repostedBy = v.repostedBy this.trendedBy = v.trendedBy this.record = v.record + this.embed = v.embed this.replyCount = v.replyCount this.repostCount = v.repostCount this.upvoteCount = v.upvoteCount |