@gonvex/protocol 0.5.1 → 0.5.2-staging.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/index.d.ts +9 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -129,6 +129,7 @@ export type LiveQueryPlan = {
|
|
|
129
129
|
argument: string;
|
|
130
130
|
allowedColumns: string[];
|
|
131
131
|
allowedOperators: FilterOperator[];
|
|
132
|
+
columnTypes?: Record<string, "text" | "number">;
|
|
132
133
|
};
|
|
133
134
|
sort?: {
|
|
134
135
|
columnArgument: string;
|
|
@@ -215,6 +216,8 @@ export type ServerCapabilities = {
|
|
|
215
216
|
reducerBatch?: 1;
|
|
216
217
|
/** Server emits connection-level replica revision watermarks. */
|
|
217
218
|
replicaWatermark?: 1;
|
|
219
|
+
/** Server closes each successful Control write after refreshing this connection's Control subscriptions. */
|
|
220
|
+
controlWatermark?: 1;
|
|
218
221
|
};
|
|
219
222
|
export type QuerySubscribeRequest = {
|
|
220
223
|
id: string;
|
|
@@ -507,6 +510,8 @@ export type ServerMessage = {
|
|
|
507
510
|
maxRows?: number;
|
|
508
511
|
maxBytes?: number;
|
|
509
512
|
hashes?: Record<string, string>;
|
|
513
|
+
digest?: string;
|
|
514
|
+
truncated?: boolean;
|
|
510
515
|
} | {
|
|
511
516
|
type: "replica.delta";
|
|
512
517
|
id: string;
|
|
@@ -549,6 +554,9 @@ export type ServerMessage = {
|
|
|
549
554
|
id: string;
|
|
550
555
|
path?: string;
|
|
551
556
|
error: string;
|
|
557
|
+
} | {
|
|
558
|
+
type: "control.watermark";
|
|
559
|
+
id: string;
|
|
552
560
|
} | {
|
|
553
561
|
type: "reducer.result";
|
|
554
562
|
id: string;
|
|
@@ -568,6 +576,7 @@ export type ServerMessage = {
|
|
|
568
576
|
id: string;
|
|
569
577
|
path?: string;
|
|
570
578
|
result: JsonValue;
|
|
579
|
+
committedRevision?: number;
|
|
571
580
|
trace?: MessageTrace;
|
|
572
581
|
} | {
|
|
573
582
|
type: "action.error";
|