format codebase with prettier
This commit is contained in:
@@ -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");
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user