fix(server): send declined email (#9188)

This commit is contained in:
DarkSky
2024-12-17 18:15:43 +08:00
committed by GitHub
parent b0e64fe516
commit e3f922bfac
5 changed files with 21 additions and 13 deletions

View File

@@ -5,7 +5,10 @@ import { Flatten, Payload } from './types';
export interface WorkspaceEvents {
members: {
reviewRequested: Payload<{ inviteId: string }>;
requestDeclined: Payload<{ inviteId: string }>;
requestDeclined: Payload<{
userId: User['id'];
workspaceId: Workspace['id'];
}>;
requestApproved: Payload<{ inviteId: string }>;
updated: Payload<{ workspaceId: Workspace['id']; count: number }>;
};