[SDK] Remove @atproto/api (#11386)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import {Text, View} from 'react-native'
|
||||
import {type AppBskyUnspeccedDefs} from '@atproto/api'
|
||||
import {Trans, useLingui} from '@lingui/react/macro'
|
||||
|
||||
import {atoms as a, ios, platform, useTheme} from '#/alf'
|
||||
import {useAnalytics} from '#/analytics'
|
||||
import {type app} from '#/lexicons'
|
||||
|
||||
/**
|
||||
* How far the inline badge is nudged below the text baseline. Android's
|
||||
@@ -12,7 +12,7 @@ import {useAnalytics} from '#/analytics'
|
||||
export const POST_NUMBER_INLINE_OFFSET = 6
|
||||
|
||||
export function useHasThreadItemPostNumber(
|
||||
value: AppBskyUnspeccedDefs.ThreadItemPost,
|
||||
value: app.bsky.unspecced.defs.ThreadItemPost,
|
||||
) {
|
||||
const ax = useAnalytics()
|
||||
const index = value.opThreadPostIndex
|
||||
@@ -32,7 +32,7 @@ export function ThreadItemPostNumber({
|
||||
value,
|
||||
inline = true,
|
||||
}: {
|
||||
value: AppBskyUnspeccedDefs.ThreadItemPost
|
||||
value: app.bsky.unspecced.defs.ThreadItemPost
|
||||
inline?: boolean
|
||||
}) {
|
||||
const t = useTheme()
|
||||
|
||||
Reference in New Issue
Block a user