mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-23 13:29:02 +08:00
fix(server): handle hanging workspace after user account deleted (#8377)
fix CLOUD-74
This commit is contained in:
@@ -19,7 +19,11 @@ export interface DocEvents {
|
||||
|
||||
export interface UserEvents {
|
||||
updated: Payload<Omit<User, 'password'>>;
|
||||
deleted: Payload<User>;
|
||||
deleted: Payload<
|
||||
User & {
|
||||
ownedWorkspaces: Workspace['id'][];
|
||||
}
|
||||
>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user