[**zonegaze-flow**](../../../../README.md)

***

[zonegaze-flow](../../../../README.md) / [flow/contracts/src](../README.md) / updateTaskDependencies

# Function: updateTaskDependencies()

> **updateTaskDependencies**(`board`): `object`

Defined in: [flow/product/src/kanban-adapter/task-board-mutations.ts:392](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/flow/product/src/kanban-adapter/task-board-mutations.ts#L392)

Rebuilds dependency edges after card movement or deletion.

Dependencies always point from the backlog card to the linked non-backlog card.
Invalid, duplicate, self-referential, trash, or missing-task edges are dropped.

## Parameters

### board

#### columns

`object`[] = `...`

#### dependencies

`object`[] = `...`

#### workTypeRegistry

`RuntimeWorkTypeRegistry` = `runtimeWorkTypeRegistrySchema`

## Returns

`object`

### columns

> **columns**: `object`[]

### dependencies

> **dependencies**: `object`[]

### workTypeRegistry

> **workTypeRegistry**: `RuntimeWorkTypeRegistry` = `runtimeWorkTypeRegistrySchema`
