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

# IUndoEntry

- 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).
> 

An entry on undo stack contains patches required

**Signature:**

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

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [cmd](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iundoentry/index.md#iundoentrycmd) |  | T | **_(ALPHA)_** Dashboard command that has initiated the state changes. |
| [redoPatches](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iundoentry/index.md#iundoentryredopatches) |  | Patch[] | **_(ALPHA)_** Patches to apply in order to redo the undone changes. |
| [undoPatches](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iundoentry/index.md#iundoentryundopatches) |  | Patch[] | **_(ALPHA)_** Patches to apply in order to undo the changes. |

## Property details

### IUndoEntry.cmd

> **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).
> 

Dashboard command that has initiated the state changes.

**Signature:**

```typescript
cmd: T;
```

### IUndoEntry.redoPatches

> **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).
> 

Patches to apply in order to redo the undone changes.

**Signature:**

```typescript
redoPatches: Patch[];
```

### IUndoEntry.undoPatches

> **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).
> 

Patches to apply in order to undo the changes.

**Signature:**

```typescript
undoPatches: Patch[];
```
