Pular para o conteúdo principal

FeedReportTarget

@raizfc/contracts


@raizfc/contracts / FeedReportTarget

Type Alias: FeedReportTarget

FeedReportTarget = Readonly<{ id: ID; type: ReportTargetType; }>

Defined in: engagement/feed.dto.ts:117

SPEC-UX-HOME-001 "Compartilhar, Denunciar e Abrir": Denunciar needs the same ReportTargetType vocabulary every other public surface already uses (team_post/ torcida_post for a real post, match for a platform match card) — never the feed's own synthetic id. Returns undefined when the item predates sourceId (defensive, not expected once mock/API are in parity) or is a type this pack has no report target for yet.