aboutsummaryrefslogtreecommitdiffstats
path: root/adenosine-pds/src/models.rs
diff options
context:
space:
mode:
Diffstat (limited to 'adenosine-pds/src/models.rs')
-rw-r--r--adenosine-pds/src/models.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/adenosine-pds/src/models.rs b/adenosine-pds/src/models.rs
index 5bf4329..573ff2f 100644
--- a/adenosine-pds/src/models.rs
+++ b/adenosine-pds/src/models.rs
@@ -178,7 +178,8 @@ pub struct FeedItem {
pub embed: Option<Value>,
pub replyCount: u64,
pub repostCount: u64,
- pub likeCount: u64,
+ pub upvoteCount: u64,
+ pub downvoteCount: u64,
pub indexedAt: String,
pub myState: Option<Value>,
}
@@ -219,8 +220,9 @@ pub struct ThreadItem {
pub parent: Option<Box<ThreadItem>>,
pub replyCount: u64,
pub replies: Option<Vec<ThreadItem>>,
- pub likeCount: u64,
pub repostCount: u64,
+ pub upvoteCount: u64,
+ pub downvoteCount: u64,
pub indexedAt: String,
pub myState: Option<Value>,
}