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

***

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

# Function: getWorkTypeDefinition()

> **getWorkTypeDefinition**(`registry`, `workTypeId`): `RuntimeWorkTypeDefinition`

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

Looks up a work type definition and always returns a usable task-like fallback.

## Parameters

### registry

`RuntimeWorkTypeRegistry` \| `undefined`

### workTypeId

`string`

## Returns

`RuntimeWorkTypeDefinition`
