( queryClient: QueryClient, chatId: string, )
| 1362 | }); |
| 1363 | |
| 1364 | export const promoteChatQueuedMessage = ( |
| 1365 | queryClient: QueryClient, |
| 1366 | chatId: string, |
| 1367 | ) => ({ |
| 1368 | mutationFn: (queuedMessageId: number) => |
| 1369 | API.experimental.promoteChatQueuedMessage(chatId, queuedMessageId), |
| 1370 | onSuccess: () => { |
| 1371 | void invalidateChatDebugRuns(queryClient, chatId); |
| 1372 | }, |
| 1373 | }); |
| 1374 | |
| 1375 | export const chatDiffContentsKey = (chatId: string) => |
| 1376 | ["chats", chatId, "diff-contents"] as const; |
no test coverage detected