( requested: ResponseLevel | undefined, isFinalStep: boolean, )
| 223 | // meta is passed through unchanged — byte-identical to today (Maestro `.ad` |
| 224 | // recompare safe). |
| 225 | function batchStepResponseLevel( |
| 226 | requested: ResponseLevel | undefined, |
| 227 | isFinalStep: boolean, |
| 228 | ): ResponseLevel | undefined { |
| 229 | if (!isNonDefaultResponseLevel(requested)) return requested; |
| 230 | return isFinalStep ? requested : 'digest'; |
| 231 | } |
| 232 | |
| 233 | function batchStepMeta(meta: BatchRequest['meta'], isFinalStep: boolean): BatchRequest['meta'] { |
| 234 | const requested = meta?.responseLevel; |
no test coverage detected