IWithFollowersBehavior

Interface

Followers behavior for Item-Backed Entities

Methods

Method Returns Notes
Promise<IGroup>

Get the followers group

Promise<void>

Set the access level of the followers group

Promise<void>

Set whether or not the followers group is discussable

getFollowersGroup

Interface Method

Get the followers group

  • getFollowersGroup() : Promise<IGroup>

Returns

Promise<IGroup>

setFollowersGroupAccess

Interface Method

Set the access level of the followers group

Parameters

Parameter Type Default Notes
access Required SettableAccessLevel

Returns

Promise<void>

setFollowersGroupIsDiscussable

Interface Method

Set whether or not the followers group is discussable

  • setFollowersGroupIsDiscussable(isDiscussable: boolean) : Promise<void>

Parameters

Parameter Type Default Notes
isDiscussable Required boolean

Returns

Promise<void>

Interface defined in common/src/core/behaviors/IWithFollowersBehavior.ts:7