Appearance
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?
optionalcommunity: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
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
invitedByUserId
invitedByUserId:
string
Defined in: types/community.types.ts:266
invitedEmail?
optionalinvitedEmail:string
Defined in: types/community.types.ts:263
Email address for inviting non-registered users
invitedUserId?
optionalinvitedUserId: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