Accomodate membership id (#6221)
* fix: accomodate membership id * fix: remove only * fix: event handling * fix: tests * fix: use transaction * Remove useless test --------- Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
@@ -199,15 +199,14 @@ export type CollectionUserEvent = BaseEvent & {
|
||||
name: "collections.add_user" | "collections.remove_user";
|
||||
userId: string;
|
||||
collectionId: string;
|
||||
data: { name: string; membershipId: string };
|
||||
};
|
||||
|
||||
export type CollectionGroupEvent = BaseEvent & {
|
||||
name: "collections.add_group" | "collections.remove_group";
|
||||
collectionId: string;
|
||||
modelId: string;
|
||||
data: {
|
||||
name: string;
|
||||
};
|
||||
data: { name: string; membershipId: string };
|
||||
};
|
||||
|
||||
export type CollectionEvent = BaseEvent &
|
||||
|
||||
Reference in New Issue
Block a user