# RestoredLayout

**Kind**: interface | **Module**: [Layouts](https://docs.interop.io/desktop/reference/javascript/layouts/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/layouts/restoredlayout/index.html

Describes a restored Layout received by the callback for handling the event for restoring a Layout.

## Properties

- **`accessInfo`** (`LayoutAccessInfo`, optional)
  Information about the owner of the Layout and the users and groups with access to it.
  When retrieving Layouts, available only if requested via the `includeAccessInfo` property. Not available for Layouts from local Layout stores.
- **`components`** (`LayoutComponent[]`, optional)
  Array of component objects describing the apps that are saved in the Layout.
  When retrieving Layouts, available only if requested via the `includeComponents` property.
- **`context`** (`unknown`, optional)
  Context saved with the Layout. When retrieving Layouts, available only if requested via the `includeContext` property.
- **`id`** (`string`, required)
  ID of the Layout. Assigned by **io.Manager** when it's used as a Layout store. For other Layout stores, formed by the name and the type of the Layout.
- **`metadata`** (`object`, optional)
  Metadata saved with the Layout.
- **`name`** (`string`, required)
  Name of the Layout, unique per Layout type.
- **`trackingId`** (`string`, optional)
  ID of the restore session. Can be used for resetting the restored Layout via the `reset()` method.
  Not available if the restored Layout doesn't contain any app windows.
- **`type`** (`LayoutType`, required)
  Type of the Layout.

## Related types

- [LayoutAccessInfo](https://docs.interop.io/desktop/reference/javascript/layouts/layoutaccessinfo/index.md)
- [LayoutComponent](https://docs.interop.io/desktop/reference/javascript/layouts/layoutcomponent/index.md)
- [LayoutType](https://docs.interop.io/desktop/reference/javascript/layouts/layouttype/index.md)
