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

***

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

# Function: normalizeWorkTypeRegistry()

> **normalizeWorkTypeRegistry**(`input?`): `RuntimeWorkTypeRegistry`

Defined in: [flow/contracts/src/work-types.ts:53](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/flow/contracts/src/work-types.ts#L53)

Normalizes a persisted or user-provided registry into a safe runtime registry.

Invalid definitions are dropped, duplicate ids keep the first valid entry, and
missing registries fall back to the default Epic -> Story -> Task -> Subtask model.

## Parameters

### input?

`unknown`

## Returns

`RuntimeWorkTypeRegistry`
