Update APIs

This commit is contained in:
Eric Bailey
2025-05-25 13:05:32 -05:00
parent da4afb78d0
commit ef3baf8368
6 changed files with 42 additions and 73 deletions
+5 -2
View File
@@ -90,7 +90,6 @@ export function threadPost({
record: AppBskyFeedPost.Record
},
},
annotations: new Set(value.annotations),
moderation: moderatePost(value.post, moderationOpts),
ui: {
isAnchor: depth === 0,
@@ -114,7 +113,11 @@ export function postViewToThreadPlaceholder(
value: {
$type: 'app.bsky.unspecced.getPostThreadV2#threadItemPost',
post,
annotations: [],
hiddenByThreadgate: false,
opThread: false,
moreParents: false,
moreReplies: 0,
mutedByViewer: false,
},
}
}