# WorkspaceDefinition

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

**Source**: https://docs.interop.io/desktop/reference/javascript/workspaces/workspacedefinition/index.html

Describes a Workspace to be created.

## Properties

- **`children`** (`Array<WorkspaceWindowDefinition | BoxDefinition>`, optional)
  Array of objects describing the Workspace windows and box elements (rows, columns, groups) that the Workspace will contain.
- **`config`** (`WorkspaceConfig`, optional)
  Configuration for the new Workspace.
- **`context`** (`any`, optional)
  Context object for the Workspace. Can contain any data relevant to the Workspace
  which the Workspace or the apps loaded in it can use after the Workspace has been created.
- **`frame`** (`FrameTargetingOptions`, optional)
  Options for targeting a Workspaces App instance that will host the newly created Workspace.

## Related types

- [BoxDefinition](https://docs.interop.io/desktop/reference/javascript/workspaces/boxdefinition/index.md)
- [FrameTargetingOptions](https://docs.interop.io/desktop/reference/javascript/workspaces/frametargetingoptions/index.md)
- [WorkspaceConfig](https://docs.interop.io/desktop/reference/javascript/workspaces/workspaceconfig/index.md)
- [WorkspaceWindowDefinition](https://docs.interop.io/desktop/reference/javascript/workspaces/workspacewindowdefinition/index.md)
