Skip to content

DoCurious API Reference / types / FeedItem

Interface: FeedItem ​

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

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? ​

optional author: object

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

avatarUrl? ​

optional avatarUrl: string

displayName ​

displayName: string

id ​

id: string


authorUserId ​

authorUserId: string

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


challengeId? ​

optional challengeId: string

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

Referenced Challenge (for bucket_list and challenge_share types)


commentCount ​

commentCount: number

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


communityId ​

communityId: string

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


createdAt ​

createdAt: string

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

ISO 8601 datetime when the entity was created

Inherited from ​

BaseEntity.createdAt


id ​

id: string

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

Inherited from ​

BaseEntity.id


isAnnouncement ​

isAnnouncement: boolean

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

Whether this is an admin announcement (always pinned, special styling)


isPinned ​

isPinned: boolean

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

Whether this item is pinned to the top of its feed


likeCount ​

likeCount: number

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


textContent? ​

optional textContent: string

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

User-authored text content (optional for TR shares which use the TR itself)


trackRecord? ​

optional trackRecord: TrackRecord

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


trackRecordId? ​

optional trackRecordId: string

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

Referenced Track Record (for track_record and milestone types)


type ​

type: FeedItemType

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


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