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:
Apoorv Mishra
2023-12-27 20:42:39 +05:30
committed by GitHub
parent 027357acad
commit 548a56e058
9 changed files with 106 additions and 28 deletions

View File

@@ -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 &