change group views to add new parameters - #687
This commit is contained in:
@@ -23,6 +23,7 @@ export interface IGroup extends IActor {
|
||||
openness: Openness;
|
||||
visibility: GroupVisibility;
|
||||
manuallyApprovesFollowers: boolean;
|
||||
allowSeeParticipants: boolean;
|
||||
activity: Paginate<IActivity>;
|
||||
followers: Paginate<IFollower>;
|
||||
membersCount?: number;
|
||||
@@ -58,6 +59,8 @@ export class Group extends Actor implements IGroup {
|
||||
|
||||
manuallyApprovesFollowers = false;
|
||||
|
||||
allowSeeParticipants = true;
|
||||
|
||||
patch(hash: IGroup | Record<string, unknown>): void {
|
||||
Object.assign(this, hash);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user