Skip to content

Commit 63e3a86

Browse files
Copilothotlong
andcommitted
fix: add missing pinned/starred fields to in-memory-feed-adapter
The FeedItemSchema requires pinned and starred boolean fields, but the in-memory-feed-adapter was not including them when constructing new FeedItem objects, causing the DTS build to fail with TS2739. Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 755b8f0 commit 63e3a86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/services/service-feed/src/in-memory-feed-adapter.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ export class InMemoryFeedAdapter implements IFeedService {
147147
visibility: input.visibility ?? 'public',
148148
replyCount: 0,
149149
isEdited: false,
150+
pinned: false,
151+
starred: false,
150152
createdAt: now,
151153
};
152154

0 commit comments

Comments
 (0)