---
title: "Types: editor: Collaboration"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.reducto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Types: editor: Collaboration

## `PeerInfo`

Another writer in a shared deck.

Import from `@reductoai/pptx-editor`.

| Name | Type | Description |
| --- | --- | --- |
| <a id="peerinfo-color" data-search="PeerInfo.color"></a>`color` | <code>string</code> |  |
| <a id="peerinfo-id" data-search="PeerInfo.id"></a>`id` | <code>string</code> |  |
| <a id="peerinfo-name" data-search="PeerInfo.name"></a>`name` | <code>string</code> |  |


## `PeerMark`

Another writer as this editor shows it.

Import from `@reductoai/pptx/collab`.

| Name | Type | Description |
| --- | --- | --- |
| <a id="peermark-peer" data-search="PeerMark.peer"></a>`peer` | <code>Peer</code> |  |
| <a id="peermark-view" data-search="PeerMark.view"></a>`view` | <code><a href="/office/pptx/api/types-editor-collaboration#peerview">PeerView</a></code> |  |


## `PeerView`

Another writer's presence as this editor lays it out.

Import from `@reductoai/pptx/editor`.

| Name | Type | Description |
| --- | --- | --- |
| <a id="peerview-boxes" data-search="PeerView.boxes"></a>`boxes` | <code><a href="/office/pptx/api/types-editor-other#frame">Frame</a>[]</code> | On the current page: the frames of the writer's selected shapes. |
| <a id="peerview-caret" data-search="PeerView.caret"></a>`caret?` | <code><a href="/office/pptx/api/types-layout#rect">Rect</a></code> |  |
| <a id="peerview-presenting" data-search="PeerView.presenting"></a>`presenting?` | <code>true</code> | The writer is giving a slide show; `slide` is the one on screen. |
| <a id="peerview-selectionrects" data-search="PeerView.selectionRects"></a>`selectionRects` | <code><a href="/office/pptx/api/types-layout#rect">Rect</a>[]</code> |  |
| <a id="peerview-slide" data-search="PeerView.slide"></a>`slide` | <code>number</code> | The page the writer is on. |


## `PptxPresence`

Where a writer is, in terms that hold across other writers' edits: the slide (or master or
layout) part, the selected shapes' ids and, in text, frame offsets in the first shape's story.

Import from `@reductoai/pptx/editor`.

| Name | Type | Description |
| --- | --- | --- |
| <a id="pptxpresence-part" data-search="PptxPresence.part"></a>`part` | <code>string</code> |  |
| <a id="pptxpresence-presenting" data-search="PptxPresence.presenting"></a>`presenting?` | <code>true</code> | The writer is giving a slide show of `part`. |
| <a id="pptxpresence-shapes" data-search="PptxPresence.shapes"></a>`shapes` | <code>string[]</code> |  |
| <a id="pptxpresence-text" data-search="PptxPresence.text"></a>`text?` | <code>&#123; anchor: number; focus: number; story: string &#125;</code> | The story under the first shape: "" for its own text, `@r,c` for a table cell. |

Source: https://docs.reducto.ai/office/pptx/api/types-editor-collaboration/index.mdx
