Pular para o conteúdo principal

TorcidaPostDto

@raizfc/contracts


@raizfc/contracts / TorcidaPostDto

Type Alias: TorcidaPostDto

TorcidaPostDto = Readonly<{ archivedAt?: ISODateString; authorId: ID; createdAt: ISODateString; id: ID; link?: PostLinkDto; media?: ImageAsset; publicRoute: PublicRoute; publishedAt?: ISODateString; status: TorcidaPostStatus; text: string; title: string; torcidaId: ID; type: OfficialPostContentType; updatedAt: ISODateString; version: number; }>

Defined in: torcida/torcida.dto.ts:251

type (IS-MVP-11.2 "Allowed post types") is fixed at creation, mirroring TeamPostDto — see that type's doc comment for the shared rationale (validateOfficialPostContent, packages/contracts/src/assets.ts).