Appearance
DoCurious API Reference / types / ContentFlag
Interface: ContentFlag
Defined in: types/community.types.ts:283
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?
optionalactionTaken:"none"|"warning"|"content_removed"|"user_banned"
Defined in: types/community.types.ts:297
Action taken by the moderator after review
communityId
communityId:
string
Defined in: types/community.types.ts:284
contentId
contentId:
string
Defined in: types/community.types.ts:289
ID of the flagged content
contentType
contentType:
"user"|"feed_item"|"comment"
Defined in: types/community.types.ts:287
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
description?
optionaldescription:string
Defined in: types/community.types.ts:293
Optional description from the reporter
id
id:
string
Defined in: types/common.types.ts:167
Inherited from
reason
reason:
"other"|"spam"|"harassment"|"inappropriate"|"misinformation"
Defined in: types/community.types.ts:291
Reason for the flag
reporterUserId
reporterUserId:
string
Defined in: types/community.types.ts:285
reviewedAt?
optionalreviewedAt:string
Defined in: types/community.types.ts:301
reviewedByUserId?
optionalreviewedByUserId:string
Defined in: types/community.types.ts:300
reviewNotes?
optionalreviewNotes:string
Defined in: types/community.types.ts:299
Moderator's notes about the review decision
status
status:
"pending"|"reviewed"|"dismissed"
Defined in: types/community.types.ts:295
Current review status
updatedAt
updatedAt:
string
Defined in: types/common.types.ts:156
ISO 8601 datetime when the entity was last modified