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

***

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

# Function: normalizeWorkTypeId()

> **normalizeWorkTypeId**(`value`, `registry?`): `string`

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

Returns an enabled work type id from the registry, or the default task type when the input is unsafe.

## Parameters

### value

`unknown`

### registry?

`RuntimeWorkTypeRegistry`

## Returns

`string`
