> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IUndoEnhancedState

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: interface
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/model/store/_infra/undoEnhancer.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Slice that can be undo-enabled needs to include the undo section which will contain the essential undo metadata.

**Signature:**

```typescript
export interface IUndoEnhancedState<T extends IDashboardCommand = IDashboardCommand> 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [\_undo](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iundoenhancedstate/index.md#iundoenhancedstate_undo) |  | { undoPointer: number; undoStack: [IUndoEntry](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iundoentry/index.md)&lt;T&gt;[]; } | **_(ALPHA)_** |

## Property details

### IUndoEnhancedState._undo

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
_undo: {
        undoPointer: number;
        undoStack: IUndoEntry<T>[];
    };
```
