()
| 1542 | const chatAutoArchiveDaysKey = ["chat-auto-archive-days"] as const; |
| 1543 | |
| 1544 | export const chatAutoArchiveDays = () => ({ |
| 1545 | queryKey: chatAutoArchiveDaysKey, |
| 1546 | queryFn: () => API.experimental.getChatAutoArchiveDays(), |
| 1547 | }); |
| 1548 | |
| 1549 | export const updateChatAutoArchiveDays = (queryClient: QueryClient) => ({ |
| 1550 | mutationFn: API.experimental.updateChatAutoArchiveDays, |
no test coverage detected