diff --git a/lexica/src/app_bsky/bookmark.rs b/lexica/src/app_bsky/bookmark.rs index 24d67cea..61a86bb4 100644 --- a/lexica/src/app_bsky/bookmark.rs +++ b/lexica/src/app_bsky/bookmark.rs @@ -16,7 +16,7 @@ pub struct BookmarkView { // This is technically the same as ReplyRefPost atm, but just in case... pub enum BookmarkViewItem { #[serde(rename = "app.bsky.feed.defs#postView")] - Post(PostView), + Post(Box), #[serde(rename = "app.bsky.feed.defs#notFoundPost")] NotFound { uri: String, @@ -27,6 +27,6 @@ pub enum BookmarkViewItem { Blocked { uri: String, blocked: bool, - author: BlockedAuthor, + author: Box, }, } diff --git a/lexica/src/app_bsky/feed.rs b/lexica/src/app_bsky/feed.rs index efba2f55..2aab1a47 100644 --- a/lexica/src/app_bsky/feed.rs +++ b/lexica/src/app_bsky/feed.rs @@ -70,7 +70,7 @@ pub struct ReplyRef { #[serde(tag = "$type")] pub enum ReplyRefPost { #[serde(rename = "app.bsky.feed.defs#postView")] - Post(PostView), + Post(Box), #[serde(rename = "app.bsky.feed.defs#notFoundPost")] NotFound { uri: String, @@ -81,7 +81,7 @@ pub enum ReplyRefPost { Blocked { uri: String, blocked: bool, - author: BlockedAuthor, + author: Box, }, } @@ -89,7 +89,7 @@ pub enum ReplyRefPost { #[serde(tag = "$type")] pub enum FeedViewPostReason { #[serde(rename = "app.bsky.feed.defs#reasonRepost")] - Repost(FeedReasonRepost), + Repost(Box), #[serde(rename = "app.bsky.feed.defs#reasonPin")] Pin, } @@ -131,7 +131,7 @@ pub enum ThreadViewPostType { Blocked { uri: String, blocked: bool, - author: BlockedAuthor, + author: Box, }, } diff --git a/lexica/src/app_bsky/unspecced.rs b/lexica/src/app_bsky/unspecced.rs index e4b906a6..af8b902d 100644 --- a/lexica/src/app_bsky/unspecced.rs +++ b/lexica/src/app_bsky/unspecced.rs @@ -12,13 +12,13 @@ pub struct ThreadV2Item { #[serde(tag = "$type")] pub enum ThreadV2ItemType { #[serde(rename = "app.bsky.unspecced.defs#threadItemPost")] - Post(ThreadItemPost), + Post(Box), #[serde(rename = "app.bsky.unspecced.defs#threadItemNoUnauthenticated")] NoUnauthenticated {}, #[serde(rename = "app.bsky.unspecced.defs#threadItemNotFound")] NotFound {}, #[serde(rename = "app.bsky.unspecced.defs#threadItemBlocked")] - Blocked { author: BlockedAuthor }, + Blocked { author: Box }, } #[derive(Clone, Debug, Serialize)]