Skip to content

DoCurious API Reference / types / CommunityMembership

Interface: CommunityMembership ​

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

A user's membership record within a Community, including role and permissions.

Extends ​

Properties ​

canInvite ​

canInvite: boolean

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

Whether this member can send invitations to new users


canModerate ​

canModerate: boolean

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

Whether this member can moderate (approve/remove) posts and comments


canPost ​

canPost: boolean

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

Whether this member can create posts in the community feed


communityId ​

communityId: string

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


createdAt ​

createdAt: string

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

ISO 8601 datetime when the entity was created

Inherited from ​

BaseEntity.createdAt


id ​

id: string

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

Inherited from ​

BaseEntity.id


invitedAt? ​

optional invitedAt: string

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


invitedByUserId? ​

optional invitedByUserId: string

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

User ID of the person who invited this member


joinedAt? ​

optional joinedAt: string

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


role ​

role: CommunityRole

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


status ​

status: MembershipStatus

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


updatedAt ​

updatedAt: string

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

ISO 8601 datetime when the entity was last modified

Inherited from ​

BaseEntity.updatedAt


user? ​

optional user: object

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

avatarUrl? ​

optional avatarUrl: string

displayName ​

displayName: string

id ​

id: string


userId ​

userId: string

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

DoCurious Platform Documentation