aboutsummaryrefslogtreecommitdiffstats
path: root/adenosine-pds/src/web.rs
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@robocracy.org>2023-02-20 02:02:59 -0800
committerbryan newbold <bnewbold@robocracy.org>2023-02-20 02:02:59 -0800
commitb1b437ce1f83ebfb8808964846c964cac5e907c2 (patch)
tree30fe900a75eb9e0b6a8ec4346dd1c66ed3581798 /adenosine-pds/src/web.rs
parentb1af748739fadce312aafc1e5f09ced891c326b2 (diff)
downloadadenosine-b1b437ce1f83ebfb8808964846c964cac5e907c2.tar.gz
adenosine-b1b437ce1f83ebfb8808964846c964cac5e907c2.zip
app_bsky: expand post (and post view) types
Diffstat (limited to 'adenosine-pds/src/web.rs')
-rw-r--r--adenosine-pds/src/web.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/adenosine-pds/src/web.rs b/adenosine-pds/src/web.rs
index 8f15a49..fc75a93 100644
--- a/adenosine-pds/src/web.rs
+++ b/adenosine-pds/src/web.rs
@@ -29,8 +29,8 @@ pub struct AboutView {
pub struct AccountView {
pub domain: String,
pub did: Did,
- pub profile: app_bsky::Profile,
- pub feed: Vec<app_bsky::FeedItem>,
+ pub profile: app_bsky::ProfileView,
+ pub feed: Vec<app_bsky::FeedPostView>,
}
#[derive(Template)]
@@ -40,7 +40,7 @@ pub struct ThreadView {
pub did: Did,
pub collection: Nsid,
pub tid: Tid,
- pub post: app_bsky::ThreadItem,
+ pub post: app_bsky::ThreadPostView,
}
#[derive(Template)]