# ResultDetailStep Type documentation

## TypeScript declaration

### [ResultDetailStep](<https://github.com/siemens/element/blob/main/projects/element-ng/result-details-list/si-result-details-list.datamodel.ts#L9-L38>)

**Kind:** interface

```
import type { ResultDetailStep } from '@siemens/element-ng/result-details-list';
```

```
interface ResultDetailStep
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [description](<https://github.com/siemens/element/blob/main/projects/element-ng/result-details-list/si-result-details-list.datamodel.ts#L13-L13>) | `TranslatableString` | A description of the step. |
| [detail](<https://github.com/siemens/element/blob/main/projects/element-ng/result-details-list/si-result-details-list.datamodel.ts#L33-L33>) (optional) | `TranslatableString` | Optional detail text which appears below description. |
| [errorMessage](<https://github.com/siemens/element/blob/main/projects/element-ng/result-details-list/si-result-details-list.datamodel.ts#L25-L25>) (optional) | `string` | Optional error message to display. |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/result-details-list/si-result-details-list.datamodel.ts#L29-L29>) (optional) | `string` | Optional custom icon to display. Otherwise a default icon will be shown based on the state property. |
| [state](<https://github.com/siemens/element/blob/main/projects/element-ng/result-details-list/si-result-details-list.datamodel.ts#L17-L17>) | `ResultDetailStepState` | A state object defining the state of the step. |
| [translationParams](<https://github.com/siemens/element/blob/main/projects/element-ng/result-details-list/si-result-details-list.datamodel.ts#L37-L37>) (optional) | `Record<string, unknown>` | Optional translation params to be used with translate pipe. |
| [value](<https://github.com/siemens/element/blob/main/projects/element-ng/result-details-list/si-result-details-list.datamodel.ts#L21-L21>) (optional) | `string` | Optional value to be displayed for the step. |

### Types Documentation

### [ResultDetailStepState](<https://github.com/siemens/element/blob/main/projects/element-ng/result-details-list/si-result-details-list.datamodel.ts#L43-L44>)

**Kind:** type alias

```
import type { ResultDetailStepState } from '@siemens/element-ng/result-details-list';
```

This type defines the state that a detailed result step can have.

```
type ResultDetailStepState = 'passed' | 'failed' | 'running' | 'not-supported' | 'not-started'
```

### [TranslatableString](<https://github.com/siemens/element/blob/main/projects/element-translate-ng/translate-types/global.types.ts#L18-L18>)

**Kind:** type alias

```
import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';
```

Represents a translatable string. This can either be a translation key, e.g. `ACTIONS.EDIT` that will be automatically translated when displayed on the UI or a pre-translated string, e.g. `Edit`. Equivalent to a normal string in usage and functionality.

```
type TranslatableString = string & Translatable
```
