Appearance
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?
optionalactionTaken:"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
description?
optionaldescription: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
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?
optionalreviewedAt:string
Defined in: types/community.types.ts:320
reviewedByUserId?
optionalreviewedByUserId:string
Defined in: types/community.types.ts:319
reviewNotes?
optionalreviewNotes: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