(structured: unknown)
| 206 | }); |
| 207 | |
| 208 | export const extractExecutionResult = (structured: unknown): unknown => { |
| 209 | if (!isRecord(structured) || !("result" in structured)) { |
| 210 | return null; |
| 211 | } |
| 212 | return structured.result; |
| 213 | }; |
| 214 | |
| 215 | export const extractExecutionId = (structured: unknown): string | undefined => { |
| 216 | if (!isRecord(structured) || typeof structured.executionId !== "string") { |
no test coverage detected