@neta-art/cohub 8.0.0 → 8.0.1
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.
package/dist/chunks/transport.js
CHANGED
|
@@ -10,7 +10,8 @@ const REALTIME_DOMAINS = [
|
|
|
10
10
|
"space",
|
|
11
11
|
"label",
|
|
12
12
|
"room",
|
|
13
|
-
"ui"
|
|
13
|
+
"ui",
|
|
14
|
+
"desktop"
|
|
14
15
|
];
|
|
15
16
|
const isRealtimeDomain = (value) => typeof value === "string" && REALTIME_DOMAINS.some((domain) => domain === value);
|
|
16
17
|
/** Accepted room event names. Shared so a client can reject one before sending. */
|
|
@@ -4694,7 +4694,7 @@ type BoardAwarenessGesture = z.infer<typeof BoardAwarenessGestureSchema>;
|
|
|
4694
4694
|
type BoardAwarenessUpdate = z.infer<typeof BoardAwarenessUpdateSchema>;
|
|
4695
4695
|
//#endregion
|
|
4696
4696
|
//#region ../protocol/dist/realtime/types.d.ts
|
|
4697
|
-
declare const REALTIME_DOMAINS: readonly ["system", "session", "space", "label", "room", "ui"];
|
|
4697
|
+
declare const REALTIME_DOMAINS: readonly ["system", "session", "space", "label", "room", "ui", "desktop"];
|
|
4698
4698
|
type RealtimeDomain = (typeof REALTIME_DOMAINS)[number];
|
|
4699
4699
|
type RealtimeRoom = `space:${string}` | `user:${string}` | `board:${string}` | `room:${string}`;
|
|
4700
4700
|
type RealtimeEnvelope = {
|
|
@@ -5357,9 +5357,9 @@ type LabelAssignmentsUpdatedEvent = {
|
|
|
5357
5357
|
};
|
|
5358
5358
|
};
|
|
5359
5359
|
/**
|
|
5360
|
-
* A
|
|
5361
|
-
* to the user room; every client compares `targetClientId` with its
|
|
5362
|
-
* id and ignores commands that are not for it.
|
|
5360
|
+
* A desktop command addressed at one frontend instance of the acting user.
|
|
5361
|
+
* Delivered to the user room; every client compares `targetClientId` with its
|
|
5362
|
+
* own client id and ignores commands that are not for it.
|
|
5363
5363
|
*/
|
|
5364
5364
|
type DesktopCommandDispatchedEvent = {
|
|
5365
5365
|
id: string;
|