feat(yachts): atomic transferOwnership with partial-unique guard
This commit is contained in:
@@ -81,6 +81,10 @@ export interface ServerToClientEvents {
|
||||
'yacht:created': (payload: { yachtId: string }) => void;
|
||||
'yacht:updated': (payload: { yachtId: string; changedFields: string[] }) => void;
|
||||
'yacht:archived': (payload: { yachtId: string }) => void;
|
||||
'yacht:ownership_transferred': (payload: {
|
||||
yachtId: string;
|
||||
newOwner: { type: 'client' | 'company'; id: string };
|
||||
}) => void;
|
||||
|
||||
// Document events
|
||||
'document:created': (payload: { documentId: string; type?: string; interestId?: string }) => void;
|
||||
|
||||
Reference in New Issue
Block a user