This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

feat: update FeedService to support urlType parameter

Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>

+3
+3
src/modules/feeds/domain/services/FeedService.ts
··· 5 5 import { CuratorId } from '../../../cards/domain/value-objects/CuratorId'; 6 6 import { CardId } from '../../../cards/domain/value-objects/CardId'; 7 7 import { CollectionId } from '../../../cards/domain/value-objects/CollectionId'; 8 + import { UrlType } from '../../../cards/domain/value-objects/UrlType'; 8 9 9 10 export class FeedServiceError extends Error { 10 11 constructor(message: string) { ··· 20 21 actorId: CuratorId, 21 22 cardId: CardId, 22 23 collectionIds?: CollectionId[], 24 + urlType?: UrlType, 23 25 ): Promise<Result<FeedActivity, FeedServiceError>> { 24 26 try { 25 27 const activityResult = FeedActivity.createCardCollected( 26 28 actorId, 27 29 cardId, 28 30 collectionIds, 31 + urlType, 29 32 ); 30 33 31 34 if (activityResult.isErr()) {