Skip to content

DoCurious API Reference / types / CommunityGoal

Interface: CommunityGoal ​

Defined in: types/communityGoal.types.ts:54

Community Goal - a shared objective for a community

Extends ​

Properties ​

challengeIds? ​

optional challengeIds: string[]

Defined in: types/communityGoal.types.ts:69


communityId ​

communityId: string

Defined in: types/communityGoal.types.ts:55


contributionType ​

contributionType: ContributionType

Defined in: types/communityGoal.types.ts:58


coverImageUrl? ​

optional coverImageUrl: string

Defined in: types/communityGoal.types.ts:68


createdAt ​

createdAt: string

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

ISO 8601 datetime when the entity was created

Inherited from ​

BaseEntity.createdAt


currentAmount ​

currentAmount: number

Defined in: types/communityGoal.types.ts:60


description ​

description: string

Defined in: types/communityGoal.types.ts:57


endDate ​

endDate: string

Defined in: types/communityGoal.types.ts:62


id ​

id: string

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

Inherited from ​

BaseEntity.id


milestones ​

milestones: GoalMilestone[]

Defined in: types/communityGoal.types.ts:64


participantCount ​

participantCount: number

Defined in: types/communityGoal.types.ts:65


rewardBadgeId? ​

optional rewardBadgeId: string

Defined in: types/communityGoal.types.ts:67


rewardXp ​

rewardXp: number

Defined in: types/communityGoal.types.ts:66


startDate ​

startDate: string

Defined in: types/communityGoal.types.ts:61


status ​

status: CommunityGoalStatus

Defined in: types/communityGoal.types.ts:63


targetAmount ​

targetAmount: number

Defined in: types/communityGoal.types.ts:59


title ​

title: string

Defined in: types/communityGoal.types.ts:56


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