(queryClient: ReturnType<typeof useQueryClient>, tableId: string)
| 200 | } |
| 201 | |
| 202 | function invalidateTableSchema(queryClient: ReturnType<typeof useQueryClient>, tableId: string) { |
| 203 | queryClient.invalidateQueries({ queryKey: tableKeys.detail(tableId) }) |
| 204 | queryClient.invalidateQueries({ queryKey: tableKeys.rowsRoot(tableId) }) |
| 205 | queryClient.invalidateQueries({ queryKey: tableKeys.lists() }) |
| 206 | } |
| 207 | |
| 208 | /** |
| 209 | * Fetch all tables for a workspace. |
no outgoing calls
no test coverage detected