Pular para o conteúdo principal

UpdatePostRequest

@raizfc/contracts


@raizfc/contracts / UpdatePostRequest

Type Alias: UpdatePostRequest

UpdatePostRequest = Readonly<{ link?: PostLinkDto; media?: ImageAsset; text?: string; title?: string; version: number; }>

Defined in: team/team-posts.dto.ts:61

Editing is draft-only (SPEC-DOMAIN-FEED-001: "PATCH /api/v1/feed/posts/:id | Editar draft") — a published or archived post cannot be patched, only transitioned via publish/archive. type is intentionally absent here (see TeamPostDto doc comment) — only the content within the chosen type's shape can be edited.