(subBlock: Record<string, unknown>)
| 491 | * @returns SubBlock fields excluding value and is_diff |
| 492 | */ |
| 493 | export function extractSubBlockRest(subBlock: Record<string, unknown>): Record<string, unknown> { |
| 494 | const { |
| 495 | value: _v, |
| 496 | is_diff: _sd, |
| 497 | type: _type, |
| 498 | ...rest |
| 499 | } = subBlock as SubBlockWithDiffMarker & { |
| 500 | type?: unknown |
| 501 | } |
| 502 | return rest |
| 503 | } |
| 504 | |
| 505 | /** |
| 506 | * Normalizes a workflow state for comparison or hashing. |
no outgoing calls
no test coverage detected