chore(workspaces): perform workspace project role update via events (#2980)

* chore(workspaces): perform workspace project role update via events

* chore(workspaces): commented

* fix(workspaces): transactions in events

* fix(workspaces): transaction limits
This commit is contained in:
Chuck Driesler
2024-09-13 09:30:06 +01:00
committed by GitHub
parent 8ae3965346
commit b5c9e62bcb
9 changed files with 219 additions and 231 deletions
@@ -20,7 +20,10 @@ type WorkspaceCreatedPayload = Workspace & {
}
type WorkspaceUpdatedPayload = Workspace
type WorkspaceRoleDeletedPayload = Pick<WorkspaceAcl, 'userId' | 'workspaceId' | 'role'>
type WorkspaceRoleUpdatedPayload = Pick<WorkspaceAcl, 'userId' | 'workspaceId' | 'role'>
type WorkspaceRoleUpdatedPayload = Pick<
WorkspaceAcl,
'userId' | 'workspaceId' | 'role'
> & { flags?: { skipProjectRoleUpdatesFor: string[] } }
type WorkspaceJoinedFromDiscoveryPayload = {
userId: string
workspaceId: string