flip the lib type imports and move the xrpc error helpers off the old client

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Samuel Newman
2026-08-04 04:20:51 +03:00
parent 6792677be8
commit 8c228c2e4f
30 changed files with 169 additions and 198 deletions
+3 -4
View File
@@ -1,5 +1,4 @@
import {type AppBskyEmbedExternal} from '@atproto/api'
import {app} from '#/lexicons'
import {LINK_META_PROXY} from '#/lib/constants'
import {getGiphyMetaUri} from '#/lib/strings/embed-player'
import {parseStarterPackUri} from '#/lib/strings/starter-pack'
@@ -26,8 +25,8 @@ export interface LinkMeta {
* The AT-URI of the Atmosphere record representing this external content, if
* it exists. Example: a site.standard.document record.
*/
associatedRefs?: AppBskyEmbedExternal.External['associatedRefs']
view?: AppBskyEmbedExternal.View
associatedRefs?: app.bsky.embed.external.External['associatedRefs']
view?: app.bsky.embed.external.View
}
export async function getLinkMeta(