@rebasepro/types 0.9.1-canary.f2f61da → 0.9.1-canary.ff338b5
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.
|
@@ -14,6 +14,13 @@ export interface WebSocketMessage {
|
|
|
14
14
|
rows?: Record<string, unknown>[];
|
|
15
15
|
row?: Record<string, unknown> | null;
|
|
16
16
|
error?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Channel name, on broadcast and presence frames.
|
|
19
|
+
*
|
|
20
|
+
* These are addressed by channel rather than by `requestId` or
|
|
21
|
+
* `subscriptionId`, so this is the only field that routes them.
|
|
22
|
+
*/
|
|
23
|
+
channel?: string;
|
|
17
24
|
}
|
|
18
25
|
/**
|
|
19
26
|
* The key columns a collection's rows are addressed by.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebasepro/types",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.9.1-canary.
|
|
4
|
+
"version": "0.9.1-canary.ff338b5",
|
|
5
5
|
"description": "Rebase type definitions — shared interfaces and controller types",
|
|
6
6
|
"funding": {
|
|
7
7
|
"url": "https://github.com/sponsors/rebaseco"
|
package/src/types/websockets.ts
CHANGED
|
@@ -12,6 +12,13 @@ export interface WebSocketMessage {
|
|
|
12
12
|
rows?: Record<string, unknown>[];
|
|
13
13
|
row?: Record<string, unknown> | null;
|
|
14
14
|
error?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Channel name, on broadcast and presence frames.
|
|
17
|
+
*
|
|
18
|
+
* These are addressed by channel rather than by `requestId` or
|
|
19
|
+
* `subscriptionId`, so this is the only field that routes them.
|
|
20
|
+
*/
|
|
21
|
+
channel?: string;
|
|
15
22
|
}
|
|
16
23
|
|
|
17
24
|
/**
|