From fa5d130259241b39b08b67ccf241acb35f842877 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 2 Jan 2025 17:49:34 -0600 Subject: [PATCH] Use internal type util to align types --- src/state/queries/postgate/util.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/state/queries/postgate/util.ts b/src/state/queries/postgate/util.ts index 96762d38cb..639d784ed3 100644 --- a/src/state/queries/postgate/util.ts +++ b/src/state/queries/postgate/util.ts @@ -5,6 +5,7 @@ import { AppBskyFeedPostgate, AtUri, } from '@atproto/api' +import {$Typed} from '@atproto/api/dist/client/util' export const POSTGATE_COLLECTION = 'app.bsky.feed.postgate' @@ -95,7 +96,7 @@ export function createMaybeDetachedQuoteEmbed({ export function createEmbedViewRecordFromPost( post: AppBskyFeedDefs.PostView, -): AppBskyEmbedRecord.ViewRecord { +): $Typed { return { $type: 'app.bsky.embed.record#viewRecord', uri: post.uri,