Import
Examples
API
work(config)
Create a typed Work definition.
| Property | Type | Description | Source |
|---|---|---|---|
id | string | Stable project-local Work identifier. | source |
name? | string | Human-readable display name. Defaults to the id when omitted. | source |
outcome | string | Business outcome the execution layer should make true. | source |
acceptanceCriteria | WorkAcceptanceCriterion[] | Outcome criteria tracked as business process state. | source |
WorkDefinition
Type Reference
WorkAcceptanceCriterion
One measurable outcome condition for a Work definition.
Exports
Functions
| Name | Description | Source |
|---|---|---|
work | Create a typed Work definition. | source |
Types
Constants
| Name | Description | Source |
|---|---|---|
workRegistry | Shared Work registry value. | source |