(targetWorkflowId: string, sourceBlockId: string)
| 38 | * disappears on the next force-replace. |
| 39 | */ |
| 40 | export function deriveForkBlockId(targetWorkflowId: string, sourceBlockId: string): string { |
| 41 | return uuidV5(`${targetWorkflowId}:${sourceBlockId}`, FORK_BLOCK_NAMESPACE) |
| 42 | } |
| 43 | |
| 44 | /** A persisted counterpart: the target block id plus the workflow it belongs to. */ |
| 45 | export interface ForkBlockMapEntry { |
no test coverage detected