(queryClient: ReturnType<typeof useQueryClient>, tableId: string)
| 174 | } |
| 175 | |
| 176 | function invalidateRowCount(queryClient: ReturnType<typeof useQueryClient>, tableId: string) { |
| 177 | queryClient.invalidateQueries({ queryKey: tableKeys.rowsRoot(tableId) }) |
| 178 | queryClient.invalidateQueries({ queryKey: tableKeys.detail(tableId) }) |
| 179 | queryClient.invalidateQueries({ queryKey: tableKeys.lists() }) |
| 180 | } |
| 181 | |
| 182 | /** |
| 183 | * Invalidate only the row-count surfaces — the table detail and the tables |
no outgoing calls
no test coverage detected