(workflowEntries: Record<string, ConsoleEntry[]>)
| 170 | } |
| 171 | |
| 172 | function rebuildWorkflowStateMaps(workflowEntries: Record<string, ConsoleEntry[]>) { |
| 173 | const entryIdsByBlockExecution: Record<string, string[]> = {} |
| 174 | const entryLocationById: Record<string, ConsoleEntryLocation> = {} |
| 175 | |
| 176 | Object.entries(workflowEntries).forEach(([workflowId, entries]) => { |
| 177 | indexWorkflowEntries(workflowId, entries, entryIdsByBlockExecution, entryLocationById) |
| 178 | }) |
| 179 | |
| 180 | return { entryIdsByBlockExecution, entryLocationById } |
| 181 | } |
| 182 | |
| 183 | function replaceWorkflowEntries( |
| 184 | state: ConsoleStore, |
no test coverage detected