Skip to content

DoCurious API Reference / types / ContentFlag

Interface: ContentFlag ​

Defined in: types/community.types.ts:302

A content flag (report) submitted by a user against community content.

Remarks ​

Used for community-level moderation. Admins/moderators review flagged content and take action (warn, remove, ban).

Extends ​

Properties ​

actionTaken? ​

optional actionTaken: "none" | "warning" | "content_removed" | "user_banned"

Defined in: types/community.types.ts:316

Action taken by the moderator after review


communityId ​

communityId: string

Defined in: types/community.types.ts:303


contentId ​

contentId: string

Defined in: types/community.types.ts:308

ID of the flagged content


contentType ​

contentType: "user" | "feed_item" | "comment"

Defined in: types/community.types.ts:306

Type of content being flagged


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/community.types.ts:312

Optional description from the reporter


id ​

id: string

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

Inherited from ​

BaseEntity.id


reason ​

reason: "other" | "spam" | "harassment" | "inappropriate" | "misinformation"

Defined in: types/community.types.ts:310

Reason for the flag


reporterUserId ​

reporterUserId: string

Defined in: types/community.types.ts:304


reviewedAt? ​

optional reviewedAt: string

Defined in: types/community.types.ts:320


reviewedByUserId? ​

optional reviewedByUserId: string

Defined in: types/community.types.ts:319


reviewNotes? ​

optional reviewNotes: string

Defined in: types/community.types.ts:318

Moderator's notes about the review decision


status ​

status: "pending" | "reviewed" | "dismissed"

Defined in: types/community.types.ts:314

Current review status


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