Skip to content

DoCurious API Reference / types / CommunityInvitation

Interface: CommunityInvitation

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

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:292


communityId

communityId: string

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


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:289

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:285


invitedEmail?

optional invitedEmail: string

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

Email address for inviting non-registered users


invitedUserId?

optional invitedUserId: string

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

User ID for inviting existing platform members


status

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

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


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