@rivetkit/engine-envoy-protocol 0.0.0-main.72cbc7c → 0.0.0-main.78336a1
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 +283 -4
- package/dist/index.js +666 -84
- package/package.json +9 -2
package/dist/index.js
CHANGED
|
@@ -582,6 +582,160 @@ function writeSqliteCommitResponse(bc, x) {
|
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
|
+
function readSqliteCommitStageBeginRequest(bc) {
|
|
586
|
+
return {
|
|
587
|
+
actorId: readId(bc),
|
|
588
|
+
expectedGeneration: read2(bc),
|
|
589
|
+
expectedHeadTxid: read2(bc)
|
|
590
|
+
};
|
|
591
|
+
}
|
|
592
|
+
function writeSqliteCommitStageBeginRequest(bc, x) {
|
|
593
|
+
writeId(bc, x.actorId);
|
|
594
|
+
write2(bc, x.expectedGeneration);
|
|
595
|
+
write2(bc, x.expectedHeadTxid);
|
|
596
|
+
}
|
|
597
|
+
function readSqliteCommitStageBeginOk(bc) {
|
|
598
|
+
return {
|
|
599
|
+
txid: bare.readU64(bc)
|
|
600
|
+
};
|
|
601
|
+
}
|
|
602
|
+
function writeSqliteCommitStageBeginOk(bc, x) {
|
|
603
|
+
bare.writeU64(bc, x.txid);
|
|
604
|
+
}
|
|
605
|
+
function readSqliteCommitStageBeginResponse(bc) {
|
|
606
|
+
const offset = bc.offset;
|
|
607
|
+
const tag = bare.readU8(bc);
|
|
608
|
+
switch (tag) {
|
|
609
|
+
case 0:
|
|
610
|
+
return { tag: "SqliteCommitStageBeginOk", val: readSqliteCommitStageBeginOk(bc) };
|
|
611
|
+
case 1:
|
|
612
|
+
return { tag: "SqliteErrorResponse", val: readSqliteErrorResponse(bc) };
|
|
613
|
+
default: {
|
|
614
|
+
bc.offset = offset;
|
|
615
|
+
throw new bare.BareError(offset, "invalid tag");
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
function writeSqliteCommitStageBeginResponse(bc, x) {
|
|
620
|
+
switch (x.tag) {
|
|
621
|
+
case "SqliteCommitStageBeginOk": {
|
|
622
|
+
bare.writeU8(bc, 0);
|
|
623
|
+
writeSqliteCommitStageBeginOk(bc, x.val);
|
|
624
|
+
break;
|
|
625
|
+
}
|
|
626
|
+
case "SqliteErrorResponse": {
|
|
627
|
+
bare.writeU8(bc, 1);
|
|
628
|
+
writeSqliteErrorResponse(bc, x.val);
|
|
629
|
+
break;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
function readSqliteCommitStageSegmentRequest(bc) {
|
|
634
|
+
return {
|
|
635
|
+
actorId: readId(bc),
|
|
636
|
+
expectedGeneration: read2(bc),
|
|
637
|
+
txid: bare.readU64(bc),
|
|
638
|
+
firstPgno: bare.readU32(bc),
|
|
639
|
+
dirtyPages: read8(bc)
|
|
640
|
+
};
|
|
641
|
+
}
|
|
642
|
+
function writeSqliteCommitStageSegmentRequest(bc, x) {
|
|
643
|
+
writeId(bc, x.actorId);
|
|
644
|
+
write2(bc, x.expectedGeneration);
|
|
645
|
+
bare.writeU64(bc, x.txid);
|
|
646
|
+
bare.writeU32(bc, x.firstPgno);
|
|
647
|
+
write8(bc, x.dirtyPages);
|
|
648
|
+
}
|
|
649
|
+
function readSqliteCommitStageSegmentOk(bc) {
|
|
650
|
+
return {
|
|
651
|
+
stagedBytes: bare.readU64(bc)
|
|
652
|
+
};
|
|
653
|
+
}
|
|
654
|
+
function writeSqliteCommitStageSegmentOk(bc, x) {
|
|
655
|
+
bare.writeU64(bc, x.stagedBytes);
|
|
656
|
+
}
|
|
657
|
+
function readSqliteCommitStageSegmentResponse(bc) {
|
|
658
|
+
const offset = bc.offset;
|
|
659
|
+
const tag = bare.readU8(bc);
|
|
660
|
+
switch (tag) {
|
|
661
|
+
case 0:
|
|
662
|
+
return { tag: "SqliteCommitStageSegmentOk", val: readSqliteCommitStageSegmentOk(bc) };
|
|
663
|
+
case 1:
|
|
664
|
+
return { tag: "SqliteErrorResponse", val: readSqliteErrorResponse(bc) };
|
|
665
|
+
default: {
|
|
666
|
+
bc.offset = offset;
|
|
667
|
+
throw new bare.BareError(offset, "invalid tag");
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
function writeSqliteCommitStageSegmentResponse(bc, x) {
|
|
672
|
+
switch (x.tag) {
|
|
673
|
+
case "SqliteCommitStageSegmentOk": {
|
|
674
|
+
bare.writeU8(bc, 0);
|
|
675
|
+
writeSqliteCommitStageSegmentOk(bc, x.val);
|
|
676
|
+
break;
|
|
677
|
+
}
|
|
678
|
+
case "SqliteErrorResponse": {
|
|
679
|
+
bare.writeU8(bc, 1);
|
|
680
|
+
writeSqliteErrorResponse(bc, x.val);
|
|
681
|
+
break;
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
function readSqliteCommitFinalizeRequest(bc) {
|
|
686
|
+
return {
|
|
687
|
+
actorId: readId(bc),
|
|
688
|
+
expectedGeneration: read2(bc),
|
|
689
|
+
txid: bare.readU64(bc),
|
|
690
|
+
newDbSizePages: bare.readU32(bc),
|
|
691
|
+
nowMs: bare.readI64(bc),
|
|
692
|
+
segmentFirstPgnos: bare.readU32Array(bc)
|
|
693
|
+
};
|
|
694
|
+
}
|
|
695
|
+
function writeSqliteCommitFinalizeRequest(bc, x) {
|
|
696
|
+
writeId(bc, x.actorId);
|
|
697
|
+
write2(bc, x.expectedGeneration);
|
|
698
|
+
bare.writeU64(bc, x.txid);
|
|
699
|
+
bare.writeU32(bc, x.newDbSizePages);
|
|
700
|
+
bare.writeI64(bc, x.nowMs);
|
|
701
|
+
bare.writeU32Array(bc, x.segmentFirstPgnos);
|
|
702
|
+
}
|
|
703
|
+
function readSqliteCommitFinalizeOk(bc) {
|
|
704
|
+
return {
|
|
705
|
+
headTxid: read2(bc)
|
|
706
|
+
};
|
|
707
|
+
}
|
|
708
|
+
function writeSqliteCommitFinalizeOk(bc, x) {
|
|
709
|
+
write2(bc, x.headTxid);
|
|
710
|
+
}
|
|
711
|
+
function readSqliteCommitFinalizeResponse(bc) {
|
|
712
|
+
const offset = bc.offset;
|
|
713
|
+
const tag = bare.readU8(bc);
|
|
714
|
+
switch (tag) {
|
|
715
|
+
case 0:
|
|
716
|
+
return { tag: "SqliteCommitFinalizeOk", val: readSqliteCommitFinalizeOk(bc) };
|
|
717
|
+
case 1:
|
|
718
|
+
return { tag: "SqliteErrorResponse", val: readSqliteErrorResponse(bc) };
|
|
719
|
+
default: {
|
|
720
|
+
bc.offset = offset;
|
|
721
|
+
throw new bare.BareError(offset, "invalid tag");
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
function writeSqliteCommitFinalizeResponse(bc, x) {
|
|
726
|
+
switch (x.tag) {
|
|
727
|
+
case "SqliteCommitFinalizeOk": {
|
|
728
|
+
bare.writeU8(bc, 0);
|
|
729
|
+
writeSqliteCommitFinalizeOk(bc, x.val);
|
|
730
|
+
break;
|
|
731
|
+
}
|
|
732
|
+
case "SqliteErrorResponse": {
|
|
733
|
+
bare.writeU8(bc, 1);
|
|
734
|
+
writeSqliteErrorResponse(bc, x.val);
|
|
735
|
+
break;
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
}
|
|
585
739
|
function readSqliteValueInteger(bc) {
|
|
586
740
|
return {
|
|
587
741
|
value: bare.readI64(bc)
|
|
@@ -853,6 +1007,47 @@ function writeSqliteExecuteRequest(bc, x) {
|
|
|
853
1007
|
bare.writeString(bc, x.sql);
|
|
854
1008
|
write14(bc, x.params);
|
|
855
1009
|
}
|
|
1010
|
+
function readSqliteBatchStatement(bc) {
|
|
1011
|
+
return {
|
|
1012
|
+
sql: bare.readString(bc),
|
|
1013
|
+
params: read14(bc)
|
|
1014
|
+
};
|
|
1015
|
+
}
|
|
1016
|
+
function writeSqliteBatchStatement(bc, x) {
|
|
1017
|
+
bare.writeString(bc, x.sql);
|
|
1018
|
+
write14(bc, x.params);
|
|
1019
|
+
}
|
|
1020
|
+
function read15(bc) {
|
|
1021
|
+
const len = bare.readUintSafe(bc);
|
|
1022
|
+
if (len === 0) {
|
|
1023
|
+
return [];
|
|
1024
|
+
}
|
|
1025
|
+
const result = [readSqliteBatchStatement(bc)];
|
|
1026
|
+
for (let i = 1; i < len; i++) {
|
|
1027
|
+
result[i] = readSqliteBatchStatement(bc);
|
|
1028
|
+
}
|
|
1029
|
+
return result;
|
|
1030
|
+
}
|
|
1031
|
+
function write15(bc, x) {
|
|
1032
|
+
bare.writeUintSafe(bc, x.length);
|
|
1033
|
+
for (let i = 0; i < x.length; i++) {
|
|
1034
|
+
writeSqliteBatchStatement(bc, x[i]);
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
function readSqliteExecuteBatchRequest(bc) {
|
|
1038
|
+
return {
|
|
1039
|
+
namespaceId: readId(bc),
|
|
1040
|
+
actorId: readId(bc),
|
|
1041
|
+
generation: readSqliteGeneration(bc),
|
|
1042
|
+
statements: read15(bc)
|
|
1043
|
+
};
|
|
1044
|
+
}
|
|
1045
|
+
function writeSqliteExecuteBatchRequest(bc, x) {
|
|
1046
|
+
writeId(bc, x.namespaceId);
|
|
1047
|
+
writeId(bc, x.actorId);
|
|
1048
|
+
writeSqliteGeneration(bc, x.generation);
|
|
1049
|
+
write15(bc, x.statements);
|
|
1050
|
+
}
|
|
856
1051
|
function readSqliteExecOk(bc) {
|
|
857
1052
|
return {
|
|
858
1053
|
result: readSqliteQueryResult(bc)
|
|
@@ -869,6 +1064,31 @@ function readSqliteExecuteOk(bc) {
|
|
|
869
1064
|
function writeSqliteExecuteOk(bc, x) {
|
|
870
1065
|
writeSqliteExecuteResult(bc, x.result);
|
|
871
1066
|
}
|
|
1067
|
+
function read16(bc) {
|
|
1068
|
+
const len = bare.readUintSafe(bc);
|
|
1069
|
+
if (len === 0) {
|
|
1070
|
+
return [];
|
|
1071
|
+
}
|
|
1072
|
+
const result = [readSqliteExecuteResult(bc)];
|
|
1073
|
+
for (let i = 1; i < len; i++) {
|
|
1074
|
+
result[i] = readSqliteExecuteResult(bc);
|
|
1075
|
+
}
|
|
1076
|
+
return result;
|
|
1077
|
+
}
|
|
1078
|
+
function write16(bc, x) {
|
|
1079
|
+
bare.writeUintSafe(bc, x.length);
|
|
1080
|
+
for (let i = 0; i < x.length; i++) {
|
|
1081
|
+
writeSqliteExecuteResult(bc, x[i]);
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
function readSqliteExecuteBatchOk(bc) {
|
|
1085
|
+
return {
|
|
1086
|
+
results: read16(bc)
|
|
1087
|
+
};
|
|
1088
|
+
}
|
|
1089
|
+
function writeSqliteExecuteBatchOk(bc, x) {
|
|
1090
|
+
write16(bc, x.results);
|
|
1091
|
+
}
|
|
872
1092
|
function readSqliteExecResponse(bc) {
|
|
873
1093
|
const offset = bc.offset;
|
|
874
1094
|
const tag = bare.readU8(bc);
|
|
@@ -925,6 +1145,34 @@ function writeSqliteExecuteResponse(bc, x) {
|
|
|
925
1145
|
}
|
|
926
1146
|
}
|
|
927
1147
|
}
|
|
1148
|
+
function readSqliteExecuteBatchResponse(bc) {
|
|
1149
|
+
const offset = bc.offset;
|
|
1150
|
+
const tag = bare.readU8(bc);
|
|
1151
|
+
switch (tag) {
|
|
1152
|
+
case 0:
|
|
1153
|
+
return { tag: "SqliteExecuteBatchOk", val: readSqliteExecuteBatchOk(bc) };
|
|
1154
|
+
case 1:
|
|
1155
|
+
return { tag: "SqliteErrorResponse", val: readSqliteErrorResponse(bc) };
|
|
1156
|
+
default: {
|
|
1157
|
+
bc.offset = offset;
|
|
1158
|
+
throw new bare.BareError(offset, "invalid tag");
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
function writeSqliteExecuteBatchResponse(bc, x) {
|
|
1163
|
+
switch (x.tag) {
|
|
1164
|
+
case "SqliteExecuteBatchOk": {
|
|
1165
|
+
bare.writeU8(bc, 0);
|
|
1166
|
+
writeSqliteExecuteBatchOk(bc, x.val);
|
|
1167
|
+
break;
|
|
1168
|
+
}
|
|
1169
|
+
case "SqliteErrorResponse": {
|
|
1170
|
+
bare.writeU8(bc, 1);
|
|
1171
|
+
writeSqliteErrorResponse(bc, x.val);
|
|
1172
|
+
break;
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
928
1176
|
var StopCode = /* @__PURE__ */ ((StopCode2) => {
|
|
929
1177
|
StopCode2["Ok"] = "Ok";
|
|
930
1178
|
StopCode2["Error"] = "Error";
|
|
@@ -964,19 +1212,19 @@ function readActorName(bc) {
|
|
|
964
1212
|
function writeActorName(bc, x) {
|
|
965
1213
|
writeJson(bc, x.metadata);
|
|
966
1214
|
}
|
|
967
|
-
function
|
|
1215
|
+
function read17(bc) {
|
|
968
1216
|
return bare.readBool(bc) ? bare.readString(bc) : null;
|
|
969
1217
|
}
|
|
970
|
-
function
|
|
1218
|
+
function write17(bc, x) {
|
|
971
1219
|
bare.writeBool(bc, x != null);
|
|
972
1220
|
if (x != null) {
|
|
973
1221
|
bare.writeString(bc, x);
|
|
974
1222
|
}
|
|
975
1223
|
}
|
|
976
|
-
function
|
|
1224
|
+
function read18(bc) {
|
|
977
1225
|
return bare.readBool(bc) ? bare.readData(bc) : null;
|
|
978
1226
|
}
|
|
979
|
-
function
|
|
1227
|
+
function write18(bc, x) {
|
|
980
1228
|
bare.writeBool(bc, x != null);
|
|
981
1229
|
if (x != null) {
|
|
982
1230
|
bare.writeData(bc, x);
|
|
@@ -985,16 +1233,16 @@ function write16(bc, x) {
|
|
|
985
1233
|
function readActorConfig(bc) {
|
|
986
1234
|
return {
|
|
987
1235
|
name: bare.readString(bc),
|
|
988
|
-
key:
|
|
1236
|
+
key: read17(bc),
|
|
989
1237
|
createTs: bare.readI64(bc),
|
|
990
|
-
input:
|
|
1238
|
+
input: read18(bc)
|
|
991
1239
|
};
|
|
992
1240
|
}
|
|
993
1241
|
function writeActorConfig(bc, x) {
|
|
994
1242
|
bare.writeString(bc, x.name);
|
|
995
|
-
|
|
1243
|
+
write17(bc, x.key);
|
|
996
1244
|
bare.writeI64(bc, x.createTs);
|
|
997
|
-
|
|
1245
|
+
write18(bc, x.input);
|
|
998
1246
|
}
|
|
999
1247
|
function readActorCheckpoint(bc) {
|
|
1000
1248
|
return {
|
|
@@ -1037,12 +1285,12 @@ function writeActorIntent(bc, x) {
|
|
|
1037
1285
|
function readActorStateStopped(bc) {
|
|
1038
1286
|
return {
|
|
1039
1287
|
code: readStopCode(bc),
|
|
1040
|
-
message:
|
|
1288
|
+
message: read17(bc)
|
|
1041
1289
|
};
|
|
1042
1290
|
}
|
|
1043
1291
|
function writeActorStateStopped(bc, x) {
|
|
1044
1292
|
writeStopCode(bc, x.code);
|
|
1045
|
-
|
|
1293
|
+
write17(bc, x.message);
|
|
1046
1294
|
}
|
|
1047
1295
|
function readActorState(bc) {
|
|
1048
1296
|
const offset = bc.offset;
|
|
@@ -1152,7 +1400,7 @@ function writePreloadedKvEntry(bc, x) {
|
|
|
1152
1400
|
writeKvValue(bc, x.value);
|
|
1153
1401
|
writeKvMetadata(bc, x.metadata);
|
|
1154
1402
|
}
|
|
1155
|
-
function
|
|
1403
|
+
function read19(bc) {
|
|
1156
1404
|
const len = bare.readUintSafe(bc);
|
|
1157
1405
|
if (len === 0) {
|
|
1158
1406
|
return [];
|
|
@@ -1163,7 +1411,7 @@ function read17(bc) {
|
|
|
1163
1411
|
}
|
|
1164
1412
|
return result;
|
|
1165
1413
|
}
|
|
1166
|
-
function
|
|
1414
|
+
function write19(bc, x) {
|
|
1167
1415
|
bare.writeUintSafe(bc, x.length);
|
|
1168
1416
|
for (let i = 0; i < x.length; i++) {
|
|
1169
1417
|
writePreloadedKvEntry(bc, x[i]);
|
|
@@ -1171,13 +1419,13 @@ function write17(bc, x) {
|
|
|
1171
1419
|
}
|
|
1172
1420
|
function readPreloadedKv(bc) {
|
|
1173
1421
|
return {
|
|
1174
|
-
entries:
|
|
1422
|
+
entries: read19(bc),
|
|
1175
1423
|
requestedGetKeys: read0(bc),
|
|
1176
1424
|
requestedPrefixes: read0(bc)
|
|
1177
1425
|
};
|
|
1178
1426
|
}
|
|
1179
1427
|
function writePreloadedKv(bc, x) {
|
|
1180
|
-
|
|
1428
|
+
write19(bc, x.entries);
|
|
1181
1429
|
write0(bc, x.requestedGetKeys);
|
|
1182
1430
|
write0(bc, x.requestedPrefixes);
|
|
1183
1431
|
}
|
|
@@ -1191,7 +1439,7 @@ function writeHibernatingRequest(bc, x) {
|
|
|
1191
1439
|
writeGatewayId(bc, x.gatewayId);
|
|
1192
1440
|
writeRequestId(bc, x.requestId);
|
|
1193
1441
|
}
|
|
1194
|
-
function
|
|
1442
|
+
function read20(bc) {
|
|
1195
1443
|
const len = bare.readUintSafe(bc);
|
|
1196
1444
|
if (len === 0) {
|
|
1197
1445
|
return [];
|
|
@@ -1202,16 +1450,16 @@ function read18(bc) {
|
|
|
1202
1450
|
}
|
|
1203
1451
|
return result;
|
|
1204
1452
|
}
|
|
1205
|
-
function
|
|
1453
|
+
function write20(bc, x) {
|
|
1206
1454
|
bare.writeUintSafe(bc, x.length);
|
|
1207
1455
|
for (let i = 0; i < x.length; i++) {
|
|
1208
1456
|
writeHibernatingRequest(bc, x[i]);
|
|
1209
1457
|
}
|
|
1210
1458
|
}
|
|
1211
|
-
function
|
|
1459
|
+
function read21(bc) {
|
|
1212
1460
|
return bare.readBool(bc) ? readPreloadedKv(bc) : null;
|
|
1213
1461
|
}
|
|
1214
|
-
function
|
|
1462
|
+
function write21(bc, x) {
|
|
1215
1463
|
bare.writeBool(bc, x != null);
|
|
1216
1464
|
if (x != null) {
|
|
1217
1465
|
writePreloadedKv(bc, x);
|
|
@@ -1220,14 +1468,14 @@ function write19(bc, x) {
|
|
|
1220
1468
|
function readCommandStartActor(bc) {
|
|
1221
1469
|
return {
|
|
1222
1470
|
config: readActorConfig(bc),
|
|
1223
|
-
hibernatingRequests:
|
|
1224
|
-
preloadedKv:
|
|
1471
|
+
hibernatingRequests: read20(bc),
|
|
1472
|
+
preloadedKv: read21(bc)
|
|
1225
1473
|
};
|
|
1226
1474
|
}
|
|
1227
1475
|
function writeCommandStartActor(bc, x) {
|
|
1228
1476
|
writeActorConfig(bc, x.config);
|
|
1229
|
-
|
|
1230
|
-
|
|
1477
|
+
write20(bc, x.hibernatingRequests);
|
|
1478
|
+
write21(bc, x.preloadedKv);
|
|
1231
1479
|
}
|
|
1232
1480
|
var StopActorReason = /* @__PURE__ */ ((StopActorReason2) => {
|
|
1233
1481
|
StopActorReason2["SleepIntent"] = "SleepIntent";
|
|
@@ -1384,7 +1632,16 @@ function writeMessageId(bc, x) {
|
|
|
1384
1632
|
writeRequestId(bc, x.requestId);
|
|
1385
1633
|
writeMessageIndex(bc, x.messageIndex);
|
|
1386
1634
|
}
|
|
1387
|
-
function
|
|
1635
|
+
function read22(bc) {
|
|
1636
|
+
return bare.readBool(bc) ? bare.readU32(bc) : null;
|
|
1637
|
+
}
|
|
1638
|
+
function write22(bc, x) {
|
|
1639
|
+
bare.writeBool(bc, x != null);
|
|
1640
|
+
if (x != null) {
|
|
1641
|
+
bare.writeU32(bc, x);
|
|
1642
|
+
}
|
|
1643
|
+
}
|
|
1644
|
+
function read23(bc) {
|
|
1388
1645
|
const len = bare.readUintSafe(bc);
|
|
1389
1646
|
const result = /* @__PURE__ */ new Map();
|
|
1390
1647
|
for (let i = 0; i < len; i++) {
|
|
@@ -1398,7 +1655,7 @@ function read20(bc) {
|
|
|
1398
1655
|
}
|
|
1399
1656
|
return result;
|
|
1400
1657
|
}
|
|
1401
|
-
function
|
|
1658
|
+
function write23(bc, x) {
|
|
1402
1659
|
bare.writeUintSafe(bc, x.size);
|
|
1403
1660
|
for (const kv of x) {
|
|
1404
1661
|
bare.writeString(bc, kv[0]);
|
|
@@ -1408,20 +1665,24 @@ function write20(bc, x) {
|
|
|
1408
1665
|
function readToEnvoyRequestStart(bc) {
|
|
1409
1666
|
return {
|
|
1410
1667
|
actorId: readId(bc),
|
|
1668
|
+
actorGeneration: read22(bc),
|
|
1411
1669
|
method: bare.readString(bc),
|
|
1412
1670
|
path: bare.readString(bc),
|
|
1413
|
-
headers:
|
|
1414
|
-
body:
|
|
1415
|
-
stream: bare.readBool(bc)
|
|
1671
|
+
headers: read23(bc),
|
|
1672
|
+
body: read18(bc),
|
|
1673
|
+
stream: bare.readBool(bc),
|
|
1674
|
+
responseStream: bare.readBool(bc)
|
|
1416
1675
|
};
|
|
1417
1676
|
}
|
|
1418
1677
|
function writeToEnvoyRequestStart(bc, x) {
|
|
1419
1678
|
writeId(bc, x.actorId);
|
|
1679
|
+
write22(bc, x.actorGeneration);
|
|
1420
1680
|
bare.writeString(bc, x.method);
|
|
1421
1681
|
bare.writeString(bc, x.path);
|
|
1422
|
-
|
|
1423
|
-
|
|
1682
|
+
write23(bc, x.headers);
|
|
1683
|
+
write18(bc, x.body);
|
|
1424
1684
|
bare.writeBool(bc, x.stream);
|
|
1685
|
+
bare.writeBool(bc, x.responseStream);
|
|
1425
1686
|
}
|
|
1426
1687
|
function readToEnvoyRequestChunk(bc) {
|
|
1427
1688
|
return {
|
|
@@ -1433,18 +1694,102 @@ function writeToEnvoyRequestChunk(bc, x) {
|
|
|
1433
1694
|
bare.writeData(bc, x.body);
|
|
1434
1695
|
bare.writeBool(bc, x.finish);
|
|
1435
1696
|
}
|
|
1697
|
+
function readToRivetRequestBodyWindowUpdate(bc) {
|
|
1698
|
+
return {
|
|
1699
|
+
consumedBytes: bare.readU64(bc)
|
|
1700
|
+
};
|
|
1701
|
+
}
|
|
1702
|
+
function writeToRivetRequestBodyWindowUpdate(bc, x) {
|
|
1703
|
+
bare.writeU64(bc, x.consumedBytes);
|
|
1704
|
+
}
|
|
1705
|
+
var HttpStreamAbortReasonKind = /* @__PURE__ */ ((HttpStreamAbortReasonKind2) => {
|
|
1706
|
+
HttpStreamAbortReasonKind2["Unknown"] = "Unknown";
|
|
1707
|
+
HttpStreamAbortReasonKind2["Cancelled"] = "Cancelled";
|
|
1708
|
+
HttpStreamAbortReasonKind2["HandlerError"] = "HandlerError";
|
|
1709
|
+
HttpStreamAbortReasonKind2["InternalError"] = "InternalError";
|
|
1710
|
+
return HttpStreamAbortReasonKind2;
|
|
1711
|
+
})(HttpStreamAbortReasonKind || {});
|
|
1712
|
+
function readHttpStreamAbortReasonKind(bc) {
|
|
1713
|
+
const offset = bc.offset;
|
|
1714
|
+
const tag = bare.readU8(bc);
|
|
1715
|
+
switch (tag) {
|
|
1716
|
+
case 0:
|
|
1717
|
+
return "Unknown" /* Unknown */;
|
|
1718
|
+
case 1:
|
|
1719
|
+
return "Cancelled" /* Cancelled */;
|
|
1720
|
+
case 2:
|
|
1721
|
+
return "HandlerError" /* HandlerError */;
|
|
1722
|
+
case 3:
|
|
1723
|
+
return "InternalError" /* InternalError */;
|
|
1724
|
+
default: {
|
|
1725
|
+
bc.offset = offset;
|
|
1726
|
+
throw new bare.BareError(offset, "invalid tag");
|
|
1727
|
+
}
|
|
1728
|
+
}
|
|
1729
|
+
}
|
|
1730
|
+
function writeHttpStreamAbortReasonKind(bc, x) {
|
|
1731
|
+
switch (x) {
|
|
1732
|
+
case "Unknown" /* Unknown */: {
|
|
1733
|
+
bare.writeU8(bc, 0);
|
|
1734
|
+
break;
|
|
1735
|
+
}
|
|
1736
|
+
case "Cancelled" /* Cancelled */: {
|
|
1737
|
+
bare.writeU8(bc, 1);
|
|
1738
|
+
break;
|
|
1739
|
+
}
|
|
1740
|
+
case "HandlerError" /* HandlerError */: {
|
|
1741
|
+
bare.writeU8(bc, 2);
|
|
1742
|
+
break;
|
|
1743
|
+
}
|
|
1744
|
+
case "InternalError" /* InternalError */: {
|
|
1745
|
+
bare.writeU8(bc, 3);
|
|
1746
|
+
break;
|
|
1747
|
+
}
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1750
|
+
function readHttpStreamAbortReason(bc) {
|
|
1751
|
+
return {
|
|
1752
|
+
kind: readHttpStreamAbortReasonKind(bc),
|
|
1753
|
+
detail: read17(bc)
|
|
1754
|
+
};
|
|
1755
|
+
}
|
|
1756
|
+
function writeHttpStreamAbortReason(bc, x) {
|
|
1757
|
+
writeHttpStreamAbortReasonKind(bc, x.kind);
|
|
1758
|
+
write17(bc, x.detail);
|
|
1759
|
+
}
|
|
1760
|
+
function read24(bc) {
|
|
1761
|
+
return bare.readBool(bc) ? readId(bc) : null;
|
|
1762
|
+
}
|
|
1763
|
+
function write24(bc, x) {
|
|
1764
|
+
bare.writeBool(bc, x != null);
|
|
1765
|
+
if (x != null) {
|
|
1766
|
+
writeId(bc, x);
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
function readToEnvoyRequestAbort(bc) {
|
|
1770
|
+
return {
|
|
1771
|
+
actorId: read24(bc),
|
|
1772
|
+
actorGeneration: read22(bc),
|
|
1773
|
+
reason: readHttpStreamAbortReason(bc)
|
|
1774
|
+
};
|
|
1775
|
+
}
|
|
1776
|
+
function writeToEnvoyRequestAbort(bc, x) {
|
|
1777
|
+
write24(bc, x.actorId);
|
|
1778
|
+
write22(bc, x.actorGeneration);
|
|
1779
|
+
writeHttpStreamAbortReason(bc, x.reason);
|
|
1780
|
+
}
|
|
1436
1781
|
function readToRivetResponseStart(bc) {
|
|
1437
1782
|
return {
|
|
1438
1783
|
status: bare.readU16(bc),
|
|
1439
|
-
headers:
|
|
1440
|
-
body:
|
|
1784
|
+
headers: read23(bc),
|
|
1785
|
+
body: read18(bc),
|
|
1441
1786
|
stream: bare.readBool(bc)
|
|
1442
1787
|
};
|
|
1443
1788
|
}
|
|
1444
1789
|
function writeToRivetResponseStart(bc, x) {
|
|
1445
1790
|
bare.writeU16(bc, x.status);
|
|
1446
|
-
|
|
1447
|
-
|
|
1791
|
+
write23(bc, x.headers);
|
|
1792
|
+
write18(bc, x.body);
|
|
1448
1793
|
bare.writeBool(bc, x.stream);
|
|
1449
1794
|
}
|
|
1450
1795
|
function readToRivetResponseChunk(bc) {
|
|
@@ -1457,17 +1802,35 @@ function writeToRivetResponseChunk(bc, x) {
|
|
|
1457
1802
|
bare.writeData(bc, x.body);
|
|
1458
1803
|
bare.writeBool(bc, x.finish);
|
|
1459
1804
|
}
|
|
1805
|
+
function readToEnvoyResponseBodyWindowUpdate(bc) {
|
|
1806
|
+
return {
|
|
1807
|
+
consumedBytes: bare.readU64(bc)
|
|
1808
|
+
};
|
|
1809
|
+
}
|
|
1810
|
+
function writeToEnvoyResponseBodyWindowUpdate(bc, x) {
|
|
1811
|
+
bare.writeU64(bc, x.consumedBytes);
|
|
1812
|
+
}
|
|
1813
|
+
function readToRivetResponseAbort(bc) {
|
|
1814
|
+
return {
|
|
1815
|
+
reason: readHttpStreamAbortReason(bc)
|
|
1816
|
+
};
|
|
1817
|
+
}
|
|
1818
|
+
function writeToRivetResponseAbort(bc, x) {
|
|
1819
|
+
writeHttpStreamAbortReason(bc, x.reason);
|
|
1820
|
+
}
|
|
1460
1821
|
function readToEnvoyWebSocketOpen(bc) {
|
|
1461
1822
|
return {
|
|
1462
1823
|
actorId: readId(bc),
|
|
1824
|
+
actorGeneration: read22(bc),
|
|
1463
1825
|
path: bare.readString(bc),
|
|
1464
|
-
headers:
|
|
1826
|
+
headers: read23(bc)
|
|
1465
1827
|
};
|
|
1466
1828
|
}
|
|
1467
1829
|
function writeToEnvoyWebSocketOpen(bc, x) {
|
|
1468
1830
|
writeId(bc, x.actorId);
|
|
1831
|
+
write22(bc, x.actorGeneration);
|
|
1469
1832
|
bare.writeString(bc, x.path);
|
|
1470
|
-
|
|
1833
|
+
write23(bc, x.headers);
|
|
1471
1834
|
}
|
|
1472
1835
|
function readToEnvoyWebSocketMessage(bc) {
|
|
1473
1836
|
return {
|
|
@@ -1479,10 +1842,10 @@ function writeToEnvoyWebSocketMessage(bc, x) {
|
|
|
1479
1842
|
bare.writeData(bc, x.data);
|
|
1480
1843
|
bare.writeBool(bc, x.binary);
|
|
1481
1844
|
}
|
|
1482
|
-
function
|
|
1845
|
+
function read25(bc) {
|
|
1483
1846
|
return bare.readBool(bc) ? bare.readU16(bc) : null;
|
|
1484
1847
|
}
|
|
1485
|
-
function
|
|
1848
|
+
function write25(bc, x) {
|
|
1486
1849
|
bare.writeBool(bc, x != null);
|
|
1487
1850
|
if (x != null) {
|
|
1488
1851
|
bare.writeU16(bc, x);
|
|
@@ -1490,13 +1853,13 @@ function write21(bc, x) {
|
|
|
1490
1853
|
}
|
|
1491
1854
|
function readToEnvoyWebSocketClose(bc) {
|
|
1492
1855
|
return {
|
|
1493
|
-
code:
|
|
1494
|
-
reason:
|
|
1856
|
+
code: read25(bc),
|
|
1857
|
+
reason: read17(bc)
|
|
1495
1858
|
};
|
|
1496
1859
|
}
|
|
1497
1860
|
function writeToEnvoyWebSocketClose(bc, x) {
|
|
1498
|
-
|
|
1499
|
-
|
|
1861
|
+
write25(bc, x.code);
|
|
1862
|
+
write17(bc, x.reason);
|
|
1500
1863
|
}
|
|
1501
1864
|
function readToRivetWebSocketOpen(bc) {
|
|
1502
1865
|
return {
|
|
@@ -1526,14 +1889,14 @@ function writeToRivetWebSocketMessageAck(bc, x) {
|
|
|
1526
1889
|
}
|
|
1527
1890
|
function readToRivetWebSocketClose(bc) {
|
|
1528
1891
|
return {
|
|
1529
|
-
code:
|
|
1530
|
-
reason:
|
|
1892
|
+
code: read25(bc),
|
|
1893
|
+
reason: read17(bc),
|
|
1531
1894
|
hibernate: bare.readBool(bc)
|
|
1532
1895
|
};
|
|
1533
1896
|
}
|
|
1534
1897
|
function writeToRivetWebSocketClose(bc, x) {
|
|
1535
|
-
|
|
1536
|
-
|
|
1898
|
+
write25(bc, x.code);
|
|
1899
|
+
write17(bc, x.reason);
|
|
1537
1900
|
bare.writeBool(bc, x.hibernate);
|
|
1538
1901
|
}
|
|
1539
1902
|
function readToRivetTunnelMessageKind(bc) {
|
|
@@ -1545,14 +1908,18 @@ function readToRivetTunnelMessageKind(bc) {
|
|
|
1545
1908
|
case 1:
|
|
1546
1909
|
return { tag: "ToRivetResponseChunk", val: readToRivetResponseChunk(bc) };
|
|
1547
1910
|
case 2:
|
|
1548
|
-
return { tag: "ToRivetResponseAbort", val:
|
|
1911
|
+
return { tag: "ToRivetResponseAbort", val: readToRivetResponseAbort(bc) };
|
|
1549
1912
|
case 3:
|
|
1550
|
-
return { tag: "
|
|
1913
|
+
return { tag: "ToRivetRequestBodyWindowUpdate", val: readToRivetRequestBodyWindowUpdate(bc) };
|
|
1551
1914
|
case 4:
|
|
1552
|
-
return { tag: "
|
|
1915
|
+
return { tag: "ToRivetRequestBodyCancel", val: null };
|
|
1553
1916
|
case 5:
|
|
1554
|
-
return { tag: "
|
|
1917
|
+
return { tag: "ToRivetWebSocketOpen", val: readToRivetWebSocketOpen(bc) };
|
|
1555
1918
|
case 6:
|
|
1919
|
+
return { tag: "ToRivetWebSocketMessage", val: readToRivetWebSocketMessage(bc) };
|
|
1920
|
+
case 7:
|
|
1921
|
+
return { tag: "ToRivetWebSocketMessageAck", val: readToRivetWebSocketMessageAck(bc) };
|
|
1922
|
+
case 8:
|
|
1556
1923
|
return { tag: "ToRivetWebSocketClose", val: readToRivetWebSocketClose(bc) };
|
|
1557
1924
|
default: {
|
|
1558
1925
|
bc.offset = offset;
|
|
@@ -1574,25 +1941,35 @@ function writeToRivetTunnelMessageKind(bc, x) {
|
|
|
1574
1941
|
}
|
|
1575
1942
|
case "ToRivetResponseAbort": {
|
|
1576
1943
|
bare.writeU8(bc, 2);
|
|
1944
|
+
writeToRivetResponseAbort(bc, x.val);
|
|
1577
1945
|
break;
|
|
1578
1946
|
}
|
|
1579
|
-
case "
|
|
1947
|
+
case "ToRivetRequestBodyWindowUpdate": {
|
|
1580
1948
|
bare.writeU8(bc, 3);
|
|
1949
|
+
writeToRivetRequestBodyWindowUpdate(bc, x.val);
|
|
1950
|
+
break;
|
|
1951
|
+
}
|
|
1952
|
+
case "ToRivetRequestBodyCancel": {
|
|
1953
|
+
bare.writeU8(bc, 4);
|
|
1954
|
+
break;
|
|
1955
|
+
}
|
|
1956
|
+
case "ToRivetWebSocketOpen": {
|
|
1957
|
+
bare.writeU8(bc, 5);
|
|
1581
1958
|
writeToRivetWebSocketOpen(bc, x.val);
|
|
1582
1959
|
break;
|
|
1583
1960
|
}
|
|
1584
1961
|
case "ToRivetWebSocketMessage": {
|
|
1585
|
-
bare.writeU8(bc,
|
|
1962
|
+
bare.writeU8(bc, 6);
|
|
1586
1963
|
writeToRivetWebSocketMessage(bc, x.val);
|
|
1587
1964
|
break;
|
|
1588
1965
|
}
|
|
1589
1966
|
case "ToRivetWebSocketMessageAck": {
|
|
1590
|
-
bare.writeU8(bc,
|
|
1967
|
+
bare.writeU8(bc, 7);
|
|
1591
1968
|
writeToRivetWebSocketMessageAck(bc, x.val);
|
|
1592
1969
|
break;
|
|
1593
1970
|
}
|
|
1594
1971
|
case "ToRivetWebSocketClose": {
|
|
1595
|
-
bare.writeU8(bc,
|
|
1972
|
+
bare.writeU8(bc, 8);
|
|
1596
1973
|
writeToRivetWebSocketClose(bc, x.val);
|
|
1597
1974
|
break;
|
|
1598
1975
|
}
|
|
@@ -1617,12 +1994,16 @@ function readToEnvoyTunnelMessageKind(bc) {
|
|
|
1617
1994
|
case 1:
|
|
1618
1995
|
return { tag: "ToEnvoyRequestChunk", val: readToEnvoyRequestChunk(bc) };
|
|
1619
1996
|
case 2:
|
|
1620
|
-
return { tag: "ToEnvoyRequestAbort", val:
|
|
1997
|
+
return { tag: "ToEnvoyRequestAbort", val: readToEnvoyRequestAbort(bc) };
|
|
1621
1998
|
case 3:
|
|
1622
|
-
return { tag: "
|
|
1999
|
+
return { tag: "ToEnvoyRequestBodyCancel", val: null };
|
|
1623
2000
|
case 4:
|
|
1624
|
-
return { tag: "
|
|
2001
|
+
return { tag: "ToEnvoyResponseBodyWindowUpdate", val: readToEnvoyResponseBodyWindowUpdate(bc) };
|
|
1625
2002
|
case 5:
|
|
2003
|
+
return { tag: "ToEnvoyWebSocketOpen", val: readToEnvoyWebSocketOpen(bc) };
|
|
2004
|
+
case 6:
|
|
2005
|
+
return { tag: "ToEnvoyWebSocketMessage", val: readToEnvoyWebSocketMessage(bc) };
|
|
2006
|
+
case 7:
|
|
1626
2007
|
return { tag: "ToEnvoyWebSocketClose", val: readToEnvoyWebSocketClose(bc) };
|
|
1627
2008
|
default: {
|
|
1628
2009
|
bc.offset = offset;
|
|
@@ -1644,20 +2025,30 @@ function writeToEnvoyTunnelMessageKind(bc, x) {
|
|
|
1644
2025
|
}
|
|
1645
2026
|
case "ToEnvoyRequestAbort": {
|
|
1646
2027
|
bare.writeU8(bc, 2);
|
|
2028
|
+
writeToEnvoyRequestAbort(bc, x.val);
|
|
1647
2029
|
break;
|
|
1648
2030
|
}
|
|
1649
|
-
case "
|
|
2031
|
+
case "ToEnvoyRequestBodyCancel": {
|
|
1650
2032
|
bare.writeU8(bc, 3);
|
|
2033
|
+
break;
|
|
2034
|
+
}
|
|
2035
|
+
case "ToEnvoyResponseBodyWindowUpdate": {
|
|
2036
|
+
bare.writeU8(bc, 4);
|
|
2037
|
+
writeToEnvoyResponseBodyWindowUpdate(bc, x.val);
|
|
2038
|
+
break;
|
|
2039
|
+
}
|
|
2040
|
+
case "ToEnvoyWebSocketOpen": {
|
|
2041
|
+
bare.writeU8(bc, 5);
|
|
1651
2042
|
writeToEnvoyWebSocketOpen(bc, x.val);
|
|
1652
2043
|
break;
|
|
1653
2044
|
}
|
|
1654
2045
|
case "ToEnvoyWebSocketMessage": {
|
|
1655
|
-
bare.writeU8(bc,
|
|
2046
|
+
bare.writeU8(bc, 6);
|
|
1656
2047
|
writeToEnvoyWebSocketMessage(bc, x.val);
|
|
1657
2048
|
break;
|
|
1658
2049
|
}
|
|
1659
2050
|
case "ToEnvoyWebSocketClose": {
|
|
1660
|
-
bare.writeU8(bc,
|
|
2051
|
+
bare.writeU8(bc, 7);
|
|
1661
2052
|
writeToEnvoyWebSocketClose(bc, x.val);
|
|
1662
2053
|
break;
|
|
1663
2054
|
}
|
|
@@ -1681,7 +2072,7 @@ function readToEnvoyPing(bc) {
|
|
|
1681
2072
|
function writeToEnvoyPing(bc, x) {
|
|
1682
2073
|
bare.writeI64(bc, x.ts);
|
|
1683
2074
|
}
|
|
1684
|
-
function
|
|
2075
|
+
function read26(bc) {
|
|
1685
2076
|
const len = bare.readUintSafe(bc);
|
|
1686
2077
|
const result = /* @__PURE__ */ new Map();
|
|
1687
2078
|
for (let i = 0; i < len; i++) {
|
|
@@ -1695,26 +2086,26 @@ function read22(bc) {
|
|
|
1695
2086
|
}
|
|
1696
2087
|
return result;
|
|
1697
2088
|
}
|
|
1698
|
-
function
|
|
2089
|
+
function write26(bc, x) {
|
|
1699
2090
|
bare.writeUintSafe(bc, x.size);
|
|
1700
2091
|
for (const kv of x) {
|
|
1701
2092
|
bare.writeString(bc, kv[0]);
|
|
1702
2093
|
writeActorName(bc, kv[1]);
|
|
1703
2094
|
}
|
|
1704
2095
|
}
|
|
1705
|
-
function
|
|
1706
|
-
return bare.readBool(bc) ?
|
|
2096
|
+
function read27(bc) {
|
|
2097
|
+
return bare.readBool(bc) ? read26(bc) : null;
|
|
1707
2098
|
}
|
|
1708
|
-
function
|
|
2099
|
+
function write27(bc, x) {
|
|
1709
2100
|
bare.writeBool(bc, x != null);
|
|
1710
2101
|
if (x != null) {
|
|
1711
|
-
|
|
2102
|
+
write26(bc, x);
|
|
1712
2103
|
}
|
|
1713
2104
|
}
|
|
1714
|
-
function
|
|
2105
|
+
function read28(bc) {
|
|
1715
2106
|
return bare.readBool(bc) ? readJson(bc) : null;
|
|
1716
2107
|
}
|
|
1717
|
-
function
|
|
2108
|
+
function write28(bc, x) {
|
|
1718
2109
|
bare.writeBool(bc, x != null);
|
|
1719
2110
|
if (x != null) {
|
|
1720
2111
|
writeJson(bc, x);
|
|
@@ -1722,13 +2113,13 @@ function write24(bc, x) {
|
|
|
1722
2113
|
}
|
|
1723
2114
|
function readToRivetMetadata(bc) {
|
|
1724
2115
|
return {
|
|
1725
|
-
prepopulateActorNames:
|
|
1726
|
-
metadata:
|
|
2116
|
+
prepopulateActorNames: read27(bc),
|
|
2117
|
+
metadata: read28(bc)
|
|
1727
2118
|
};
|
|
1728
2119
|
}
|
|
1729
2120
|
function writeToRivetMetadata(bc, x) {
|
|
1730
|
-
|
|
1731
|
-
|
|
2121
|
+
write27(bc, x.prepopulateActorNames);
|
|
2122
|
+
write28(bc, x.metadata);
|
|
1732
2123
|
}
|
|
1733
2124
|
function readToRivetEvents(bc) {
|
|
1734
2125
|
const len = bare.readUintSafe(bc);
|
|
@@ -1747,7 +2138,7 @@ function writeToRivetEvents(bc, x) {
|
|
|
1747
2138
|
writeEventWrapper(bc, x[i]);
|
|
1748
2139
|
}
|
|
1749
2140
|
}
|
|
1750
|
-
function
|
|
2141
|
+
function read29(bc) {
|
|
1751
2142
|
const len = bare.readUintSafe(bc);
|
|
1752
2143
|
if (len === 0) {
|
|
1753
2144
|
return [];
|
|
@@ -1758,7 +2149,7 @@ function read25(bc) {
|
|
|
1758
2149
|
}
|
|
1759
2150
|
return result;
|
|
1760
2151
|
}
|
|
1761
|
-
function
|
|
2152
|
+
function write29(bc, x) {
|
|
1762
2153
|
bare.writeUintSafe(bc, x.length);
|
|
1763
2154
|
for (let i = 0; i < x.length; i++) {
|
|
1764
2155
|
writeActorCheckpoint(bc, x[i]);
|
|
@@ -1766,11 +2157,11 @@ function write25(bc, x) {
|
|
|
1766
2157
|
}
|
|
1767
2158
|
function readToRivetAckCommands(bc) {
|
|
1768
2159
|
return {
|
|
1769
|
-
lastCommandCheckpoints:
|
|
2160
|
+
lastCommandCheckpoints: read29(bc)
|
|
1770
2161
|
};
|
|
1771
2162
|
}
|
|
1772
2163
|
function writeToRivetAckCommands(bc, x) {
|
|
1773
|
-
|
|
2164
|
+
write29(bc, x.lastCommandCheckpoints);
|
|
1774
2165
|
}
|
|
1775
2166
|
function readToRivetPong(bc) {
|
|
1776
2167
|
return {
|
|
@@ -1812,6 +2203,36 @@ function writeToRivetSqliteCommitRequest(bc, x) {
|
|
|
1812
2203
|
bare.writeU32(bc, x.requestId);
|
|
1813
2204
|
writeSqliteCommitRequest(bc, x.data);
|
|
1814
2205
|
}
|
|
2206
|
+
function readToRivetSqliteCommitStageBeginRequest(bc) {
|
|
2207
|
+
return {
|
|
2208
|
+
requestId: bare.readU32(bc),
|
|
2209
|
+
data: readSqliteCommitStageBeginRequest(bc)
|
|
2210
|
+
};
|
|
2211
|
+
}
|
|
2212
|
+
function writeToRivetSqliteCommitStageBeginRequest(bc, x) {
|
|
2213
|
+
bare.writeU32(bc, x.requestId);
|
|
2214
|
+
writeSqliteCommitStageBeginRequest(bc, x.data);
|
|
2215
|
+
}
|
|
2216
|
+
function readToRivetSqliteCommitStageSegmentRequest(bc) {
|
|
2217
|
+
return {
|
|
2218
|
+
requestId: bare.readU32(bc),
|
|
2219
|
+
data: readSqliteCommitStageSegmentRequest(bc)
|
|
2220
|
+
};
|
|
2221
|
+
}
|
|
2222
|
+
function writeToRivetSqliteCommitStageSegmentRequest(bc, x) {
|
|
2223
|
+
bare.writeU32(bc, x.requestId);
|
|
2224
|
+
writeSqliteCommitStageSegmentRequest(bc, x.data);
|
|
2225
|
+
}
|
|
2226
|
+
function readToRivetSqliteCommitFinalizeRequest(bc) {
|
|
2227
|
+
return {
|
|
2228
|
+
requestId: bare.readU32(bc),
|
|
2229
|
+
data: readSqliteCommitFinalizeRequest(bc)
|
|
2230
|
+
};
|
|
2231
|
+
}
|
|
2232
|
+
function writeToRivetSqliteCommitFinalizeRequest(bc, x) {
|
|
2233
|
+
bare.writeU32(bc, x.requestId);
|
|
2234
|
+
writeSqliteCommitFinalizeRequest(bc, x.data);
|
|
2235
|
+
}
|
|
1815
2236
|
function readToRivetSqliteExecRequest(bc) {
|
|
1816
2237
|
return {
|
|
1817
2238
|
requestId: bare.readU32(bc),
|
|
@@ -1832,6 +2253,16 @@ function writeToRivetSqliteExecuteRequest(bc, x) {
|
|
|
1832
2253
|
bare.writeU32(bc, x.requestId);
|
|
1833
2254
|
writeSqliteExecuteRequest(bc, x.data);
|
|
1834
2255
|
}
|
|
2256
|
+
function readToRivetSqliteExecuteBatchRequest(bc) {
|
|
2257
|
+
return {
|
|
2258
|
+
requestId: bare.readU32(bc),
|
|
2259
|
+
data: readSqliteExecuteBatchRequest(bc)
|
|
2260
|
+
};
|
|
2261
|
+
}
|
|
2262
|
+
function writeToRivetSqliteExecuteBatchRequest(bc, x) {
|
|
2263
|
+
bare.writeU32(bc, x.requestId);
|
|
2264
|
+
writeSqliteExecuteBatchRequest(bc, x.data);
|
|
2265
|
+
}
|
|
1835
2266
|
function readToRivet(bc) {
|
|
1836
2267
|
const offset = bc.offset;
|
|
1837
2268
|
const tag = bare.readU8(bc);
|
|
@@ -1855,9 +2286,17 @@ function readToRivet(bc) {
|
|
|
1855
2286
|
case 8:
|
|
1856
2287
|
return { tag: "ToRivetSqliteCommitRequest", val: readToRivetSqliteCommitRequest(bc) };
|
|
1857
2288
|
case 9:
|
|
1858
|
-
return { tag: "
|
|
2289
|
+
return { tag: "ToRivetSqliteCommitStageBeginRequest", val: readToRivetSqliteCommitStageBeginRequest(bc) };
|
|
1859
2290
|
case 10:
|
|
2291
|
+
return { tag: "ToRivetSqliteCommitStageSegmentRequest", val: readToRivetSqliteCommitStageSegmentRequest(bc) };
|
|
2292
|
+
case 11:
|
|
2293
|
+
return { tag: "ToRivetSqliteCommitFinalizeRequest", val: readToRivetSqliteCommitFinalizeRequest(bc) };
|
|
2294
|
+
case 12:
|
|
2295
|
+
return { tag: "ToRivetSqliteExecRequest", val: readToRivetSqliteExecRequest(bc) };
|
|
2296
|
+
case 13:
|
|
1860
2297
|
return { tag: "ToRivetSqliteExecuteRequest", val: readToRivetSqliteExecuteRequest(bc) };
|
|
2298
|
+
case 14:
|
|
2299
|
+
return { tag: "ToRivetSqliteExecuteBatchRequest", val: readToRivetSqliteExecuteBatchRequest(bc) };
|
|
1861
2300
|
default: {
|
|
1862
2301
|
bc.offset = offset;
|
|
1863
2302
|
throw new bare.BareError(offset, "invalid tag");
|
|
@@ -1910,16 +2349,36 @@ function writeToRivet(bc, x) {
|
|
|
1910
2349
|
writeToRivetSqliteCommitRequest(bc, x.val);
|
|
1911
2350
|
break;
|
|
1912
2351
|
}
|
|
1913
|
-
case "
|
|
2352
|
+
case "ToRivetSqliteCommitStageBeginRequest": {
|
|
1914
2353
|
bare.writeU8(bc, 9);
|
|
2354
|
+
writeToRivetSqliteCommitStageBeginRequest(bc, x.val);
|
|
2355
|
+
break;
|
|
2356
|
+
}
|
|
2357
|
+
case "ToRivetSqliteCommitStageSegmentRequest": {
|
|
2358
|
+
bare.writeU8(bc, 10);
|
|
2359
|
+
writeToRivetSqliteCommitStageSegmentRequest(bc, x.val);
|
|
2360
|
+
break;
|
|
2361
|
+
}
|
|
2362
|
+
case "ToRivetSqliteCommitFinalizeRequest": {
|
|
2363
|
+
bare.writeU8(bc, 11);
|
|
2364
|
+
writeToRivetSqliteCommitFinalizeRequest(bc, x.val);
|
|
2365
|
+
break;
|
|
2366
|
+
}
|
|
2367
|
+
case "ToRivetSqliteExecRequest": {
|
|
2368
|
+
bare.writeU8(bc, 12);
|
|
1915
2369
|
writeToRivetSqliteExecRequest(bc, x.val);
|
|
1916
2370
|
break;
|
|
1917
2371
|
}
|
|
1918
2372
|
case "ToRivetSqliteExecuteRequest": {
|
|
1919
|
-
bare.writeU8(bc,
|
|
2373
|
+
bare.writeU8(bc, 13);
|
|
1920
2374
|
writeToRivetSqliteExecuteRequest(bc, x.val);
|
|
1921
2375
|
break;
|
|
1922
2376
|
}
|
|
2377
|
+
case "ToRivetSqliteExecuteBatchRequest": {
|
|
2378
|
+
bare.writeU8(bc, 14);
|
|
2379
|
+
writeToRivetSqliteExecuteBatchRequest(bc, x.val);
|
|
2380
|
+
break;
|
|
2381
|
+
}
|
|
1923
2382
|
}
|
|
1924
2383
|
}
|
|
1925
2384
|
function encodeToRivet(x, config) {
|
|
@@ -1978,11 +2437,11 @@ function writeToEnvoyCommands(bc, x) {
|
|
|
1978
2437
|
}
|
|
1979
2438
|
function readToEnvoyAckEvents(bc) {
|
|
1980
2439
|
return {
|
|
1981
|
-
lastEventCheckpoints:
|
|
2440
|
+
lastEventCheckpoints: read29(bc)
|
|
1982
2441
|
};
|
|
1983
2442
|
}
|
|
1984
2443
|
function writeToEnvoyAckEvents(bc, x) {
|
|
1985
|
-
|
|
2444
|
+
write29(bc, x.lastEventCheckpoints);
|
|
1986
2445
|
}
|
|
1987
2446
|
function readToEnvoyKvResponse(bc) {
|
|
1988
2447
|
return {
|
|
@@ -2014,6 +2473,36 @@ function writeToEnvoySqliteCommitResponse(bc, x) {
|
|
|
2014
2473
|
bare.writeU32(bc, x.requestId);
|
|
2015
2474
|
writeSqliteCommitResponse(bc, x.data);
|
|
2016
2475
|
}
|
|
2476
|
+
function readToEnvoySqliteCommitStageBeginResponse(bc) {
|
|
2477
|
+
return {
|
|
2478
|
+
requestId: bare.readU32(bc),
|
|
2479
|
+
data: readSqliteCommitStageBeginResponse(bc)
|
|
2480
|
+
};
|
|
2481
|
+
}
|
|
2482
|
+
function writeToEnvoySqliteCommitStageBeginResponse(bc, x) {
|
|
2483
|
+
bare.writeU32(bc, x.requestId);
|
|
2484
|
+
writeSqliteCommitStageBeginResponse(bc, x.data);
|
|
2485
|
+
}
|
|
2486
|
+
function readToEnvoySqliteCommitStageSegmentResponse(bc) {
|
|
2487
|
+
return {
|
|
2488
|
+
requestId: bare.readU32(bc),
|
|
2489
|
+
data: readSqliteCommitStageSegmentResponse(bc)
|
|
2490
|
+
};
|
|
2491
|
+
}
|
|
2492
|
+
function writeToEnvoySqliteCommitStageSegmentResponse(bc, x) {
|
|
2493
|
+
bare.writeU32(bc, x.requestId);
|
|
2494
|
+
writeSqliteCommitStageSegmentResponse(bc, x.data);
|
|
2495
|
+
}
|
|
2496
|
+
function readToEnvoySqliteCommitFinalizeResponse(bc) {
|
|
2497
|
+
return {
|
|
2498
|
+
requestId: bare.readU32(bc),
|
|
2499
|
+
data: readSqliteCommitFinalizeResponse(bc)
|
|
2500
|
+
};
|
|
2501
|
+
}
|
|
2502
|
+
function writeToEnvoySqliteCommitFinalizeResponse(bc, x) {
|
|
2503
|
+
bare.writeU32(bc, x.requestId);
|
|
2504
|
+
writeSqliteCommitFinalizeResponse(bc, x.data);
|
|
2505
|
+
}
|
|
2017
2506
|
function readToEnvoySqliteExecResponse(bc) {
|
|
2018
2507
|
return {
|
|
2019
2508
|
requestId: bare.readU32(bc),
|
|
@@ -2034,6 +2523,16 @@ function writeToEnvoySqliteExecuteResponse(bc, x) {
|
|
|
2034
2523
|
bare.writeU32(bc, x.requestId);
|
|
2035
2524
|
writeSqliteExecuteResponse(bc, x.data);
|
|
2036
2525
|
}
|
|
2526
|
+
function readToEnvoySqliteExecuteBatchResponse(bc) {
|
|
2527
|
+
return {
|
|
2528
|
+
requestId: bare.readU32(bc),
|
|
2529
|
+
data: readSqliteExecuteBatchResponse(bc)
|
|
2530
|
+
};
|
|
2531
|
+
}
|
|
2532
|
+
function writeToEnvoySqliteExecuteBatchResponse(bc, x) {
|
|
2533
|
+
bare.writeU32(bc, x.requestId);
|
|
2534
|
+
writeSqliteExecuteBatchResponse(bc, x.data);
|
|
2535
|
+
}
|
|
2037
2536
|
function readToEnvoy(bc) {
|
|
2038
2537
|
const offset = bc.offset;
|
|
2039
2538
|
const tag = bare.readU8(bc);
|
|
@@ -2055,9 +2554,17 @@ function readToEnvoy(bc) {
|
|
|
2055
2554
|
case 7:
|
|
2056
2555
|
return { tag: "ToEnvoySqliteCommitResponse", val: readToEnvoySqliteCommitResponse(bc) };
|
|
2057
2556
|
case 8:
|
|
2058
|
-
return { tag: "
|
|
2557
|
+
return { tag: "ToEnvoySqliteCommitStageBeginResponse", val: readToEnvoySqliteCommitStageBeginResponse(bc) };
|
|
2059
2558
|
case 9:
|
|
2559
|
+
return { tag: "ToEnvoySqliteCommitStageSegmentResponse", val: readToEnvoySqliteCommitStageSegmentResponse(bc) };
|
|
2560
|
+
case 10:
|
|
2561
|
+
return { tag: "ToEnvoySqliteCommitFinalizeResponse", val: readToEnvoySqliteCommitFinalizeResponse(bc) };
|
|
2562
|
+
case 11:
|
|
2563
|
+
return { tag: "ToEnvoySqliteExecResponse", val: readToEnvoySqliteExecResponse(bc) };
|
|
2564
|
+
case 12:
|
|
2060
2565
|
return { tag: "ToEnvoySqliteExecuteResponse", val: readToEnvoySqliteExecuteResponse(bc) };
|
|
2566
|
+
case 13:
|
|
2567
|
+
return { tag: "ToEnvoySqliteExecuteBatchResponse", val: readToEnvoySqliteExecuteBatchResponse(bc) };
|
|
2061
2568
|
default: {
|
|
2062
2569
|
bc.offset = offset;
|
|
2063
2570
|
throw new bare.BareError(offset, "invalid tag");
|
|
@@ -2106,16 +2613,36 @@ function writeToEnvoy(bc, x) {
|
|
|
2106
2613
|
writeToEnvoySqliteCommitResponse(bc, x.val);
|
|
2107
2614
|
break;
|
|
2108
2615
|
}
|
|
2109
|
-
case "
|
|
2616
|
+
case "ToEnvoySqliteCommitStageBeginResponse": {
|
|
2110
2617
|
bare.writeU8(bc, 8);
|
|
2618
|
+
writeToEnvoySqliteCommitStageBeginResponse(bc, x.val);
|
|
2619
|
+
break;
|
|
2620
|
+
}
|
|
2621
|
+
case "ToEnvoySqliteCommitStageSegmentResponse": {
|
|
2622
|
+
bare.writeU8(bc, 9);
|
|
2623
|
+
writeToEnvoySqliteCommitStageSegmentResponse(bc, x.val);
|
|
2624
|
+
break;
|
|
2625
|
+
}
|
|
2626
|
+
case "ToEnvoySqliteCommitFinalizeResponse": {
|
|
2627
|
+
bare.writeU8(bc, 10);
|
|
2628
|
+
writeToEnvoySqliteCommitFinalizeResponse(bc, x.val);
|
|
2629
|
+
break;
|
|
2630
|
+
}
|
|
2631
|
+
case "ToEnvoySqliteExecResponse": {
|
|
2632
|
+
bare.writeU8(bc, 11);
|
|
2111
2633
|
writeToEnvoySqliteExecResponse(bc, x.val);
|
|
2112
2634
|
break;
|
|
2113
2635
|
}
|
|
2114
2636
|
case "ToEnvoySqliteExecuteResponse": {
|
|
2115
|
-
bare.writeU8(bc,
|
|
2637
|
+
bare.writeU8(bc, 12);
|
|
2116
2638
|
writeToEnvoySqliteExecuteResponse(bc, x.val);
|
|
2117
2639
|
break;
|
|
2118
2640
|
}
|
|
2641
|
+
case "ToEnvoySqliteExecuteBatchResponse": {
|
|
2642
|
+
bare.writeU8(bc, 13);
|
|
2643
|
+
writeToEnvoySqliteExecuteBatchResponse(bc, x.val);
|
|
2644
|
+
break;
|
|
2645
|
+
}
|
|
2119
2646
|
}
|
|
2120
2647
|
}
|
|
2121
2648
|
function encodeToEnvoy(x, config) {
|
|
@@ -2322,8 +2849,9 @@ function decodeToOutbound(bytes) {
|
|
|
2322
2849
|
function assert(condition, message) {
|
|
2323
2850
|
if (!condition) throw new Error(message ?? "Assertion failed");
|
|
2324
2851
|
}
|
|
2325
|
-
var VERSION =
|
|
2852
|
+
var VERSION = 8;
|
|
2326
2853
|
export {
|
|
2854
|
+
HttpStreamAbortReasonKind,
|
|
2327
2855
|
StopActorReason,
|
|
2328
2856
|
StopCode,
|
|
2329
2857
|
VERSION,
|
|
@@ -2357,6 +2885,8 @@ export {
|
|
|
2357
2885
|
readEventWrapper,
|
|
2358
2886
|
readGatewayId,
|
|
2359
2887
|
readHibernatingRequest,
|
|
2888
|
+
readHttpStreamAbortReason,
|
|
2889
|
+
readHttpStreamAbortReasonKind,
|
|
2360
2890
|
readId,
|
|
2361
2891
|
readJson,
|
|
2362
2892
|
readKvDeleteRangeRequest,
|
|
@@ -2381,16 +2911,29 @@ export {
|
|
|
2381
2911
|
readPreloadedKvEntry,
|
|
2382
2912
|
readProtocolMetadata,
|
|
2383
2913
|
readRequestId,
|
|
2914
|
+
readSqliteBatchStatement,
|
|
2384
2915
|
readSqliteBindParam,
|
|
2385
2916
|
readSqliteColumnValue,
|
|
2917
|
+
readSqliteCommitFinalizeOk,
|
|
2918
|
+
readSqliteCommitFinalizeRequest,
|
|
2919
|
+
readSqliteCommitFinalizeResponse,
|
|
2386
2920
|
readSqliteCommitOk,
|
|
2387
2921
|
readSqliteCommitRequest,
|
|
2388
2922
|
readSqliteCommitResponse,
|
|
2923
|
+
readSqliteCommitStageBeginOk,
|
|
2924
|
+
readSqliteCommitStageBeginRequest,
|
|
2925
|
+
readSqliteCommitStageBeginResponse,
|
|
2926
|
+
readSqliteCommitStageSegmentOk,
|
|
2927
|
+
readSqliteCommitStageSegmentRequest,
|
|
2928
|
+
readSqliteCommitStageSegmentResponse,
|
|
2389
2929
|
readSqliteDirtyPage,
|
|
2390
2930
|
readSqliteErrorResponse,
|
|
2391
2931
|
readSqliteExecOk,
|
|
2392
2932
|
readSqliteExecRequest,
|
|
2393
2933
|
readSqliteExecResponse,
|
|
2934
|
+
readSqliteExecuteBatchOk,
|
|
2935
|
+
readSqliteExecuteBatchRequest,
|
|
2936
|
+
readSqliteExecuteBatchResponse,
|
|
2394
2937
|
readSqliteExecuteOk,
|
|
2395
2938
|
readSqliteExecuteRequest,
|
|
2396
2939
|
readSqliteExecuteResponse,
|
|
@@ -2417,10 +2960,16 @@ export {
|
|
|
2417
2960
|
readToEnvoyInit,
|
|
2418
2961
|
readToEnvoyKvResponse,
|
|
2419
2962
|
readToEnvoyPing,
|
|
2963
|
+
readToEnvoyRequestAbort,
|
|
2420
2964
|
readToEnvoyRequestChunk,
|
|
2421
2965
|
readToEnvoyRequestStart,
|
|
2966
|
+
readToEnvoyResponseBodyWindowUpdate,
|
|
2967
|
+
readToEnvoySqliteCommitFinalizeResponse,
|
|
2422
2968
|
readToEnvoySqliteCommitResponse,
|
|
2969
|
+
readToEnvoySqliteCommitStageBeginResponse,
|
|
2970
|
+
readToEnvoySqliteCommitStageSegmentResponse,
|
|
2423
2971
|
readToEnvoySqliteExecResponse,
|
|
2972
|
+
readToEnvoySqliteExecuteBatchResponse,
|
|
2424
2973
|
readToEnvoySqliteExecuteResponse,
|
|
2425
2974
|
readToEnvoySqliteGetPagesResponse,
|
|
2426
2975
|
readToEnvoyTunnelMessage,
|
|
@@ -2438,10 +2987,16 @@ export {
|
|
|
2438
2987
|
readToRivetKvRequest,
|
|
2439
2988
|
readToRivetMetadata,
|
|
2440
2989
|
readToRivetPong,
|
|
2990
|
+
readToRivetRequestBodyWindowUpdate,
|
|
2991
|
+
readToRivetResponseAbort,
|
|
2441
2992
|
readToRivetResponseChunk,
|
|
2442
2993
|
readToRivetResponseStart,
|
|
2994
|
+
readToRivetSqliteCommitFinalizeRequest,
|
|
2443
2995
|
readToRivetSqliteCommitRequest,
|
|
2996
|
+
readToRivetSqliteCommitStageBeginRequest,
|
|
2997
|
+
readToRivetSqliteCommitStageSegmentRequest,
|
|
2444
2998
|
readToRivetSqliteExecRequest,
|
|
2999
|
+
readToRivetSqliteExecuteBatchRequest,
|
|
2445
3000
|
readToRivetSqliteExecuteRequest,
|
|
2446
3001
|
readToRivetSqliteGetPagesRequest,
|
|
2447
3002
|
readToRivetTunnelMessage,
|
|
@@ -2468,6 +3023,8 @@ export {
|
|
|
2468
3023
|
writeEventWrapper,
|
|
2469
3024
|
writeGatewayId,
|
|
2470
3025
|
writeHibernatingRequest,
|
|
3026
|
+
writeHttpStreamAbortReason,
|
|
3027
|
+
writeHttpStreamAbortReasonKind,
|
|
2471
3028
|
writeId,
|
|
2472
3029
|
writeJson,
|
|
2473
3030
|
writeKvDeleteRangeRequest,
|
|
@@ -2492,16 +3049,29 @@ export {
|
|
|
2492
3049
|
writePreloadedKvEntry,
|
|
2493
3050
|
writeProtocolMetadata,
|
|
2494
3051
|
writeRequestId,
|
|
3052
|
+
writeSqliteBatchStatement,
|
|
2495
3053
|
writeSqliteBindParam,
|
|
2496
3054
|
writeSqliteColumnValue,
|
|
3055
|
+
writeSqliteCommitFinalizeOk,
|
|
3056
|
+
writeSqliteCommitFinalizeRequest,
|
|
3057
|
+
writeSqliteCommitFinalizeResponse,
|
|
2497
3058
|
writeSqliteCommitOk,
|
|
2498
3059
|
writeSqliteCommitRequest,
|
|
2499
3060
|
writeSqliteCommitResponse,
|
|
3061
|
+
writeSqliteCommitStageBeginOk,
|
|
3062
|
+
writeSqliteCommitStageBeginRequest,
|
|
3063
|
+
writeSqliteCommitStageBeginResponse,
|
|
3064
|
+
writeSqliteCommitStageSegmentOk,
|
|
3065
|
+
writeSqliteCommitStageSegmentRequest,
|
|
3066
|
+
writeSqliteCommitStageSegmentResponse,
|
|
2500
3067
|
writeSqliteDirtyPage,
|
|
2501
3068
|
writeSqliteErrorResponse,
|
|
2502
3069
|
writeSqliteExecOk,
|
|
2503
3070
|
writeSqliteExecRequest,
|
|
2504
3071
|
writeSqliteExecResponse,
|
|
3072
|
+
writeSqliteExecuteBatchOk,
|
|
3073
|
+
writeSqliteExecuteBatchRequest,
|
|
3074
|
+
writeSqliteExecuteBatchResponse,
|
|
2505
3075
|
writeSqliteExecuteOk,
|
|
2506
3076
|
writeSqliteExecuteRequest,
|
|
2507
3077
|
writeSqliteExecuteResponse,
|
|
@@ -2528,10 +3098,16 @@ export {
|
|
|
2528
3098
|
writeToEnvoyInit,
|
|
2529
3099
|
writeToEnvoyKvResponse,
|
|
2530
3100
|
writeToEnvoyPing,
|
|
3101
|
+
writeToEnvoyRequestAbort,
|
|
2531
3102
|
writeToEnvoyRequestChunk,
|
|
2532
3103
|
writeToEnvoyRequestStart,
|
|
3104
|
+
writeToEnvoyResponseBodyWindowUpdate,
|
|
3105
|
+
writeToEnvoySqliteCommitFinalizeResponse,
|
|
2533
3106
|
writeToEnvoySqliteCommitResponse,
|
|
3107
|
+
writeToEnvoySqliteCommitStageBeginResponse,
|
|
3108
|
+
writeToEnvoySqliteCommitStageSegmentResponse,
|
|
2534
3109
|
writeToEnvoySqliteExecResponse,
|
|
3110
|
+
writeToEnvoySqliteExecuteBatchResponse,
|
|
2535
3111
|
writeToEnvoySqliteExecuteResponse,
|
|
2536
3112
|
writeToEnvoySqliteGetPagesResponse,
|
|
2537
3113
|
writeToEnvoyTunnelMessage,
|
|
@@ -2549,10 +3125,16 @@ export {
|
|
|
2549
3125
|
writeToRivetKvRequest,
|
|
2550
3126
|
writeToRivetMetadata,
|
|
2551
3127
|
writeToRivetPong,
|
|
3128
|
+
writeToRivetRequestBodyWindowUpdate,
|
|
3129
|
+
writeToRivetResponseAbort,
|
|
2552
3130
|
writeToRivetResponseChunk,
|
|
2553
3131
|
writeToRivetResponseStart,
|
|
3132
|
+
writeToRivetSqliteCommitFinalizeRequest,
|
|
2554
3133
|
writeToRivetSqliteCommitRequest,
|
|
3134
|
+
writeToRivetSqliteCommitStageBeginRequest,
|
|
3135
|
+
writeToRivetSqliteCommitStageSegmentRequest,
|
|
2555
3136
|
writeToRivetSqliteExecRequest,
|
|
3137
|
+
writeToRivetSqliteExecuteBatchRequest,
|
|
2556
3138
|
writeToRivetSqliteExecuteRequest,
|
|
2557
3139
|
writeToRivetSqliteGetPagesRequest,
|
|
2558
3140
|
writeToRivetTunnelMessage,
|