Export post

This commit is contained in:
Eric Bailey
2025-02-11 10:25:19 -06:00
parent 1a210accf4
commit 19a05695b2
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ import {atoms as a, useTheme} from '#/alf'
import {MediaInsetBorder} from '#/components/MediaInsetBorder'
import {Text} from '#/components/Typography'
import {PlayButtonIcon} from '#/components/video/PlayButtonIcon'
import {parseEmbed} from '#/types/bsky/post'
import * as bsky from '#/types/bsky'
/**
* Streamlined MediaPreview component which just handles images, gifs, and videos
@@ -21,7 +21,7 @@ export function Embed({
embed: AppBskyFeedDefs.PostView['embed']
style?: StyleProp<ViewStyle>
}) {
const e = parseEmbed(embed)
const e = bsky.post.parseEmbed(embed)
if (!e) return null
+1
View File
@@ -1,6 +1,7 @@
import {asPredicate} from '@atproto/api'
import {ValidationResult} from '@atproto/lexicon'
export * as post from '#/types/bsky/post'
export * as profile from '#/types/bsky/profile'
export * as starterPack from '#/types/bsky/starterPack'