Appearance
DoCurious API Reference / types / CommunityMembership
Interface: CommunityMembership
Defined in: types/community.types.ts:160
A user's membership record within a Community, including role and permissions.
Extends
Properties
canInvite
canInvite:
boolean
Defined in: types/community.types.ts:171
Whether this member can send invitations to new users
canModerate
canModerate:
boolean
Defined in: types/community.types.ts:169
Whether this member can moderate (approve/remove) posts and comments
canPost
canPost:
boolean
Defined in: types/community.types.ts:167
Whether this member can create posts in the community feed
communityId
communityId:
string
Defined in: types/community.types.ts:161
createdAt
createdAt:
string
Defined in: types/common.types.ts:154
ISO 8601 datetime when the entity was created
Inherited from
id
id:
string
Defined in: types/common.types.ts:167
Inherited from
invitedAt?
optionalinvitedAt:string
Defined in: types/community.types.ts:174
invitedByUserId?
optionalinvitedByUserId:string
Defined in: types/community.types.ts:176
User ID of the person who invited this member
joinedAt?
optionaljoinedAt:string
Defined in: types/community.types.ts:173
role
role:
CommunityRole
Defined in: types/community.types.ts:163
status
status:
MembershipStatus
Defined in: types/community.types.ts:164
updatedAt
updatedAt:
string
Defined in: types/common.types.ts:156
ISO 8601 datetime when the entity was last modified
Inherited from
user?
optionaluser:object
Defined in: types/community.types.ts:179
avatarUrl?
optionalavatarUrl:string
displayName
displayName:
string
id
id:
string
userId
userId:
string
Defined in: types/community.types.ts:162