Skip to content

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

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


invitedByUserId?

optional invitedByUserId: string

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

User ID of the person who invited this member


joinedAt?

optional joinedAt: 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

BaseEntity.updatedAt


user?

optional user: object

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

avatarUrl?

optional avatarUrl: string

displayName

displayName: string

id

id: string


userId

userId: string

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

DoCurious Platform Documentation