diff options
Diffstat (limited to 'src/lib/api')
-rw-r--r-- | src/lib/api/feed-manip.ts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/api/feed-manip.ts b/src/lib/api/feed-manip.ts index a1b2e2bc9..3309191f3 100644 --- a/src/lib/api/feed-manip.ts +++ b/src/lib/api/feed-manip.ts @@ -1,5 +1,5 @@ import { - AppBskyActorDefs, + type AppBskyActorDefs, AppBskyEmbedRecord, AppBskyEmbedRecordWithMedia, AppBskyFeedDefs, @@ -9,7 +9,7 @@ import { import * as bsky from '#/types/bsky' import {isPostInLanguage} from '../../locale/helpers' import {FALLBACK_MARKER_POST} from './feed/home' -import {ReasonFeedSource} from './feed/types' +import {type ReasonFeedSource} from './feed/types' type FeedViewPost = AppBskyFeedDefs.FeedViewPost @@ -187,6 +187,10 @@ export class FeedViewPostsSlice { return this._feedPost.feedContext } + get reqId() { + return this._feedPost.reqId + } + get isRepost() { const reason = this._feedPost.reason return AppBskyFeedDefs.isReasonRepost(reason) |