Skip to content

DoCurious API Reference / types / CommunityInvitation

Interface: CommunityInvitation

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

An invitation to join a community, sent by email or to an existing user.

Remarks

Invitations can target either a registered user (invitedUserId) or an email address (invitedEmail) for users who have not yet signed up.

Extends

Properties

community?

optional community: Community

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


communityId

communityId: string

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


createdAt

createdAt: string

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

ISO 8601 datetime when the entity was created

Inherited from

BaseEntity.createdAt


expiresAt

expiresAt: string

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

ISO datetime after which this invitation is no longer valid


id

id: string

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

Inherited from

BaseEntity.id


invitedByUserId

invitedByUserId: string

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


invitedEmail?

optional invitedEmail: string

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

Email address for inviting non-registered users


invitedUserId?

optional invitedUserId: string

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

User ID for inviting existing platform members


status

status: "pending" | "declined" | "accepted" | "expired"

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


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