Pular para o conteúdo principal

SuggestedPostDto

@raizfc/contracts


@raizfc/contracts / SuggestedPostDto

Type Alias: SuggestedPostDto

SuggestedPostDto = Readonly<{ createdAt: ISODateString; decidedAt?: ISODateString; decidedBy?: ID; id: ID; kind: FeedMatchCardKind; media?: ImageAsset; rejectionReason?: string; sourceMatchId: ID; status: SuggestedPostStatus; targetRoute: PublicRoute; teamId: ID; text: string; title: string; version: number; }>

Defined in: engagement/feed-suggestion.dto.ts:25

SPEC-DOMAIN-FEED-001 "Sugestão": platform-detected content (validated result / scheduled next match) proposed to a specific team's media manager for approval before it can ever appear in the home feed as a platform_suggested card (FeedPostDto.source, IS-MVP-11.1's type with "no producer yet"). Deliberately its own persisted record, never a TeamPostDto — a suggestion's lifecycle (suggestedapproved/rejected, authored by the platform, decided by a media manager) never overlaps with the manager's own draft/published/archived posts, which stay IS-MVP-11.2's artifact ("Publicações oficiais e templates", not built by this pack). Visually a platform card even once approved (packages/ui/src/feed/feed.ts#feedPostSourceKicker already tags platform_suggested with "Direto da RaizFC", same as platform_generated) — approval publishes the platform's own card in the team's context, it does not make the team author it.