# SharedEntity

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

Defines an object used in Team Sharing. The union type is discriminated by the `EntityType` property (`adaptableEntity` / `customEntity`).

```ts title="TypeScript"
export type SharedEntity = AdaptableSharedEntity | CustomSharedEntity;
```

###### References

[`AdaptableSharedEntity`](https://www.adaptabletools.com/docs/reference/adaptablesharedentity.md) | [`CustomSharedEntity`](https://www.adaptabletools.com/docs/reference/customsharedentity.md)
