format codebase with prettier

This commit is contained in:
2026-01-04 16:17:36 +01:00
parent 77f15b6dd1
commit e3f7a778c7
63 changed files with 786 additions and 542 deletions

View File

@@ -28,27 +28,32 @@ export const ChatService = {
action: EventAction,
event?: CreateEventDTO,
eventId?: string,
updates?: UpdateEventDTO
updates?: UpdateEventDTO,
): Promise<ChatResponse> => {
const body: ConfirmEventRequest = { action, event, eventId, updates };
return ApiClient.post<ChatResponse>(`/chat/confirm/${conversationId}/${messageId}`, body);
return ApiClient.post<ChatResponse>(
`/chat/confirm/${conversationId}/${messageId}`,
body,
);
},
rejectEvent: async (
conversationId: string,
messageId: string
messageId: string,
): Promise<ChatResponse> => {
return ApiClient.post<ChatResponse>(`/chat/reject/${conversationId}/${messageId}`);
return ApiClient.post<ChatResponse>(
`/chat/reject/${conversationId}/${messageId}`,
);
},
getConversations: async (): Promise<ConversationSummary[]> => {
throw new Error('Not implemented');
throw new Error("Not implemented");
},
getConversation: async (
_id: string,
_options?: GetMessagesOptions
_options?: GetMessagesOptions,
): Promise<ChatMessage[]> => {
throw new Error('Not implemented');
throw new Error("Not implemented");
},
};