( queryClient: ReturnType<typeof useQueryClient>, snapshots: RowsCacheSnapshots )
| 1948 | } |
| 1949 | |
| 1950 | export function restoreCachedWorkflowCells( |
| 1951 | queryClient: ReturnType<typeof useQueryClient>, |
| 1952 | snapshots: RowsCacheSnapshots |
| 1953 | ) { |
| 1954 | for (const [key, data] of snapshots) { |
| 1955 | queryClient.setQueryData(key, data) |
| 1956 | } |
| 1957 | } |
| 1958 | |
| 1959 | /** |
| 1960 | * Optimistic exec patch — flips every targeted (group, row) execution to |
no outgoing calls
no test coverage detected