@ckeditor/ckeditor-cloud-services-collaboration 54.0.5 → 54.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright (c), CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Numeric identifiers of Cloud Services services, matching the gateway's `servicesMap` configuration.
|
|
6
|
+
*
|
|
7
|
+
* This module is intentionally dependency-free: it is reachable from the package entry (`index.ts`),
|
|
8
|
+
* so it must not pull in `@ckeditor/ckeditor5-utils` (doing so would crash server-side consumers,
|
|
9
|
+
* e.g. the WebSocket gateway, with `ckeditor-duplicated-modules`). For the same reason the service
|
|
10
|
+
* classes import their `_SERVICE` id from here, rather than this module importing the classes.
|
|
11
|
+
*/
|
|
12
|
+
export declare const COLLABORATIVE_EDITING_SERVICE_ID: number;
|
|
13
|
+
export declare const SESSIONS_SERVICE_ID: number;
|
|
14
|
+
export declare const COMMENTS_SERVICE_ID: number;
|
|
15
|
+
export declare const TRACK_CHANGES_SERVICE_ID: number;
|
|
16
|
+
export declare const REVISION_HISTORY_SERVICE_ID: number;
|
|
17
|
+
/**
|
|
18
|
+
* Identifiers of every service that connects to a per-document channel and handles
|
|
19
|
+
* `ChannelDisconnectedMessage`. The WebSocket gateway uses this list to notify all of
|
|
20
|
+
* a document's channels when the document is flushed or removed, so each service closes
|
|
21
|
+
* its session intentionally and does not auto-reconnect.
|
|
22
|
+
*
|
|
23
|
+
* When adding a new channel-based service, add its id here.
|
|
24
|
+
*/
|
|
25
|
+
export declare const CHANNEL_SERVICES: ReadonlyArray<number>;
|
package/dist/index.d.ts
CHANGED
|
@@ -40,6 +40,8 @@ export { default as SessionsConnectMessage } from './sessions/messages/sessionsc
|
|
|
40
40
|
export { default as SessionsConnectResponse } from './sessions/responses/sessionsconnectresponse';
|
|
41
41
|
export { default as SocketConnectMessage } from './sessions/messages/socketconnectmessage';
|
|
42
42
|
export { default as SocketDisconnectMessage } from './sessions/messages/socketdisconnectmessage';
|
|
43
|
+
export { default as ChannelDisconnectedMessage } from './websocketgateway/messages/channeldisconnectedmessage';
|
|
44
|
+
export { CHANNEL_SERVICES } from './channelservices';
|
|
43
45
|
export { default as AddSuggestionMessage } from './track-changes/messages/addsuggestionmessage';
|
|
44
46
|
export { default as AddSuggestionResponse } from './track-changes/responses/addsuggestionresponse';
|
|
45
47
|
export { default as GetAllSuggestionsResponse } from './track-changes/responses/getallsuggestionsresponse';
|