# TeamSharingState

Canonical page: https://www.adaptabletools.com/docs/reference/teamsharingstate

State for Team Sharing; internal so not designed to be provided as part of Initial Adaptable State

```ts title="TypeScript"
export interface TeamSharingState extends BaseState 
```

###### Extends

[`BaseState`](https://www.adaptabletools.com/docs/reference/basestate.md)

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [ActiveSharedEntityMap](https://www.adaptabletools.com/docs/reference/teamsharingstate.md#activesharedentitymap) | `Record<TypeUuid, `[`AdaptableSharedEntity`](https://www.adaptabletools.com/docs/reference/adaptablesharedentity.md)`>` | Mapping of active AdaptableObjects which are shared with the local state.<br/>Maps UUIDs of local AdaptableObjects to a snapshot of the latest synchronized SharedEntity |
| [importProcessInProgress](https://www.adaptabletools.com/docs/reference/teamsharingstate.md#importprocessinprogress) | `boolean` | TRUE if an import is in progress, FALSE otherwise.<br/>This is required to skip the TEAMSHARING_UPDATE_ITEM action as a result of the import |
| [SharedEntities](https://www.adaptabletools.com/docs/reference/teamsharingstate.md#sharedentities) | [`SharedEntity`](https://www.adaptabletools.com/docs/reference/sharedentity.md)`[]` | List of objects currently being Team Shared |

## Property Details

### ActiveSharedEntityMap

Mapping of active AdaptableObjects which are shared with the local state.
Maps UUIDs of local AdaptableObjects to a snapshot of the latest synchronized SharedEntity

```ts title="TypeScript"
ActiveSharedEntityMap: Record<TypeUuid, AdaptableSharedEntity>;
```

###### Property Value

`Record<TypeUuid, `[`AdaptableSharedEntity`](https://www.adaptabletools.com/docs/reference/adaptablesharedentity.md)`>`

### importProcessInProgress

TRUE if an import is in progress, FALSE otherwise.
This is required to skip the TEAMSHARING_UPDATE_ITEM action as a result of the import

```ts title="TypeScript"
importProcessInProgress: boolean;
```

###### Property Value

`boolean`

### SharedEntities

List of objects currently being Team Shared

```ts title="TypeScript"
SharedEntities: SharedEntity[];
```

###### Property Value

[`SharedEntity`](https://www.adaptabletools.com/docs/reference/sharedentity.md)`[]`
