(blockId: string, blocks: Record<string, BlockState>)
| 184 | * @returns True if any ancestor is locked |
| 185 | */ |
| 186 | export function isAncestorProtected(blockId: string, blocks: Record<string, BlockState>): boolean { |
| 187 | return isWorkflowBlockAncestorLocked(blockId, blocks) |
| 188 | } |
| 189 | |
| 190 | /** |
| 191 | * Checks if a block is protected from editing/deletion. |
no test coverage detected