(queryClient: QueryClient)
| 2031 | }); |
| 2032 | |
| 2033 | export const deleteMCPServerConfig = (queryClient: QueryClient) => ({ |
| 2034 | mutationFn: (id: string) => API.experimental.deleteMCPServerConfig(id), |
| 2035 | onSuccess: async () => { |
| 2036 | await invalidateMCPServerConfigQueries(queryClient); |
| 2037 | }, |
| 2038 | }); |
| 2039 | |
| 2040 | type SetChatUserRoleVariables = { |
| 2041 | chatId: string; |
no test coverage detected