(loopId: string, pathParts: string[], context: ResolutionContext)
| 200 | } |
| 201 | |
| 202 | private resolveOutput(loopId: string, pathParts: string[], context: ResolutionContext): unknown { |
| 203 | const output = context.executionState.getBlockOutput(loopId) |
| 204 | if (!output || typeof output !== 'object') { |
| 205 | return undefined |
| 206 | } |
| 207 | const value = navigatePath(output, ['results'], { |
| 208 | allowLargeValueRefs: true, |
| 209 | executionContext: context.executionContext, |
| 210 | }) |
| 211 | if (pathParts.length > 0) { |
| 212 | return navigatePath(value, pathParts, { |
| 213 | allowLargeValueRefs: context.allowLargeValueRefs, |
| 214 | executionContext: context.executionContext, |
| 215 | }) |
| 216 | } |
| 217 | if (!context.allowLargeValueRefs) { |
| 218 | assertNoLargeValueRefs(value) |
| 219 | } |
| 220 | return value |
| 221 | } |
| 222 | |
| 223 | private async resolveOutputAsync( |
| 224 | loopId: string, |
no test coverage detected