Skip to content

DoCurious API Reference / types / ContentReport

Interface: ContentReport ​

Defined in: types/report.types.ts:15

Base interface for all persisted domain entities, providing a UUID and timestamps.

Remarks ​

Nearly every domain type in the application extends BaseEntity. The id field is mapped from the backend's uuid column by the adapter layer.

Extends ​

Properties ​

actionTaken? ​

optional actionTaken: ModerationActionType

Defined in: types/report.types.ts:29


communityId? ​

optional communityId: string

Defined in: types/report.types.ts:24


contentId ​

contentId: string

Defined in: types/report.types.ts:18


contentPreview? ​

optional contentPreview: string

Defined in: types/report.types.ts:37


contentType ​

contentType: ReportableContentType

Defined in: types/report.types.ts:17


createdAt ​

createdAt: string

Defined in: types/common.types.ts:154

ISO 8601 datetime when the entity was created

Inherited from ​

BaseEntity.createdAt


description? ​

optional description: string

Defined in: types/report.types.ts:20


id ​

id: string

Defined in: types/common.types.ts:167

Inherited from ​

BaseEntity.id


reason ​

reason: ReportReason

Defined in: types/report.types.ts:19


reporter? ​

optional reporter: object

Defined in: types/report.types.ts:33

displayName ​

displayName: string

id ​

id: string


reporterId ​

reporterId: string

Defined in: types/report.types.ts:16


reviewedAt? ​

optional reviewedAt: string

Defined in: types/report.types.ts:28


reviewedByUserId? ​

optional reviewedByUserId: string

Defined in: types/report.types.ts:27


reviewNote? ​

optional reviewNote: string

Defined in: types/report.types.ts:30


status ​

status: ReportStatus

Defined in: types/report.types.ts:21


updatedAt ​

updatedAt: string

Defined in: types/common.types.ts:156

ISO 8601 datetime when the entity was last modified

Inherited from ​

BaseEntity.updatedAt

DoCurious Platform Documentation