# StateTransition

**Kind:** Interface

**Source:** [`atloria-monorepo/libs/parser-core/src/interfaces/state-machine.interface.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/parser-core/src/interfaces/state-machine.interface.ts#L67)

A transition between two states

## Properties

| Property | Type |
|---|---|
| `from` | `string` |
| `to` | `string` |
| `method` | `string` |
| `requiresModal` | `boolean` |
| `approvalRequired` | `boolean` |
| `trigger` | `'user-action' | 'system-event' | 'time-based' | 'automatic'` |
| `conditions` | `string[]` |
| `metadata` | `Record<string, unknown>` |
