fix: Move "public document sharing" to "Permissions" (#2496)
* Convert to functional component * Move public sharing to permissions * Add collections.permission_changed event * Account for null * Update server/events.js Co-authored-by: Tom Moor <tom.moor@gmail.com> * Add collections.permission_changed event * Remove name Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
@ -174,6 +174,17 @@ export type CollectionEvent =
|
||||
actorId: string,
|
||||
data: { index: string },
|
||||
ip: string,
|
||||
}
|
||||
| {
|
||||
name: "collections.permission_changed",
|
||||
collectionId: string,
|
||||
teamId: string,
|
||||
actorId: string,
|
||||
data: {
|
||||
privacyChanged: boolean,
|
||||
sharingChanged: boolean,
|
||||
},
|
||||
ip: string,
|
||||
};
|
||||
|
||||
export type GroupEvent =
|
||||
|
Reference in New Issue
Block a user