Pular para o conteúdo principal

FeedPostSource

@raizfc/contracts


@raizfc/contracts / FeedPostSource

Type Alias: FeedPostSource

FeedPostSource = "entity_official" | "platform_generated" | "platform_suggested"

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

SPEC-DOMAIN-FEED-001 "Source": the home feed (IS-MVP-11.1) aggregates existing published content at read time instead of introducing a second, duplicate store. entity_official items are a projection of PublicTeamResponse.feed/PublicTorcidaResponse.posts (PublicTeamPostDto, already real since EP-MVP-04.5/EP-MVP-08.3). Divergence registered by EP-MVP-11.2: rather than adding a literal POST /feed/posts write path (SPEC-API-ENGAGEMENT-001), "Publicações oficiais e templates" extends the already-real TeamPostDto/TorcidaPostDto write path with a type/link template shape (OfficialPostContentType, packages/contracts/src/assets.ts) — the same precedent already used throughout the 07.x/08.x/11.x arcs of reusing an existing entity-scoped endpoint instead of duplicating a second write surface for the same underlying record. platform_generated items are likewise a projection of real match data (SPEC-DOMAIN-MATCH-001, IS-MVP-06.x), never fabricated. platform_suggested has no producer yet — that is IS-MVP-11.3's scope ("Sugestões da plataforma e aprovação") — the value exists on the type for spec conformance (SPEC-DOMAIN-FEED-001 "Estados") but this pack never emits an instance with it.