Pular para o conteúdo principal

ReportDto

@raizfc/contracts


@raizfc/contracts / ReportDto

Type Alias: ReportDto

ReportDto = Readonly<{ complementRequest?: string; createdAt: ISODateString; description: string; evidenceAssetIds: readonly ID[]; id: ID; protocol: string; reason: ReportReason; resolution?: ModerationResolutionDto; severity?: ModerationSeverity; status: ReportStatus; target: ReportTargetDto; timeline: readonly ReportTimelineEventDto[]; updatedAt: ISODateString; version: number; }>

Defined in: report-support/report.dto.ts:59

Own view only — a report has no target-facing or moderation-facing DTO in this pack (no admin/panel endpoint exists, SPEC-DOMAIN-REPORT-001 "Fora do MVP: Painel admin completo"). reporterId is intentionally absent from this DTO's own consumer-facing shape at the type level too — the domain invariant "Dados do denunciante não são expostos ao denunciado" is structural: no endpoint in this pack's produces list ever returns a ReportDto to anyone but its own reporter.