# DetectedTutorial

**Kind:** Interface

**Source:** [`atloria-monorepo/apps/api/src/documentation/services/tutorial-detector.service.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/api/src/documentation/services/tutorial-detector.service.ts#L25)

Detected tutorial from state machine analysis

## Properties

| Property | Type |
|---|---|
| `id` | `string` |
| `title` | `string` |
| `slug` | `string` |
| `description` | `string` |
| `difficulty` | `'beginner' | 'intermediate' | 'advanced'` |
| `estimatedTime` | `string` |
| `stateTransition` | `{
    from: string;
    to: string;
    method: string;
    stateMachine: string;
    requiresModal?: boolean;
    requiresApproval?: boolean;
  }` |
| `component` | `any` |
| `feature` | `string` |
| `route` | `string` |
| `uiInteractions` | `any[]` |
| `prerequisites` | `string[]` |
| `requiredRole` | `string` |
| `category` | `string` |
| `tags` | `string[]` |
| `nextSteps` | `string[]` |
| `previousSteps` | `string[]` |
| `formFields` | `any[]` |
| `screenshots` | `any[]` |
| `stateFlow` | `StateFlow` |
| `loadingState` | `LoadingStateMetadata` |
| `errorHandling` | `ErrorHandlingMetadata` |
