@univerjs-procollaboration-clientReadme

@univerjs-pro/collaboration-client v0.5.0-beta.1Docs


@univerjs-pro/collaboration-client

Enumerations

EnumerationDescription
CollaborationStatus-
SessionStatus-

Classes

ClassDescription
AuthzIoHttpService-
CollaborationController-
CollaborationEntityEach univer document instance would map to an CollaborationEntity to handle collaborated editing events.
CollaborationSessionThe data structure to represent a collaboration session. It also manages the collaborator’s identity.
CollaborationSessionServiceThis service provide collaboration sessions to univer instances. A collaboration session may be used by different controllers of different features.
CollaborationSocketServiceThis service provides a socket that can be used to communicate with the remote collaboration server.
CommentService-
DataLoaderControllerThis controller loads data when URL changes.
DesktopCollaborationStatusDisplayControllerThis controller is responsible for monitoring the collaboration status of the currently focused unit.
DocCollaborationEntityEach univer document instance would map to an CollaborationEntity to handle collaborated editing events.
ImageIoService-
LocalCacheServiceThis service provide caching to the collaboration controller.
MemberServiceThis services manages members is each rooms.
MentionIoHttpService-
SheetCollabCursorShapeRender a single collaborated cursor on the canvas.
SheetCollaborationEntityEach univer document instance would map to an CollaborationEntity to handle collaborated editing events.
SnapshotServerOverHTTPService-
UniverCollaborationClientPluginPlug-in base class, all plug-ins must inherit from this base class. Provide basic methods.
WebURLServiceThis service reads the url from the host platform and return url parts, such as queries, hashes and path.

Interfaces

InterfaceDescription
ICollaborationSocket-
ICollaborationSocketServiceThis service provides a socket that can be used to communicate with the remote collaboration server.
ISheetCollabCursorShapeProps-
IUniverCollaborationClientConfig-
IURLServiceThis service reads the url from the host platform and return url parts, such as queries, hashes and path.

Variables

VariableDescription
AUTHZ_URL_KEY-
COLLAB_CLIENT_CONFIG_KEY-
COLLAB_SUBMIT_CHANGESET_URL_KEY-
COLLAB_WEB_SOCKET_URL_KEY-
HEARTBEAT_INTERVAL_KEYThe heartbeat interval in milliseconds.
HEARTBEAT_TIMEOUT_KEY-
LOCAL_CACHE_INTERVAL_KEYA config key to determine how often should Univer save local edits.
LOGIN_URL_KEY-
RETRY_CONNECTING_MAX_COUNT_KEY-
SEND_CHANGESET_TIMEOUT_KEY-
SNAPSHOT_SERVER_URL_KEY-

Functions

FunctionDescription
CollaborationStatusDisplayA component to display collaboration status to users.
deserializeToCombResponse-
ICollaborationSocketService-
IURLService-
serializeCombRequest-