Appearance
DoCurious API Reference / types / FeedItem
Interface: FeedItem
Defined in: types/community.types.ts:194
A single item in a community feed (Bucket List, Track Record, or Discussion).
Remarks
The type field determines which feed tab this item appears in and what referenced entities are populated (trackRecordId for TR feed, challengeId for Bucket List feed, etc.).
Extends
Properties
author?
optionalauthor:object
Defined in: types/community.types.ts:216
avatarUrl?
optionalavatarUrl:string
displayName
displayName:
string
id
id:
string
authorUserId
authorUserId:
string
Defined in: types/community.types.ts:196
challengeId?
optionalchallengeId:string
Defined in: types/community.types.ts:205
Referenced Challenge (for bucket_list and challenge_share types)
commentCount
commentCount:
number
Defined in: types/community.types.ts:213
communityId
communityId:
string
Defined in: types/community.types.ts:195
createdAt
createdAt:
string
Defined in: types/common.types.ts:154
ISO 8601 datetime when the entity was created
Inherited from
id
id:
string
Defined in: types/common.types.ts:167
Inherited from
isAnnouncement
isAnnouncement:
boolean
Defined in: types/community.types.ts:210
Whether this is an admin announcement (always pinned, special styling)
isPinned
isPinned:
boolean
Defined in: types/community.types.ts:208
Whether this item is pinned to the top of its feed
likeCount
likeCount:
number
Defined in: types/community.types.ts:212
textContent?
optionaltextContent:string
Defined in: types/community.types.ts:200
User-authored text content (optional for TR shares which use the TR itself)
trackRecord?
optionaltrackRecord:TrackRecord
Defined in: types/community.types.ts:221
trackRecordId?
optionaltrackRecordId:string
Defined in: types/community.types.ts:203
Referenced Track Record (for track_record and milestone types)
type
type:
FeedItemType
Defined in: types/community.types.ts:197
updatedAt
updatedAt:
string
Defined in: types/common.types.ts:156
ISO 8601 datetime when the entity was last modified