@rivetkit/engine-envoy-protocol 0.0.0-pr.4880.c7bfbc5 → 0.0.0-pr.4881.f7f7908
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 +2 -308
- package/dist/index.js +192 -1026
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -484,22 +484,6 @@ function writeSqliteGetPagesRequest(bc, x) {
|
|
|
484
484
|
writeSqliteGeneration(bc, x.generation);
|
|
485
485
|
write6(bc, x.pgnos);
|
|
486
486
|
}
|
|
487
|
-
function readSqliteGetPageRangeRequest(bc) {
|
|
488
|
-
return {
|
|
489
|
-
actorId: readId(bc),
|
|
490
|
-
generation: readSqliteGeneration(bc),
|
|
491
|
-
startPgno: readSqlitePgno(bc),
|
|
492
|
-
maxPages: bare.readU32(bc),
|
|
493
|
-
maxBytes: bare.readU64(bc)
|
|
494
|
-
};
|
|
495
|
-
}
|
|
496
|
-
function writeSqliteGetPageRangeRequest(bc, x) {
|
|
497
|
-
writeId(bc, x.actorId);
|
|
498
|
-
writeSqliteGeneration(bc, x.generation);
|
|
499
|
-
writeSqlitePgno(bc, x.startPgno);
|
|
500
|
-
bare.writeU32(bc, x.maxPages);
|
|
501
|
-
bare.writeU64(bc, x.maxBytes);
|
|
502
|
-
}
|
|
503
487
|
function read7(bc) {
|
|
504
488
|
const len = bare.readUintSafe(bc);
|
|
505
489
|
if (len === 0) {
|
|
@@ -527,18 +511,6 @@ function writeSqliteGetPagesOk(bc, x) {
|
|
|
527
511
|
write7(bc, x.pages);
|
|
528
512
|
writeSqliteMeta(bc, x.meta);
|
|
529
513
|
}
|
|
530
|
-
function readSqliteGetPageRangeOk(bc) {
|
|
531
|
-
return {
|
|
532
|
-
startPgno: readSqlitePgno(bc),
|
|
533
|
-
pages: read7(bc),
|
|
534
|
-
meta: readSqliteMeta(bc)
|
|
535
|
-
};
|
|
536
|
-
}
|
|
537
|
-
function writeSqliteGetPageRangeOk(bc, x) {
|
|
538
|
-
writeSqlitePgno(bc, x.startPgno);
|
|
539
|
-
write7(bc, x.pages);
|
|
540
|
-
writeSqliteMeta(bc, x.meta);
|
|
541
|
-
}
|
|
542
514
|
function readSqliteErrorResponse(bc) {
|
|
543
515
|
return {
|
|
544
516
|
message: bare.readString(bc)
|
|
@@ -582,41 +554,6 @@ function writeSqliteGetPagesResponse(bc, x) {
|
|
|
582
554
|
}
|
|
583
555
|
}
|
|
584
556
|
}
|
|
585
|
-
function readSqliteGetPageRangeResponse(bc) {
|
|
586
|
-
const offset = bc.offset;
|
|
587
|
-
const tag = bare.readU8(bc);
|
|
588
|
-
switch (tag) {
|
|
589
|
-
case 0:
|
|
590
|
-
return { tag: "SqliteGetPageRangeOk", val: readSqliteGetPageRangeOk(bc) };
|
|
591
|
-
case 1:
|
|
592
|
-
return { tag: "SqliteFenceMismatch", val: readSqliteFenceMismatch(bc) };
|
|
593
|
-
case 2:
|
|
594
|
-
return { tag: "SqliteErrorResponse", val: readSqliteErrorResponse(bc) };
|
|
595
|
-
default: {
|
|
596
|
-
bc.offset = offset;
|
|
597
|
-
throw new bare.BareError(offset, "invalid tag");
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
function writeSqliteGetPageRangeResponse(bc, x) {
|
|
602
|
-
switch (x.tag) {
|
|
603
|
-
case "SqliteGetPageRangeOk": {
|
|
604
|
-
bare.writeU8(bc, 0);
|
|
605
|
-
writeSqliteGetPageRangeOk(bc, x.val);
|
|
606
|
-
break;
|
|
607
|
-
}
|
|
608
|
-
case "SqliteFenceMismatch": {
|
|
609
|
-
bare.writeU8(bc, 1);
|
|
610
|
-
writeSqliteFenceMismatch(bc, x.val);
|
|
611
|
-
break;
|
|
612
|
-
}
|
|
613
|
-
case "SqliteErrorResponse": {
|
|
614
|
-
bare.writeU8(bc, 2);
|
|
615
|
-
writeSqliteErrorResponse(bc, x.val);
|
|
616
|
-
break;
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
557
|
function read8(bc) {
|
|
621
558
|
const len = bare.readUintSafe(bc);
|
|
622
559
|
if (len === 0) {
|
|
@@ -720,640 +657,22 @@ function readSqliteCommitStageBeginRequest(bc) {
|
|
|
720
657
|
}
|
|
721
658
|
function writeSqliteCommitStageBeginRequest(bc, x) {
|
|
722
659
|
writeId(bc, x.actorId);
|
|
723
|
-
writeSqliteGeneration(bc, x.generation);
|
|
724
|
-
}
|
|
725
|
-
function readSqliteCommitStageBeginOk(bc) {
|
|
726
|
-
return {
|
|
727
|
-
txid: readSqliteTxid(bc)
|
|
728
|
-
};
|
|
729
|
-
}
|
|
730
|
-
function writeSqliteCommitStageBeginOk(bc, x) {
|
|
731
|
-
writeSqliteTxid(bc, x.txid);
|
|
732
|
-
}
|
|
733
|
-
function readSqliteCommitStageBeginResponse(bc) {
|
|
734
|
-
const offset = bc.offset;
|
|
735
|
-
const tag = bare.readU8(bc);
|
|
736
|
-
switch (tag) {
|
|
737
|
-
case 0:
|
|
738
|
-
return { tag: "SqliteCommitStageBeginOk", val: readSqliteCommitStageBeginOk(bc) };
|
|
739
|
-
case 1:
|
|
740
|
-
return { tag: "SqliteFenceMismatch", val: readSqliteFenceMismatch(bc) };
|
|
741
|
-
case 2:
|
|
742
|
-
return { tag: "SqliteErrorResponse", val: readSqliteErrorResponse(bc) };
|
|
743
|
-
default: {
|
|
744
|
-
bc.offset = offset;
|
|
745
|
-
throw new bare.BareError(offset, "invalid tag");
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
function writeSqliteCommitStageBeginResponse(bc, x) {
|
|
750
|
-
switch (x.tag) {
|
|
751
|
-
case "SqliteCommitStageBeginOk": {
|
|
752
|
-
bare.writeU8(bc, 0);
|
|
753
|
-
writeSqliteCommitStageBeginOk(bc, x.val);
|
|
754
|
-
break;
|
|
755
|
-
}
|
|
756
|
-
case "SqliteFenceMismatch": {
|
|
757
|
-
bare.writeU8(bc, 1);
|
|
758
|
-
writeSqliteFenceMismatch(bc, x.val);
|
|
759
|
-
break;
|
|
760
|
-
}
|
|
761
|
-
case "SqliteErrorResponse": {
|
|
762
|
-
bare.writeU8(bc, 2);
|
|
763
|
-
writeSqliteErrorResponse(bc, x.val);
|
|
764
|
-
break;
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
}
|
|
768
|
-
function readSqliteCommitStageRequest(bc) {
|
|
769
|
-
return {
|
|
770
|
-
actorId: readId(bc),
|
|
771
|
-
generation: readSqliteGeneration(bc),
|
|
772
|
-
txid: readSqliteTxid(bc),
|
|
773
|
-
chunkIdx: bare.readU32(bc),
|
|
774
|
-
bytes: bare.readData(bc),
|
|
775
|
-
isLast: bare.readBool(bc)
|
|
776
|
-
};
|
|
777
|
-
}
|
|
778
|
-
function writeSqliteCommitStageRequest(bc, x) {
|
|
779
|
-
writeId(bc, x.actorId);
|
|
780
|
-
writeSqliteGeneration(bc, x.generation);
|
|
781
|
-
writeSqliteTxid(bc, x.txid);
|
|
782
|
-
bare.writeU32(bc, x.chunkIdx);
|
|
783
|
-
bare.writeData(bc, x.bytes);
|
|
784
|
-
bare.writeBool(bc, x.isLast);
|
|
785
|
-
}
|
|
786
|
-
function readSqliteCommitStageOk(bc) {
|
|
787
|
-
return {
|
|
788
|
-
chunkIdxCommitted: bare.readU32(bc)
|
|
789
|
-
};
|
|
790
|
-
}
|
|
791
|
-
function writeSqliteCommitStageOk(bc, x) {
|
|
792
|
-
bare.writeU32(bc, x.chunkIdxCommitted);
|
|
793
|
-
}
|
|
794
|
-
function readSqliteCommitStageResponse(bc) {
|
|
795
|
-
const offset = bc.offset;
|
|
796
|
-
const tag = bare.readU8(bc);
|
|
797
|
-
switch (tag) {
|
|
798
|
-
case 0:
|
|
799
|
-
return { tag: "SqliteCommitStageOk", val: readSqliteCommitStageOk(bc) };
|
|
800
|
-
case 1:
|
|
801
|
-
return { tag: "SqliteFenceMismatch", val: readSqliteFenceMismatch(bc) };
|
|
802
|
-
case 2:
|
|
803
|
-
return { tag: "SqliteErrorResponse", val: readSqliteErrorResponse(bc) };
|
|
804
|
-
default: {
|
|
805
|
-
bc.offset = offset;
|
|
806
|
-
throw new bare.BareError(offset, "invalid tag");
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
function writeSqliteCommitStageResponse(bc, x) {
|
|
811
|
-
switch (x.tag) {
|
|
812
|
-
case "SqliteCommitStageOk": {
|
|
813
|
-
bare.writeU8(bc, 0);
|
|
814
|
-
writeSqliteCommitStageOk(bc, x.val);
|
|
815
|
-
break;
|
|
816
|
-
}
|
|
817
|
-
case "SqliteFenceMismatch": {
|
|
818
|
-
bare.writeU8(bc, 1);
|
|
819
|
-
writeSqliteFenceMismatch(bc, x.val);
|
|
820
|
-
break;
|
|
821
|
-
}
|
|
822
|
-
case "SqliteErrorResponse": {
|
|
823
|
-
bare.writeU8(bc, 2);
|
|
824
|
-
writeSqliteErrorResponse(bc, x.val);
|
|
825
|
-
break;
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
function readSqliteCommitFinalizeRequest(bc) {
|
|
830
|
-
return {
|
|
831
|
-
actorId: readId(bc),
|
|
832
|
-
generation: readSqliteGeneration(bc),
|
|
833
|
-
expectedHeadTxid: readSqliteTxid(bc),
|
|
834
|
-
txid: readSqliteTxid(bc),
|
|
835
|
-
newDbSizePages: bare.readU32(bc)
|
|
836
|
-
};
|
|
837
|
-
}
|
|
838
|
-
function writeSqliteCommitFinalizeRequest(bc, x) {
|
|
839
|
-
writeId(bc, x.actorId);
|
|
840
|
-
writeSqliteGeneration(bc, x.generation);
|
|
841
|
-
writeSqliteTxid(bc, x.expectedHeadTxid);
|
|
842
|
-
writeSqliteTxid(bc, x.txid);
|
|
843
|
-
bare.writeU32(bc, x.newDbSizePages);
|
|
844
|
-
}
|
|
845
|
-
function readSqliteCommitFinalizeOk(bc) {
|
|
846
|
-
return {
|
|
847
|
-
newHeadTxid: readSqliteTxid(bc),
|
|
848
|
-
meta: readSqliteMeta(bc)
|
|
849
|
-
};
|
|
850
|
-
}
|
|
851
|
-
function writeSqliteCommitFinalizeOk(bc, x) {
|
|
852
|
-
writeSqliteTxid(bc, x.newHeadTxid);
|
|
853
|
-
writeSqliteMeta(bc, x.meta);
|
|
854
|
-
}
|
|
855
|
-
function readSqliteStageNotFound(bc) {
|
|
856
|
-
return {
|
|
857
|
-
stageId: readSqliteStageId(bc)
|
|
858
|
-
};
|
|
859
|
-
}
|
|
860
|
-
function writeSqliteStageNotFound(bc, x) {
|
|
861
|
-
writeSqliteStageId(bc, x.stageId);
|
|
862
|
-
}
|
|
863
|
-
function readSqliteCommitFinalizeResponse(bc) {
|
|
864
|
-
const offset = bc.offset;
|
|
865
|
-
const tag = bare.readU8(bc);
|
|
866
|
-
switch (tag) {
|
|
867
|
-
case 0:
|
|
868
|
-
return { tag: "SqliteCommitFinalizeOk", val: readSqliteCommitFinalizeOk(bc) };
|
|
869
|
-
case 1:
|
|
870
|
-
return { tag: "SqliteFenceMismatch", val: readSqliteFenceMismatch(bc) };
|
|
871
|
-
case 2:
|
|
872
|
-
return { tag: "SqliteStageNotFound", val: readSqliteStageNotFound(bc) };
|
|
873
|
-
case 3:
|
|
874
|
-
return { tag: "SqliteErrorResponse", val: readSqliteErrorResponse(bc) };
|
|
875
|
-
default: {
|
|
876
|
-
bc.offset = offset;
|
|
877
|
-
throw new bare.BareError(offset, "invalid tag");
|
|
878
|
-
}
|
|
879
|
-
}
|
|
880
|
-
}
|
|
881
|
-
function writeSqliteCommitFinalizeResponse(bc, x) {
|
|
882
|
-
switch (x.tag) {
|
|
883
|
-
case "SqliteCommitFinalizeOk": {
|
|
884
|
-
bare.writeU8(bc, 0);
|
|
885
|
-
writeSqliteCommitFinalizeOk(bc, x.val);
|
|
886
|
-
break;
|
|
887
|
-
}
|
|
888
|
-
case "SqliteFenceMismatch": {
|
|
889
|
-
bare.writeU8(bc, 1);
|
|
890
|
-
writeSqliteFenceMismatch(bc, x.val);
|
|
891
|
-
break;
|
|
892
|
-
}
|
|
893
|
-
case "SqliteStageNotFound": {
|
|
894
|
-
bare.writeU8(bc, 2);
|
|
895
|
-
writeSqliteStageNotFound(bc, x.val);
|
|
896
|
-
break;
|
|
897
|
-
}
|
|
898
|
-
case "SqliteErrorResponse": {
|
|
899
|
-
bare.writeU8(bc, 3);
|
|
900
|
-
writeSqliteErrorResponse(bc, x.val);
|
|
901
|
-
break;
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
function readSqlitePreloadHintRange(bc) {
|
|
906
|
-
return {
|
|
907
|
-
startPgno: readSqlitePgno(bc),
|
|
908
|
-
pageCount: bare.readU32(bc)
|
|
909
|
-
};
|
|
910
|
-
}
|
|
911
|
-
function writeSqlitePreloadHintRange(bc, x) {
|
|
912
|
-
writeSqlitePgno(bc, x.startPgno);
|
|
913
|
-
bare.writeU32(bc, x.pageCount);
|
|
914
|
-
}
|
|
915
|
-
function read9(bc) {
|
|
916
|
-
const len = bare.readUintSafe(bc);
|
|
917
|
-
if (len === 0) {
|
|
918
|
-
return [];
|
|
919
|
-
}
|
|
920
|
-
const result = [readSqlitePreloadHintRange(bc)];
|
|
921
|
-
for (let i = 1; i < len; i++) {
|
|
922
|
-
result[i] = readSqlitePreloadHintRange(bc);
|
|
923
|
-
}
|
|
924
|
-
return result;
|
|
925
|
-
}
|
|
926
|
-
function write9(bc, x) {
|
|
927
|
-
bare.writeUintSafe(bc, x.length);
|
|
928
|
-
for (let i = 0; i < x.length; i++) {
|
|
929
|
-
writeSqlitePreloadHintRange(bc, x[i]);
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
function readSqlitePreloadHints(bc) {
|
|
933
|
-
return {
|
|
934
|
-
pgnos: read6(bc),
|
|
935
|
-
ranges: read9(bc)
|
|
936
|
-
};
|
|
937
|
-
}
|
|
938
|
-
function writeSqlitePreloadHints(bc, x) {
|
|
939
|
-
write6(bc, x.pgnos);
|
|
940
|
-
write9(bc, x.ranges);
|
|
941
|
-
}
|
|
942
|
-
function readSqlitePersistPreloadHintsRequest(bc) {
|
|
943
|
-
return {
|
|
944
|
-
actorId: readId(bc),
|
|
945
|
-
generation: readSqliteGeneration(bc),
|
|
946
|
-
hints: readSqlitePreloadHints(bc)
|
|
947
|
-
};
|
|
948
|
-
}
|
|
949
|
-
function writeSqlitePersistPreloadHintsRequest(bc, x) {
|
|
950
|
-
writeId(bc, x.actorId);
|
|
951
|
-
writeSqliteGeneration(bc, x.generation);
|
|
952
|
-
writeSqlitePreloadHints(bc, x.hints);
|
|
953
|
-
}
|
|
954
|
-
function readSqlitePersistPreloadHintsResponse(bc) {
|
|
955
|
-
const offset = bc.offset;
|
|
956
|
-
const tag = bare.readU8(bc);
|
|
957
|
-
switch (tag) {
|
|
958
|
-
case 0:
|
|
959
|
-
return { tag: "SqlitePersistPreloadHintsOk", val: null };
|
|
960
|
-
case 1:
|
|
961
|
-
return { tag: "SqliteFenceMismatch", val: readSqliteFenceMismatch(bc) };
|
|
962
|
-
case 2:
|
|
963
|
-
return { tag: "SqliteErrorResponse", val: readSqliteErrorResponse(bc) };
|
|
964
|
-
default: {
|
|
965
|
-
bc.offset = offset;
|
|
966
|
-
throw new bare.BareError(offset, "invalid tag");
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
}
|
|
970
|
-
function writeSqlitePersistPreloadHintsResponse(bc, x) {
|
|
971
|
-
switch (x.tag) {
|
|
972
|
-
case "SqlitePersistPreloadHintsOk": {
|
|
973
|
-
bare.writeU8(bc, 0);
|
|
974
|
-
break;
|
|
975
|
-
}
|
|
976
|
-
case "SqliteFenceMismatch": {
|
|
977
|
-
bare.writeU8(bc, 1);
|
|
978
|
-
writeSqliteFenceMismatch(bc, x.val);
|
|
979
|
-
break;
|
|
980
|
-
}
|
|
981
|
-
case "SqliteErrorResponse": {
|
|
982
|
-
bare.writeU8(bc, 2);
|
|
983
|
-
writeSqliteErrorResponse(bc, x.val);
|
|
984
|
-
break;
|
|
985
|
-
}
|
|
986
|
-
}
|
|
987
|
-
}
|
|
988
|
-
function readSqliteStartupData(bc) {
|
|
989
|
-
return {
|
|
990
|
-
generation: readSqliteGeneration(bc),
|
|
991
|
-
meta: readSqliteMeta(bc),
|
|
992
|
-
preloadedPages: read7(bc)
|
|
993
|
-
};
|
|
994
|
-
}
|
|
995
|
-
function writeSqliteStartupData(bc, x) {
|
|
996
|
-
writeSqliteGeneration(bc, x.generation);
|
|
997
|
-
writeSqliteMeta(bc, x.meta);
|
|
998
|
-
write7(bc, x.preloadedPages);
|
|
999
|
-
}
|
|
1000
|
-
function readSqliteValueInteger(bc) {
|
|
1001
|
-
return {
|
|
1002
|
-
value: bare.readI64(bc)
|
|
1003
|
-
};
|
|
1004
|
-
}
|
|
1005
|
-
function writeSqliteValueInteger(bc, x) {
|
|
1006
|
-
bare.writeI64(bc, x.value);
|
|
1007
|
-
}
|
|
1008
|
-
function readSqliteValueFloat(bc) {
|
|
1009
|
-
return {
|
|
1010
|
-
value: bare.readFixedData(bc, 8)
|
|
1011
|
-
};
|
|
1012
|
-
}
|
|
1013
|
-
function writeSqliteValueFloat(bc, x) {
|
|
1014
|
-
{
|
|
1015
|
-
assert(x.value.byteLength === 8);
|
|
1016
|
-
bare.writeFixedData(bc, x.value);
|
|
1017
|
-
}
|
|
1018
|
-
}
|
|
1019
|
-
function readSqliteValueText(bc) {
|
|
1020
|
-
return {
|
|
1021
|
-
value: bare.readString(bc)
|
|
1022
|
-
};
|
|
1023
|
-
}
|
|
1024
|
-
function writeSqliteValueText(bc, x) {
|
|
1025
|
-
bare.writeString(bc, x.value);
|
|
1026
|
-
}
|
|
1027
|
-
function readSqliteValueBlob(bc) {
|
|
1028
|
-
return {
|
|
1029
|
-
value: bare.readData(bc)
|
|
1030
|
-
};
|
|
1031
|
-
}
|
|
1032
|
-
function writeSqliteValueBlob(bc, x) {
|
|
1033
|
-
bare.writeData(bc, x.value);
|
|
1034
|
-
}
|
|
1035
|
-
function readSqliteBindParam(bc) {
|
|
1036
|
-
const offset = bc.offset;
|
|
1037
|
-
const tag = bare.readU8(bc);
|
|
1038
|
-
switch (tag) {
|
|
1039
|
-
case 0:
|
|
1040
|
-
return { tag: "SqliteValueNull", val: null };
|
|
1041
|
-
case 1:
|
|
1042
|
-
return { tag: "SqliteValueInteger", val: readSqliteValueInteger(bc) };
|
|
1043
|
-
case 2:
|
|
1044
|
-
return { tag: "SqliteValueFloat", val: readSqliteValueFloat(bc) };
|
|
1045
|
-
case 3:
|
|
1046
|
-
return { tag: "SqliteValueText", val: readSqliteValueText(bc) };
|
|
1047
|
-
case 4:
|
|
1048
|
-
return { tag: "SqliteValueBlob", val: readSqliteValueBlob(bc) };
|
|
1049
|
-
default: {
|
|
1050
|
-
bc.offset = offset;
|
|
1051
|
-
throw new bare.BareError(offset, "invalid tag");
|
|
1052
|
-
}
|
|
1053
|
-
}
|
|
1054
|
-
}
|
|
1055
|
-
function writeSqliteBindParam(bc, x) {
|
|
1056
|
-
switch (x.tag) {
|
|
1057
|
-
case "SqliteValueNull": {
|
|
1058
|
-
bare.writeU8(bc, 0);
|
|
1059
|
-
break;
|
|
1060
|
-
}
|
|
1061
|
-
case "SqliteValueInteger": {
|
|
1062
|
-
bare.writeU8(bc, 1);
|
|
1063
|
-
writeSqliteValueInteger(bc, x.val);
|
|
1064
|
-
break;
|
|
1065
|
-
}
|
|
1066
|
-
case "SqliteValueFloat": {
|
|
1067
|
-
bare.writeU8(bc, 2);
|
|
1068
|
-
writeSqliteValueFloat(bc, x.val);
|
|
1069
|
-
break;
|
|
1070
|
-
}
|
|
1071
|
-
case "SqliteValueText": {
|
|
1072
|
-
bare.writeU8(bc, 3);
|
|
1073
|
-
writeSqliteValueText(bc, x.val);
|
|
1074
|
-
break;
|
|
1075
|
-
}
|
|
1076
|
-
case "SqliteValueBlob": {
|
|
1077
|
-
bare.writeU8(bc, 4);
|
|
1078
|
-
writeSqliteValueBlob(bc, x.val);
|
|
1079
|
-
break;
|
|
1080
|
-
}
|
|
1081
|
-
}
|
|
1082
|
-
}
|
|
1083
|
-
function readSqliteColumnValue(bc) {
|
|
1084
|
-
const offset = bc.offset;
|
|
1085
|
-
const tag = bare.readU8(bc);
|
|
1086
|
-
switch (tag) {
|
|
1087
|
-
case 0:
|
|
1088
|
-
return { tag: "SqliteValueNull", val: null };
|
|
1089
|
-
case 1:
|
|
1090
|
-
return { tag: "SqliteValueInteger", val: readSqliteValueInteger(bc) };
|
|
1091
|
-
case 2:
|
|
1092
|
-
return { tag: "SqliteValueFloat", val: readSqliteValueFloat(bc) };
|
|
1093
|
-
case 3:
|
|
1094
|
-
return { tag: "SqliteValueText", val: readSqliteValueText(bc) };
|
|
1095
|
-
case 4:
|
|
1096
|
-
return { tag: "SqliteValueBlob", val: readSqliteValueBlob(bc) };
|
|
1097
|
-
default: {
|
|
1098
|
-
bc.offset = offset;
|
|
1099
|
-
throw new bare.BareError(offset, "invalid tag");
|
|
1100
|
-
}
|
|
1101
|
-
}
|
|
1102
|
-
}
|
|
1103
|
-
function writeSqliteColumnValue(bc, x) {
|
|
1104
|
-
switch (x.tag) {
|
|
1105
|
-
case "SqliteValueNull": {
|
|
1106
|
-
bare.writeU8(bc, 0);
|
|
1107
|
-
break;
|
|
1108
|
-
}
|
|
1109
|
-
case "SqliteValueInteger": {
|
|
1110
|
-
bare.writeU8(bc, 1);
|
|
1111
|
-
writeSqliteValueInteger(bc, x.val);
|
|
1112
|
-
break;
|
|
1113
|
-
}
|
|
1114
|
-
case "SqliteValueFloat": {
|
|
1115
|
-
bare.writeU8(bc, 2);
|
|
1116
|
-
writeSqliteValueFloat(bc, x.val);
|
|
1117
|
-
break;
|
|
1118
|
-
}
|
|
1119
|
-
case "SqliteValueText": {
|
|
1120
|
-
bare.writeU8(bc, 3);
|
|
1121
|
-
writeSqliteValueText(bc, x.val);
|
|
1122
|
-
break;
|
|
1123
|
-
}
|
|
1124
|
-
case "SqliteValueBlob": {
|
|
1125
|
-
bare.writeU8(bc, 4);
|
|
1126
|
-
writeSqliteValueBlob(bc, x.val);
|
|
1127
|
-
break;
|
|
1128
|
-
}
|
|
1129
|
-
}
|
|
1130
|
-
}
|
|
1131
|
-
function read10(bc) {
|
|
1132
|
-
const len = bare.readUintSafe(bc);
|
|
1133
|
-
if (len === 0) {
|
|
1134
|
-
return [];
|
|
1135
|
-
}
|
|
1136
|
-
const result = [bare.readString(bc)];
|
|
1137
|
-
for (let i = 1; i < len; i++) {
|
|
1138
|
-
result[i] = bare.readString(bc);
|
|
1139
|
-
}
|
|
1140
|
-
return result;
|
|
1141
|
-
}
|
|
1142
|
-
function write10(bc, x) {
|
|
1143
|
-
bare.writeUintSafe(bc, x.length);
|
|
1144
|
-
for (let i = 0; i < x.length; i++) {
|
|
1145
|
-
bare.writeString(bc, x[i]);
|
|
1146
|
-
}
|
|
1147
|
-
}
|
|
1148
|
-
function read11(bc) {
|
|
1149
|
-
const len = bare.readUintSafe(bc);
|
|
1150
|
-
if (len === 0) {
|
|
1151
|
-
return [];
|
|
1152
|
-
}
|
|
1153
|
-
const result = [readSqliteColumnValue(bc)];
|
|
1154
|
-
for (let i = 1; i < len; i++) {
|
|
1155
|
-
result[i] = readSqliteColumnValue(bc);
|
|
1156
|
-
}
|
|
1157
|
-
return result;
|
|
1158
|
-
}
|
|
1159
|
-
function write11(bc, x) {
|
|
1160
|
-
bare.writeUintSafe(bc, x.length);
|
|
1161
|
-
for (let i = 0; i < x.length; i++) {
|
|
1162
|
-
writeSqliteColumnValue(bc, x[i]);
|
|
1163
|
-
}
|
|
1164
|
-
}
|
|
1165
|
-
function read12(bc) {
|
|
1166
|
-
const len = bare.readUintSafe(bc);
|
|
1167
|
-
if (len === 0) {
|
|
1168
|
-
return [];
|
|
1169
|
-
}
|
|
1170
|
-
const result = [read11(bc)];
|
|
1171
|
-
for (let i = 1; i < len; i++) {
|
|
1172
|
-
result[i] = read11(bc);
|
|
1173
|
-
}
|
|
1174
|
-
return result;
|
|
1175
|
-
}
|
|
1176
|
-
function write12(bc, x) {
|
|
1177
|
-
bare.writeUintSafe(bc, x.length);
|
|
1178
|
-
for (let i = 0; i < x.length; i++) {
|
|
1179
|
-
write11(bc, x[i]);
|
|
1180
|
-
}
|
|
1181
|
-
}
|
|
1182
|
-
function readSqliteQueryResult(bc) {
|
|
1183
|
-
return {
|
|
1184
|
-
columns: read10(bc),
|
|
1185
|
-
rows: read12(bc)
|
|
1186
|
-
};
|
|
1187
|
-
}
|
|
1188
|
-
function writeSqliteQueryResult(bc, x) {
|
|
1189
|
-
write10(bc, x.columns);
|
|
1190
|
-
write12(bc, x.rows);
|
|
1191
|
-
}
|
|
1192
|
-
var SqliteExecuteRoute = /* @__PURE__ */ ((SqliteExecuteRoute2) => {
|
|
1193
|
-
SqliteExecuteRoute2["Read"] = "Read";
|
|
1194
|
-
SqliteExecuteRoute2["Write"] = "Write";
|
|
1195
|
-
SqliteExecuteRoute2["WriteFallback"] = "WriteFallback";
|
|
1196
|
-
return SqliteExecuteRoute2;
|
|
1197
|
-
})(SqliteExecuteRoute || {});
|
|
1198
|
-
function readSqliteExecuteRoute(bc) {
|
|
1199
|
-
const offset = bc.offset;
|
|
1200
|
-
const tag = bare.readU8(bc);
|
|
1201
|
-
switch (tag) {
|
|
1202
|
-
case 0:
|
|
1203
|
-
return "Read" /* Read */;
|
|
1204
|
-
case 1:
|
|
1205
|
-
return "Write" /* Write */;
|
|
1206
|
-
case 2:
|
|
1207
|
-
return "WriteFallback" /* WriteFallback */;
|
|
1208
|
-
default: {
|
|
1209
|
-
bc.offset = offset;
|
|
1210
|
-
throw new bare.BareError(offset, "invalid tag");
|
|
1211
|
-
}
|
|
1212
|
-
}
|
|
1213
|
-
}
|
|
1214
|
-
function writeSqliteExecuteRoute(bc, x) {
|
|
1215
|
-
switch (x) {
|
|
1216
|
-
case "Read" /* Read */: {
|
|
1217
|
-
bare.writeU8(bc, 0);
|
|
1218
|
-
break;
|
|
1219
|
-
}
|
|
1220
|
-
case "Write" /* Write */: {
|
|
1221
|
-
bare.writeU8(bc, 1);
|
|
1222
|
-
break;
|
|
1223
|
-
}
|
|
1224
|
-
case "WriteFallback" /* WriteFallback */: {
|
|
1225
|
-
bare.writeU8(bc, 2);
|
|
1226
|
-
break;
|
|
1227
|
-
}
|
|
1228
|
-
}
|
|
1229
|
-
}
|
|
1230
|
-
function read13(bc) {
|
|
1231
|
-
return bare.readBool(bc) ? bare.readI64(bc) : null;
|
|
1232
|
-
}
|
|
1233
|
-
function write13(bc, x) {
|
|
1234
|
-
bare.writeBool(bc, x != null);
|
|
1235
|
-
if (x != null) {
|
|
1236
|
-
bare.writeI64(bc, x);
|
|
1237
|
-
}
|
|
1238
|
-
}
|
|
1239
|
-
function readSqliteExecuteResult(bc) {
|
|
1240
|
-
return {
|
|
1241
|
-
columns: read10(bc),
|
|
1242
|
-
rows: read12(bc),
|
|
1243
|
-
changes: bare.readI64(bc),
|
|
1244
|
-
lastInsertRowId: read13(bc),
|
|
1245
|
-
route: readSqliteExecuteRoute(bc)
|
|
1246
|
-
};
|
|
1247
|
-
}
|
|
1248
|
-
function writeSqliteExecuteResult(bc, x) {
|
|
1249
|
-
write10(bc, x.columns);
|
|
1250
|
-
write12(bc, x.rows);
|
|
1251
|
-
bare.writeI64(bc, x.changes);
|
|
1252
|
-
write13(bc, x.lastInsertRowId);
|
|
1253
|
-
writeSqliteExecuteRoute(bc, x.route);
|
|
1254
|
-
}
|
|
1255
|
-
function readSqliteExecRequest(bc) {
|
|
1256
|
-
return {
|
|
1257
|
-
namespaceId: readId(bc),
|
|
1258
|
-
actorId: readId(bc),
|
|
1259
|
-
generation: readSqliteGeneration(bc),
|
|
1260
|
-
sql: bare.readString(bc)
|
|
1261
|
-
};
|
|
1262
|
-
}
|
|
1263
|
-
function writeSqliteExecRequest(bc, x) {
|
|
1264
|
-
writeId(bc, x.namespaceId);
|
|
1265
|
-
writeId(bc, x.actorId);
|
|
1266
|
-
writeSqliteGeneration(bc, x.generation);
|
|
1267
|
-
bare.writeString(bc, x.sql);
|
|
1268
|
-
}
|
|
1269
|
-
function read14(bc) {
|
|
1270
|
-
const len = bare.readUintSafe(bc);
|
|
1271
|
-
if (len === 0) {
|
|
1272
|
-
return [];
|
|
1273
|
-
}
|
|
1274
|
-
const result = [readSqliteBindParam(bc)];
|
|
1275
|
-
for (let i = 1; i < len; i++) {
|
|
1276
|
-
result[i] = readSqliteBindParam(bc);
|
|
1277
|
-
}
|
|
1278
|
-
return result;
|
|
1279
|
-
}
|
|
1280
|
-
function write14(bc, x) {
|
|
1281
|
-
bare.writeUintSafe(bc, x.length);
|
|
1282
|
-
for (let i = 0; i < x.length; i++) {
|
|
1283
|
-
writeSqliteBindParam(bc, x[i]);
|
|
1284
|
-
}
|
|
1285
|
-
}
|
|
1286
|
-
function read15(bc) {
|
|
1287
|
-
return bare.readBool(bc) ? read14(bc) : null;
|
|
1288
|
-
}
|
|
1289
|
-
function write15(bc, x) {
|
|
1290
|
-
bare.writeBool(bc, x != null);
|
|
1291
|
-
if (x != null) {
|
|
1292
|
-
write14(bc, x);
|
|
1293
|
-
}
|
|
1294
|
-
}
|
|
1295
|
-
function readSqliteExecuteRequest(bc) {
|
|
1296
|
-
return {
|
|
1297
|
-
namespaceId: readId(bc),
|
|
1298
|
-
actorId: readId(bc),
|
|
1299
|
-
generation: readSqliteGeneration(bc),
|
|
1300
|
-
sql: bare.readString(bc),
|
|
1301
|
-
params: read15(bc)
|
|
1302
|
-
};
|
|
1303
|
-
}
|
|
1304
|
-
function writeSqliteExecuteRequest(bc, x) {
|
|
1305
|
-
writeId(bc, x.namespaceId);
|
|
1306
|
-
writeId(bc, x.actorId);
|
|
1307
|
-
writeSqliteGeneration(bc, x.generation);
|
|
1308
|
-
bare.writeString(bc, x.sql);
|
|
1309
|
-
write15(bc, x.params);
|
|
1310
|
-
}
|
|
1311
|
-
function readSqliteExecuteWriteRequest(bc) {
|
|
1312
|
-
return {
|
|
1313
|
-
namespaceId: readId(bc),
|
|
1314
|
-
actorId: readId(bc),
|
|
1315
|
-
generation: readSqliteGeneration(bc),
|
|
1316
|
-
sql: bare.readString(bc),
|
|
1317
|
-
params: read15(bc)
|
|
1318
|
-
};
|
|
1319
|
-
}
|
|
1320
|
-
function writeSqliteExecuteWriteRequest(bc, x) {
|
|
1321
|
-
writeId(bc, x.namespaceId);
|
|
1322
|
-
writeId(bc, x.actorId);
|
|
1323
|
-
writeSqliteGeneration(bc, x.generation);
|
|
1324
|
-
bare.writeString(bc, x.sql);
|
|
1325
|
-
write15(bc, x.params);
|
|
1326
|
-
}
|
|
1327
|
-
function readSqliteExecOk(bc) {
|
|
1328
|
-
return {
|
|
1329
|
-
result: readSqliteQueryResult(bc)
|
|
1330
|
-
};
|
|
1331
|
-
}
|
|
1332
|
-
function writeSqliteExecOk(bc, x) {
|
|
1333
|
-
writeSqliteQueryResult(bc, x.result);
|
|
1334
|
-
}
|
|
1335
|
-
function readSqliteExecuteOk(bc) {
|
|
1336
|
-
return {
|
|
1337
|
-
result: readSqliteExecuteResult(bc)
|
|
1338
|
-
};
|
|
1339
|
-
}
|
|
1340
|
-
function writeSqliteExecuteOk(bc, x) {
|
|
1341
|
-
writeSqliteExecuteResult(bc, x.result);
|
|
660
|
+
writeSqliteGeneration(bc, x.generation);
|
|
1342
661
|
}
|
|
1343
|
-
function
|
|
662
|
+
function readSqliteCommitStageBeginOk(bc) {
|
|
1344
663
|
return {
|
|
1345
|
-
|
|
664
|
+
txid: readSqliteTxid(bc)
|
|
1346
665
|
};
|
|
1347
666
|
}
|
|
1348
|
-
function
|
|
1349
|
-
|
|
667
|
+
function writeSqliteCommitStageBeginOk(bc, x) {
|
|
668
|
+
writeSqliteTxid(bc, x.txid);
|
|
1350
669
|
}
|
|
1351
|
-
function
|
|
670
|
+
function readSqliteCommitStageBeginResponse(bc) {
|
|
1352
671
|
const offset = bc.offset;
|
|
1353
672
|
const tag = bare.readU8(bc);
|
|
1354
673
|
switch (tag) {
|
|
1355
674
|
case 0:
|
|
1356
|
-
return { tag: "
|
|
675
|
+
return { tag: "SqliteCommitStageBeginOk", val: readSqliteCommitStageBeginOk(bc) };
|
|
1357
676
|
case 1:
|
|
1358
677
|
return { tag: "SqliteFenceMismatch", val: readSqliteFenceMismatch(bc) };
|
|
1359
678
|
case 2:
|
|
@@ -1364,11 +683,11 @@ function readSqliteExecResponse(bc) {
|
|
|
1364
683
|
}
|
|
1365
684
|
}
|
|
1366
685
|
}
|
|
1367
|
-
function
|
|
686
|
+
function writeSqliteCommitStageBeginResponse(bc, x) {
|
|
1368
687
|
switch (x.tag) {
|
|
1369
|
-
case "
|
|
688
|
+
case "SqliteCommitStageBeginOk": {
|
|
1370
689
|
bare.writeU8(bc, 0);
|
|
1371
|
-
|
|
690
|
+
writeSqliteCommitStageBeginOk(bc, x.val);
|
|
1372
691
|
break;
|
|
1373
692
|
}
|
|
1374
693
|
case "SqliteFenceMismatch": {
|
|
@@ -1383,12 +702,38 @@ function writeSqliteExecResponse(bc, x) {
|
|
|
1383
702
|
}
|
|
1384
703
|
}
|
|
1385
704
|
}
|
|
1386
|
-
function
|
|
705
|
+
function readSqliteCommitStageRequest(bc) {
|
|
706
|
+
return {
|
|
707
|
+
actorId: readId(bc),
|
|
708
|
+
generation: readSqliteGeneration(bc),
|
|
709
|
+
txid: readSqliteTxid(bc),
|
|
710
|
+
chunkIdx: bare.readU32(bc),
|
|
711
|
+
bytes: bare.readData(bc),
|
|
712
|
+
isLast: bare.readBool(bc)
|
|
713
|
+
};
|
|
714
|
+
}
|
|
715
|
+
function writeSqliteCommitStageRequest(bc, x) {
|
|
716
|
+
writeId(bc, x.actorId);
|
|
717
|
+
writeSqliteGeneration(bc, x.generation);
|
|
718
|
+
writeSqliteTxid(bc, x.txid);
|
|
719
|
+
bare.writeU32(bc, x.chunkIdx);
|
|
720
|
+
bare.writeData(bc, x.bytes);
|
|
721
|
+
bare.writeBool(bc, x.isLast);
|
|
722
|
+
}
|
|
723
|
+
function readSqliteCommitStageOk(bc) {
|
|
724
|
+
return {
|
|
725
|
+
chunkIdxCommitted: bare.readU32(bc)
|
|
726
|
+
};
|
|
727
|
+
}
|
|
728
|
+
function writeSqliteCommitStageOk(bc, x) {
|
|
729
|
+
bare.writeU32(bc, x.chunkIdxCommitted);
|
|
730
|
+
}
|
|
731
|
+
function readSqliteCommitStageResponse(bc) {
|
|
1387
732
|
const offset = bc.offset;
|
|
1388
733
|
const tag = bare.readU8(bc);
|
|
1389
734
|
switch (tag) {
|
|
1390
735
|
case 0:
|
|
1391
|
-
return { tag: "
|
|
736
|
+
return { tag: "SqliteCommitStageOk", val: readSqliteCommitStageOk(bc) };
|
|
1392
737
|
case 1:
|
|
1393
738
|
return { tag: "SqliteFenceMismatch", val: readSqliteFenceMismatch(bc) };
|
|
1394
739
|
case 2:
|
|
@@ -1399,11 +744,11 @@ function readSqliteExecuteResponse(bc) {
|
|
|
1399
744
|
}
|
|
1400
745
|
}
|
|
1401
746
|
}
|
|
1402
|
-
function
|
|
747
|
+
function writeSqliteCommitStageResponse(bc, x) {
|
|
1403
748
|
switch (x.tag) {
|
|
1404
|
-
case "
|
|
749
|
+
case "SqliteCommitStageOk": {
|
|
1405
750
|
bare.writeU8(bc, 0);
|
|
1406
|
-
|
|
751
|
+
writeSqliteCommitStageOk(bc, x.val);
|
|
1407
752
|
break;
|
|
1408
753
|
}
|
|
1409
754
|
case "SqliteFenceMismatch": {
|
|
@@ -1418,15 +763,51 @@ function writeSqliteExecuteResponse(bc, x) {
|
|
|
1418
763
|
}
|
|
1419
764
|
}
|
|
1420
765
|
}
|
|
1421
|
-
function
|
|
766
|
+
function readSqliteCommitFinalizeRequest(bc) {
|
|
767
|
+
return {
|
|
768
|
+
actorId: readId(bc),
|
|
769
|
+
generation: readSqliteGeneration(bc),
|
|
770
|
+
expectedHeadTxid: readSqliteTxid(bc),
|
|
771
|
+
txid: readSqliteTxid(bc),
|
|
772
|
+
newDbSizePages: bare.readU32(bc)
|
|
773
|
+
};
|
|
774
|
+
}
|
|
775
|
+
function writeSqliteCommitFinalizeRequest(bc, x) {
|
|
776
|
+
writeId(bc, x.actorId);
|
|
777
|
+
writeSqliteGeneration(bc, x.generation);
|
|
778
|
+
writeSqliteTxid(bc, x.expectedHeadTxid);
|
|
779
|
+
writeSqliteTxid(bc, x.txid);
|
|
780
|
+
bare.writeU32(bc, x.newDbSizePages);
|
|
781
|
+
}
|
|
782
|
+
function readSqliteCommitFinalizeOk(bc) {
|
|
783
|
+
return {
|
|
784
|
+
newHeadTxid: readSqliteTxid(bc),
|
|
785
|
+
meta: readSqliteMeta(bc)
|
|
786
|
+
};
|
|
787
|
+
}
|
|
788
|
+
function writeSqliteCommitFinalizeOk(bc, x) {
|
|
789
|
+
writeSqliteTxid(bc, x.newHeadTxid);
|
|
790
|
+
writeSqliteMeta(bc, x.meta);
|
|
791
|
+
}
|
|
792
|
+
function readSqliteStageNotFound(bc) {
|
|
793
|
+
return {
|
|
794
|
+
stageId: readSqliteStageId(bc)
|
|
795
|
+
};
|
|
796
|
+
}
|
|
797
|
+
function writeSqliteStageNotFound(bc, x) {
|
|
798
|
+
writeSqliteStageId(bc, x.stageId);
|
|
799
|
+
}
|
|
800
|
+
function readSqliteCommitFinalizeResponse(bc) {
|
|
1422
801
|
const offset = bc.offset;
|
|
1423
802
|
const tag = bare.readU8(bc);
|
|
1424
803
|
switch (tag) {
|
|
1425
804
|
case 0:
|
|
1426
|
-
return { tag: "
|
|
805
|
+
return { tag: "SqliteCommitFinalizeOk", val: readSqliteCommitFinalizeOk(bc) };
|
|
1427
806
|
case 1:
|
|
1428
807
|
return { tag: "SqliteFenceMismatch", val: readSqliteFenceMismatch(bc) };
|
|
1429
808
|
case 2:
|
|
809
|
+
return { tag: "SqliteStageNotFound", val: readSqliteStageNotFound(bc) };
|
|
810
|
+
case 3:
|
|
1430
811
|
return { tag: "SqliteErrorResponse", val: readSqliteErrorResponse(bc) };
|
|
1431
812
|
default: {
|
|
1432
813
|
bc.offset = offset;
|
|
@@ -1434,11 +815,11 @@ function readSqliteExecuteWriteResponse(bc) {
|
|
|
1434
815
|
}
|
|
1435
816
|
}
|
|
1436
817
|
}
|
|
1437
|
-
function
|
|
818
|
+
function writeSqliteCommitFinalizeResponse(bc, x) {
|
|
1438
819
|
switch (x.tag) {
|
|
1439
|
-
case "
|
|
820
|
+
case "SqliteCommitFinalizeOk": {
|
|
1440
821
|
bare.writeU8(bc, 0);
|
|
1441
|
-
|
|
822
|
+
writeSqliteCommitFinalizeOk(bc, x.val);
|
|
1442
823
|
break;
|
|
1443
824
|
}
|
|
1444
825
|
case "SqliteFenceMismatch": {
|
|
@@ -1446,13 +827,30 @@ function writeSqliteExecuteWriteResponse(bc, x) {
|
|
|
1446
827
|
writeSqliteFenceMismatch(bc, x.val);
|
|
1447
828
|
break;
|
|
1448
829
|
}
|
|
1449
|
-
case "
|
|
830
|
+
case "SqliteStageNotFound": {
|
|
1450
831
|
bare.writeU8(bc, 2);
|
|
832
|
+
writeSqliteStageNotFound(bc, x.val);
|
|
833
|
+
break;
|
|
834
|
+
}
|
|
835
|
+
case "SqliteErrorResponse": {
|
|
836
|
+
bare.writeU8(bc, 3);
|
|
1451
837
|
writeSqliteErrorResponse(bc, x.val);
|
|
1452
838
|
break;
|
|
1453
839
|
}
|
|
1454
840
|
}
|
|
1455
841
|
}
|
|
842
|
+
function readSqliteStartupData(bc) {
|
|
843
|
+
return {
|
|
844
|
+
generation: readSqliteGeneration(bc),
|
|
845
|
+
meta: readSqliteMeta(bc),
|
|
846
|
+
preloadedPages: read7(bc)
|
|
847
|
+
};
|
|
848
|
+
}
|
|
849
|
+
function writeSqliteStartupData(bc, x) {
|
|
850
|
+
writeSqliteGeneration(bc, x.generation);
|
|
851
|
+
writeSqliteMeta(bc, x.meta);
|
|
852
|
+
write7(bc, x.preloadedPages);
|
|
853
|
+
}
|
|
1456
854
|
var StopCode = /* @__PURE__ */ ((StopCode2) => {
|
|
1457
855
|
StopCode2["Ok"] = "Ok";
|
|
1458
856
|
StopCode2["Error"] = "Error";
|
|
@@ -1492,19 +890,19 @@ function readActorName(bc) {
|
|
|
1492
890
|
function writeActorName(bc, x) {
|
|
1493
891
|
writeJson(bc, x.metadata);
|
|
1494
892
|
}
|
|
1495
|
-
function
|
|
893
|
+
function read9(bc) {
|
|
1496
894
|
return bare.readBool(bc) ? bare.readString(bc) : null;
|
|
1497
895
|
}
|
|
1498
|
-
function
|
|
896
|
+
function write9(bc, x) {
|
|
1499
897
|
bare.writeBool(bc, x != null);
|
|
1500
898
|
if (x != null) {
|
|
1501
899
|
bare.writeString(bc, x);
|
|
1502
900
|
}
|
|
1503
901
|
}
|
|
1504
|
-
function
|
|
902
|
+
function read10(bc) {
|
|
1505
903
|
return bare.readBool(bc) ? bare.readData(bc) : null;
|
|
1506
904
|
}
|
|
1507
|
-
function
|
|
905
|
+
function write10(bc, x) {
|
|
1508
906
|
bare.writeBool(bc, x != null);
|
|
1509
907
|
if (x != null) {
|
|
1510
908
|
bare.writeData(bc, x);
|
|
@@ -1513,16 +911,16 @@ function write17(bc, x) {
|
|
|
1513
911
|
function readActorConfig(bc) {
|
|
1514
912
|
return {
|
|
1515
913
|
name: bare.readString(bc),
|
|
1516
|
-
key:
|
|
914
|
+
key: read9(bc),
|
|
1517
915
|
createTs: bare.readI64(bc),
|
|
1518
|
-
input:
|
|
916
|
+
input: read10(bc)
|
|
1519
917
|
};
|
|
1520
918
|
}
|
|
1521
919
|
function writeActorConfig(bc, x) {
|
|
1522
920
|
bare.writeString(bc, x.name);
|
|
1523
|
-
|
|
921
|
+
write9(bc, x.key);
|
|
1524
922
|
bare.writeI64(bc, x.createTs);
|
|
1525
|
-
|
|
923
|
+
write10(bc, x.input);
|
|
1526
924
|
}
|
|
1527
925
|
function readActorCheckpoint(bc) {
|
|
1528
926
|
return {
|
|
@@ -1565,12 +963,12 @@ function writeActorIntent(bc, x) {
|
|
|
1565
963
|
function readActorStateStopped(bc) {
|
|
1566
964
|
return {
|
|
1567
965
|
code: readStopCode(bc),
|
|
1568
|
-
message:
|
|
966
|
+
message: read9(bc)
|
|
1569
967
|
};
|
|
1570
968
|
}
|
|
1571
969
|
function writeActorStateStopped(bc, x) {
|
|
1572
970
|
writeStopCode(bc, x.code);
|
|
1573
|
-
|
|
971
|
+
write9(bc, x.message);
|
|
1574
972
|
}
|
|
1575
973
|
function readActorState(bc) {
|
|
1576
974
|
const offset = bc.offset;
|
|
@@ -1615,13 +1013,22 @@ function readEventActorStateUpdate(bc) {
|
|
|
1615
1013
|
function writeEventActorStateUpdate(bc, x) {
|
|
1616
1014
|
writeActorState(bc, x.state);
|
|
1617
1015
|
}
|
|
1016
|
+
function read11(bc) {
|
|
1017
|
+
return bare.readBool(bc) ? bare.readI64(bc) : null;
|
|
1018
|
+
}
|
|
1019
|
+
function write11(bc, x) {
|
|
1020
|
+
bare.writeBool(bc, x != null);
|
|
1021
|
+
if (x != null) {
|
|
1022
|
+
bare.writeI64(bc, x);
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1618
1025
|
function readEventActorSetAlarm(bc) {
|
|
1619
1026
|
return {
|
|
1620
|
-
alarmTs:
|
|
1027
|
+
alarmTs: read11(bc)
|
|
1621
1028
|
};
|
|
1622
1029
|
}
|
|
1623
1030
|
function writeEventActorSetAlarm(bc, x) {
|
|
1624
|
-
|
|
1031
|
+
write11(bc, x.alarmTs);
|
|
1625
1032
|
}
|
|
1626
1033
|
function readEvent(bc) {
|
|
1627
1034
|
const offset = bc.offset;
|
|
@@ -1680,7 +1087,7 @@ function writePreloadedKvEntry(bc, x) {
|
|
|
1680
1087
|
writeKvValue(bc, x.value);
|
|
1681
1088
|
writeKvMetadata(bc, x.metadata);
|
|
1682
1089
|
}
|
|
1683
|
-
function
|
|
1090
|
+
function read12(bc) {
|
|
1684
1091
|
const len = bare.readUintSafe(bc);
|
|
1685
1092
|
if (len === 0) {
|
|
1686
1093
|
return [];
|
|
@@ -1691,7 +1098,7 @@ function read18(bc) {
|
|
|
1691
1098
|
}
|
|
1692
1099
|
return result;
|
|
1693
1100
|
}
|
|
1694
|
-
function
|
|
1101
|
+
function write12(bc, x) {
|
|
1695
1102
|
bare.writeUintSafe(bc, x.length);
|
|
1696
1103
|
for (let i = 0; i < x.length; i++) {
|
|
1697
1104
|
writePreloadedKvEntry(bc, x[i]);
|
|
@@ -1699,13 +1106,13 @@ function write18(bc, x) {
|
|
|
1699
1106
|
}
|
|
1700
1107
|
function readPreloadedKv(bc) {
|
|
1701
1108
|
return {
|
|
1702
|
-
entries:
|
|
1109
|
+
entries: read12(bc),
|
|
1703
1110
|
requestedGetKeys: read0(bc),
|
|
1704
1111
|
requestedPrefixes: read0(bc)
|
|
1705
1112
|
};
|
|
1706
1113
|
}
|
|
1707
1114
|
function writePreloadedKv(bc, x) {
|
|
1708
|
-
|
|
1115
|
+
write12(bc, x.entries);
|
|
1709
1116
|
write0(bc, x.requestedGetKeys);
|
|
1710
1117
|
write0(bc, x.requestedPrefixes);
|
|
1711
1118
|
}
|
|
@@ -1719,7 +1126,7 @@ function writeHibernatingRequest(bc, x) {
|
|
|
1719
1126
|
writeGatewayId(bc, x.gatewayId);
|
|
1720
1127
|
writeRequestId(bc, x.requestId);
|
|
1721
1128
|
}
|
|
1722
|
-
function
|
|
1129
|
+
function read13(bc) {
|
|
1723
1130
|
const len = bare.readUintSafe(bc);
|
|
1724
1131
|
if (len === 0) {
|
|
1725
1132
|
return [];
|
|
@@ -1730,25 +1137,25 @@ function read19(bc) {
|
|
|
1730
1137
|
}
|
|
1731
1138
|
return result;
|
|
1732
1139
|
}
|
|
1733
|
-
function
|
|
1140
|
+
function write13(bc, x) {
|
|
1734
1141
|
bare.writeUintSafe(bc, x.length);
|
|
1735
1142
|
for (let i = 0; i < x.length; i++) {
|
|
1736
1143
|
writeHibernatingRequest(bc, x[i]);
|
|
1737
1144
|
}
|
|
1738
1145
|
}
|
|
1739
|
-
function
|
|
1146
|
+
function read14(bc) {
|
|
1740
1147
|
return bare.readBool(bc) ? readPreloadedKv(bc) : null;
|
|
1741
1148
|
}
|
|
1742
|
-
function
|
|
1149
|
+
function write14(bc, x) {
|
|
1743
1150
|
bare.writeBool(bc, x != null);
|
|
1744
1151
|
if (x != null) {
|
|
1745
1152
|
writePreloadedKv(bc, x);
|
|
1746
1153
|
}
|
|
1747
1154
|
}
|
|
1748
|
-
function
|
|
1155
|
+
function read15(bc) {
|
|
1749
1156
|
return bare.readBool(bc) ? readSqliteStartupData(bc) : null;
|
|
1750
1157
|
}
|
|
1751
|
-
function
|
|
1158
|
+
function write15(bc, x) {
|
|
1752
1159
|
bare.writeBool(bc, x != null);
|
|
1753
1160
|
if (x != null) {
|
|
1754
1161
|
writeSqliteStartupData(bc, x);
|
|
@@ -1757,16 +1164,16 @@ function write21(bc, x) {
|
|
|
1757
1164
|
function readCommandStartActor(bc) {
|
|
1758
1165
|
return {
|
|
1759
1166
|
config: readActorConfig(bc),
|
|
1760
|
-
hibernatingRequests:
|
|
1761
|
-
preloadedKv:
|
|
1762
|
-
sqliteStartupData:
|
|
1167
|
+
hibernatingRequests: read13(bc),
|
|
1168
|
+
preloadedKv: read14(bc),
|
|
1169
|
+
sqliteStartupData: read15(bc)
|
|
1763
1170
|
};
|
|
1764
1171
|
}
|
|
1765
1172
|
function writeCommandStartActor(bc, x) {
|
|
1766
1173
|
writeActorConfig(bc, x.config);
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1174
|
+
write13(bc, x.hibernatingRequests);
|
|
1175
|
+
write14(bc, x.preloadedKv);
|
|
1176
|
+
write15(bc, x.sqliteStartupData);
|
|
1770
1177
|
}
|
|
1771
1178
|
var StopActorReason = /* @__PURE__ */ ((StopActorReason2) => {
|
|
1772
1179
|
StopActorReason2["SleepIntent"] = "SleepIntent";
|
|
@@ -1923,7 +1330,7 @@ function writeMessageId(bc, x) {
|
|
|
1923
1330
|
writeRequestId(bc, x.requestId);
|
|
1924
1331
|
writeMessageIndex(bc, x.messageIndex);
|
|
1925
1332
|
}
|
|
1926
|
-
function
|
|
1333
|
+
function read16(bc) {
|
|
1927
1334
|
const len = bare.readUintSafe(bc);
|
|
1928
1335
|
const result = /* @__PURE__ */ new Map();
|
|
1929
1336
|
for (let i = 0; i < len; i++) {
|
|
@@ -1937,7 +1344,7 @@ function read22(bc) {
|
|
|
1937
1344
|
}
|
|
1938
1345
|
return result;
|
|
1939
1346
|
}
|
|
1940
|
-
function
|
|
1347
|
+
function write16(bc, x) {
|
|
1941
1348
|
bare.writeUintSafe(bc, x.size);
|
|
1942
1349
|
for (const kv of x) {
|
|
1943
1350
|
bare.writeString(bc, kv[0]);
|
|
@@ -1949,8 +1356,8 @@ function readToEnvoyRequestStart(bc) {
|
|
|
1949
1356
|
actorId: readId(bc),
|
|
1950
1357
|
method: bare.readString(bc),
|
|
1951
1358
|
path: bare.readString(bc),
|
|
1952
|
-
headers:
|
|
1953
|
-
body:
|
|
1359
|
+
headers: read16(bc),
|
|
1360
|
+
body: read10(bc),
|
|
1954
1361
|
stream: bare.readBool(bc)
|
|
1955
1362
|
};
|
|
1956
1363
|
}
|
|
@@ -1958,8 +1365,8 @@ function writeToEnvoyRequestStart(bc, x) {
|
|
|
1958
1365
|
writeId(bc, x.actorId);
|
|
1959
1366
|
bare.writeString(bc, x.method);
|
|
1960
1367
|
bare.writeString(bc, x.path);
|
|
1961
|
-
|
|
1962
|
-
|
|
1368
|
+
write16(bc, x.headers);
|
|
1369
|
+
write10(bc, x.body);
|
|
1963
1370
|
bare.writeBool(bc, x.stream);
|
|
1964
1371
|
}
|
|
1965
1372
|
function readToEnvoyRequestChunk(bc) {
|
|
@@ -1975,15 +1382,15 @@ function writeToEnvoyRequestChunk(bc, x) {
|
|
|
1975
1382
|
function readToRivetResponseStart(bc) {
|
|
1976
1383
|
return {
|
|
1977
1384
|
status: bare.readU16(bc),
|
|
1978
|
-
headers:
|
|
1979
|
-
body:
|
|
1385
|
+
headers: read16(bc),
|
|
1386
|
+
body: read10(bc),
|
|
1980
1387
|
stream: bare.readBool(bc)
|
|
1981
1388
|
};
|
|
1982
1389
|
}
|
|
1983
1390
|
function writeToRivetResponseStart(bc, x) {
|
|
1984
1391
|
bare.writeU16(bc, x.status);
|
|
1985
|
-
|
|
1986
|
-
|
|
1392
|
+
write16(bc, x.headers);
|
|
1393
|
+
write10(bc, x.body);
|
|
1987
1394
|
bare.writeBool(bc, x.stream);
|
|
1988
1395
|
}
|
|
1989
1396
|
function readToRivetResponseChunk(bc) {
|
|
@@ -2000,13 +1407,13 @@ function readToEnvoyWebSocketOpen(bc) {
|
|
|
2000
1407
|
return {
|
|
2001
1408
|
actorId: readId(bc),
|
|
2002
1409
|
path: bare.readString(bc),
|
|
2003
|
-
headers:
|
|
1410
|
+
headers: read16(bc)
|
|
2004
1411
|
};
|
|
2005
1412
|
}
|
|
2006
1413
|
function writeToEnvoyWebSocketOpen(bc, x) {
|
|
2007
1414
|
writeId(bc, x.actorId);
|
|
2008
1415
|
bare.writeString(bc, x.path);
|
|
2009
|
-
|
|
1416
|
+
write16(bc, x.headers);
|
|
2010
1417
|
}
|
|
2011
1418
|
function readToEnvoyWebSocketMessage(bc) {
|
|
2012
1419
|
return {
|
|
@@ -2018,10 +1425,10 @@ function writeToEnvoyWebSocketMessage(bc, x) {
|
|
|
2018
1425
|
bare.writeData(bc, x.data);
|
|
2019
1426
|
bare.writeBool(bc, x.binary);
|
|
2020
1427
|
}
|
|
2021
|
-
function
|
|
1428
|
+
function read17(bc) {
|
|
2022
1429
|
return bare.readBool(bc) ? bare.readU16(bc) : null;
|
|
2023
1430
|
}
|
|
2024
|
-
function
|
|
1431
|
+
function write17(bc, x) {
|
|
2025
1432
|
bare.writeBool(bc, x != null);
|
|
2026
1433
|
if (x != null) {
|
|
2027
1434
|
bare.writeU16(bc, x);
|
|
@@ -2029,13 +1436,13 @@ function write23(bc, x) {
|
|
|
2029
1436
|
}
|
|
2030
1437
|
function readToEnvoyWebSocketClose(bc) {
|
|
2031
1438
|
return {
|
|
2032
|
-
code:
|
|
2033
|
-
reason:
|
|
1439
|
+
code: read17(bc),
|
|
1440
|
+
reason: read9(bc)
|
|
2034
1441
|
};
|
|
2035
1442
|
}
|
|
2036
1443
|
function writeToEnvoyWebSocketClose(bc, x) {
|
|
2037
|
-
|
|
2038
|
-
|
|
1444
|
+
write17(bc, x.code);
|
|
1445
|
+
write9(bc, x.reason);
|
|
2039
1446
|
}
|
|
2040
1447
|
function readToRivetWebSocketOpen(bc) {
|
|
2041
1448
|
return {
|
|
@@ -2065,14 +1472,14 @@ function writeToRivetWebSocketMessageAck(bc, x) {
|
|
|
2065
1472
|
}
|
|
2066
1473
|
function readToRivetWebSocketClose(bc) {
|
|
2067
1474
|
return {
|
|
2068
|
-
code:
|
|
2069
|
-
reason:
|
|
1475
|
+
code: read17(bc),
|
|
1476
|
+
reason: read9(bc),
|
|
2070
1477
|
hibernate: bare.readBool(bc)
|
|
2071
1478
|
};
|
|
2072
1479
|
}
|
|
2073
1480
|
function writeToRivetWebSocketClose(bc, x) {
|
|
2074
|
-
|
|
2075
|
-
|
|
1481
|
+
write17(bc, x.code);
|
|
1482
|
+
write9(bc, x.reason);
|
|
2076
1483
|
bare.writeBool(bc, x.hibernate);
|
|
2077
1484
|
}
|
|
2078
1485
|
function readToRivetTunnelMessageKind(bc) {
|
|
@@ -2220,7 +1627,7 @@ function readToEnvoyPing(bc) {
|
|
|
2220
1627
|
function writeToEnvoyPing(bc, x) {
|
|
2221
1628
|
bare.writeI64(bc, x.ts);
|
|
2222
1629
|
}
|
|
2223
|
-
function
|
|
1630
|
+
function read18(bc) {
|
|
2224
1631
|
const len = bare.readUintSafe(bc);
|
|
2225
1632
|
const result = /* @__PURE__ */ new Map();
|
|
2226
1633
|
for (let i = 0; i < len; i++) {
|
|
@@ -2234,26 +1641,26 @@ function read24(bc) {
|
|
|
2234
1641
|
}
|
|
2235
1642
|
return result;
|
|
2236
1643
|
}
|
|
2237
|
-
function
|
|
1644
|
+
function write18(bc, x) {
|
|
2238
1645
|
bare.writeUintSafe(bc, x.size);
|
|
2239
1646
|
for (const kv of x) {
|
|
2240
1647
|
bare.writeString(bc, kv[0]);
|
|
2241
1648
|
writeActorName(bc, kv[1]);
|
|
2242
1649
|
}
|
|
2243
1650
|
}
|
|
2244
|
-
function
|
|
2245
|
-
return bare.readBool(bc) ?
|
|
1651
|
+
function read19(bc) {
|
|
1652
|
+
return bare.readBool(bc) ? read18(bc) : null;
|
|
2246
1653
|
}
|
|
2247
|
-
function
|
|
1654
|
+
function write19(bc, x) {
|
|
2248
1655
|
bare.writeBool(bc, x != null);
|
|
2249
1656
|
if (x != null) {
|
|
2250
|
-
|
|
1657
|
+
write18(bc, x);
|
|
2251
1658
|
}
|
|
2252
1659
|
}
|
|
2253
|
-
function
|
|
1660
|
+
function read20(bc) {
|
|
2254
1661
|
return bare.readBool(bc) ? readJson(bc) : null;
|
|
2255
1662
|
}
|
|
2256
|
-
function
|
|
1663
|
+
function write20(bc, x) {
|
|
2257
1664
|
bare.writeBool(bc, x != null);
|
|
2258
1665
|
if (x != null) {
|
|
2259
1666
|
writeJson(bc, x);
|
|
@@ -2261,13 +1668,13 @@ function write26(bc, x) {
|
|
|
2261
1668
|
}
|
|
2262
1669
|
function readToRivetMetadata(bc) {
|
|
2263
1670
|
return {
|
|
2264
|
-
prepopulateActorNames:
|
|
2265
|
-
metadata:
|
|
1671
|
+
prepopulateActorNames: read19(bc),
|
|
1672
|
+
metadata: read20(bc)
|
|
2266
1673
|
};
|
|
2267
1674
|
}
|
|
2268
1675
|
function writeToRivetMetadata(bc, x) {
|
|
2269
|
-
|
|
2270
|
-
|
|
1676
|
+
write19(bc, x.prepopulateActorNames);
|
|
1677
|
+
write20(bc, x.metadata);
|
|
2271
1678
|
}
|
|
2272
1679
|
function readToRivetEvents(bc) {
|
|
2273
1680
|
const len = bare.readUintSafe(bc);
|
|
@@ -2286,7 +1693,7 @@ function writeToRivetEvents(bc, x) {
|
|
|
2286
1693
|
writeEventWrapper(bc, x[i]);
|
|
2287
1694
|
}
|
|
2288
1695
|
}
|
|
2289
|
-
function
|
|
1696
|
+
function read21(bc) {
|
|
2290
1697
|
const len = bare.readUintSafe(bc);
|
|
2291
1698
|
if (len === 0) {
|
|
2292
1699
|
return [];
|
|
@@ -2297,7 +1704,7 @@ function read27(bc) {
|
|
|
2297
1704
|
}
|
|
2298
1705
|
return result;
|
|
2299
1706
|
}
|
|
2300
|
-
function
|
|
1707
|
+
function write21(bc, x) {
|
|
2301
1708
|
bare.writeUintSafe(bc, x.length);
|
|
2302
1709
|
for (let i = 0; i < x.length; i++) {
|
|
2303
1710
|
writeActorCheckpoint(bc, x[i]);
|
|
@@ -2305,11 +1712,11 @@ function write27(bc, x) {
|
|
|
2305
1712
|
}
|
|
2306
1713
|
function readToRivetAckCommands(bc) {
|
|
2307
1714
|
return {
|
|
2308
|
-
lastCommandCheckpoints:
|
|
1715
|
+
lastCommandCheckpoints: read21(bc)
|
|
2309
1716
|
};
|
|
2310
1717
|
}
|
|
2311
1718
|
function writeToRivetAckCommands(bc, x) {
|
|
2312
|
-
|
|
1719
|
+
write21(bc, x.lastCommandCheckpoints);
|
|
2313
1720
|
}
|
|
2314
1721
|
function readToRivetPong(bc) {
|
|
2315
1722
|
return {
|
|
@@ -2341,16 +1748,6 @@ function writeToRivetSqliteGetPagesRequest(bc, x) {
|
|
|
2341
1748
|
bare.writeU32(bc, x.requestId);
|
|
2342
1749
|
writeSqliteGetPagesRequest(bc, x.data);
|
|
2343
1750
|
}
|
|
2344
|
-
function readToRivetSqliteGetPageRangeRequest(bc) {
|
|
2345
|
-
return {
|
|
2346
|
-
requestId: bare.readU32(bc),
|
|
2347
|
-
data: readSqliteGetPageRangeRequest(bc)
|
|
2348
|
-
};
|
|
2349
|
-
}
|
|
2350
|
-
function writeToRivetSqliteGetPageRangeRequest(bc, x) {
|
|
2351
|
-
bare.writeU32(bc, x.requestId);
|
|
2352
|
-
writeSqliteGetPageRangeRequest(bc, x.data);
|
|
2353
|
-
}
|
|
2354
1751
|
function readToRivetSqliteCommitRequest(bc) {
|
|
2355
1752
|
return {
|
|
2356
1753
|
requestId: bare.readU32(bc),
|
|
@@ -2391,46 +1788,6 @@ function writeToRivetSqliteCommitFinalizeRequest(bc, x) {
|
|
|
2391
1788
|
bare.writeU32(bc, x.requestId);
|
|
2392
1789
|
writeSqliteCommitFinalizeRequest(bc, x.data);
|
|
2393
1790
|
}
|
|
2394
|
-
function readToRivetSqlitePersistPreloadHintsRequest(bc) {
|
|
2395
|
-
return {
|
|
2396
|
-
requestId: bare.readU32(bc),
|
|
2397
|
-
data: readSqlitePersistPreloadHintsRequest(bc)
|
|
2398
|
-
};
|
|
2399
|
-
}
|
|
2400
|
-
function writeToRivetSqlitePersistPreloadHintsRequest(bc, x) {
|
|
2401
|
-
bare.writeU32(bc, x.requestId);
|
|
2402
|
-
writeSqlitePersistPreloadHintsRequest(bc, x.data);
|
|
2403
|
-
}
|
|
2404
|
-
function readToRivetSqliteExecRequest(bc) {
|
|
2405
|
-
return {
|
|
2406
|
-
requestId: bare.readU32(bc),
|
|
2407
|
-
data: readSqliteExecRequest(bc)
|
|
2408
|
-
};
|
|
2409
|
-
}
|
|
2410
|
-
function writeToRivetSqliteExecRequest(bc, x) {
|
|
2411
|
-
bare.writeU32(bc, x.requestId);
|
|
2412
|
-
writeSqliteExecRequest(bc, x.data);
|
|
2413
|
-
}
|
|
2414
|
-
function readToRivetSqliteExecuteRequest(bc) {
|
|
2415
|
-
return {
|
|
2416
|
-
requestId: bare.readU32(bc),
|
|
2417
|
-
data: readSqliteExecuteRequest(bc)
|
|
2418
|
-
};
|
|
2419
|
-
}
|
|
2420
|
-
function writeToRivetSqliteExecuteRequest(bc, x) {
|
|
2421
|
-
bare.writeU32(bc, x.requestId);
|
|
2422
|
-
writeSqliteExecuteRequest(bc, x.data);
|
|
2423
|
-
}
|
|
2424
|
-
function readToRivetSqliteExecuteWriteRequest(bc) {
|
|
2425
|
-
return {
|
|
2426
|
-
requestId: bare.readU32(bc),
|
|
2427
|
-
data: readSqliteExecuteWriteRequest(bc)
|
|
2428
|
-
};
|
|
2429
|
-
}
|
|
2430
|
-
function writeToRivetSqliteExecuteWriteRequest(bc, x) {
|
|
2431
|
-
bare.writeU32(bc, x.requestId);
|
|
2432
|
-
writeSqliteExecuteWriteRequest(bc, x.data);
|
|
2433
|
-
}
|
|
2434
1791
|
function readToRivet(bc) {
|
|
2435
1792
|
const offset = bc.offset;
|
|
2436
1793
|
const tag = bare.readU8(bc);
|
|
@@ -2452,23 +1809,13 @@ function readToRivet(bc) {
|
|
|
2452
1809
|
case 7:
|
|
2453
1810
|
return { tag: "ToRivetSqliteGetPagesRequest", val: readToRivetSqliteGetPagesRequest(bc) };
|
|
2454
1811
|
case 8:
|
|
2455
|
-
return { tag: "ToRivetSqliteGetPageRangeRequest", val: readToRivetSqliteGetPageRangeRequest(bc) };
|
|
2456
|
-
case 9:
|
|
2457
1812
|
return { tag: "ToRivetSqliteCommitRequest", val: readToRivetSqliteCommitRequest(bc) };
|
|
2458
|
-
case
|
|
1813
|
+
case 9:
|
|
2459
1814
|
return { tag: "ToRivetSqliteCommitStageBeginRequest", val: readToRivetSqliteCommitStageBeginRequest(bc) };
|
|
2460
|
-
case
|
|
1815
|
+
case 10:
|
|
2461
1816
|
return { tag: "ToRivetSqliteCommitStageRequest", val: readToRivetSqliteCommitStageRequest(bc) };
|
|
2462
|
-
case
|
|
1817
|
+
case 11:
|
|
2463
1818
|
return { tag: "ToRivetSqliteCommitFinalizeRequest", val: readToRivetSqliteCommitFinalizeRequest(bc) };
|
|
2464
|
-
case 13:
|
|
2465
|
-
return { tag: "ToRivetSqlitePersistPreloadHintsRequest", val: readToRivetSqlitePersistPreloadHintsRequest(bc) };
|
|
2466
|
-
case 14:
|
|
2467
|
-
return { tag: "ToRivetSqliteExecRequest", val: readToRivetSqliteExecRequest(bc) };
|
|
2468
|
-
case 15:
|
|
2469
|
-
return { tag: "ToRivetSqliteExecuteRequest", val: readToRivetSqliteExecuteRequest(bc) };
|
|
2470
|
-
case 16:
|
|
2471
|
-
return { tag: "ToRivetSqliteExecuteWriteRequest", val: readToRivetSqliteExecuteWriteRequest(bc) };
|
|
2472
1819
|
default: {
|
|
2473
1820
|
bc.offset = offset;
|
|
2474
1821
|
throw new bare.BareError(offset, "invalid tag");
|
|
@@ -2516,51 +1863,26 @@ function writeToRivet(bc, x) {
|
|
|
2516
1863
|
writeToRivetSqliteGetPagesRequest(bc, x.val);
|
|
2517
1864
|
break;
|
|
2518
1865
|
}
|
|
2519
|
-
case "ToRivetSqliteGetPageRangeRequest": {
|
|
2520
|
-
bare.writeU8(bc, 8);
|
|
2521
|
-
writeToRivetSqliteGetPageRangeRequest(bc, x.val);
|
|
2522
|
-
break;
|
|
2523
|
-
}
|
|
2524
1866
|
case "ToRivetSqliteCommitRequest": {
|
|
2525
|
-
bare.writeU8(bc,
|
|
1867
|
+
bare.writeU8(bc, 8);
|
|
2526
1868
|
writeToRivetSqliteCommitRequest(bc, x.val);
|
|
2527
1869
|
break;
|
|
2528
1870
|
}
|
|
2529
1871
|
case "ToRivetSqliteCommitStageBeginRequest": {
|
|
2530
|
-
bare.writeU8(bc,
|
|
1872
|
+
bare.writeU8(bc, 9);
|
|
2531
1873
|
writeToRivetSqliteCommitStageBeginRequest(bc, x.val);
|
|
2532
1874
|
break;
|
|
2533
1875
|
}
|
|
2534
1876
|
case "ToRivetSqliteCommitStageRequest": {
|
|
2535
|
-
bare.writeU8(bc,
|
|
1877
|
+
bare.writeU8(bc, 10);
|
|
2536
1878
|
writeToRivetSqliteCommitStageRequest(bc, x.val);
|
|
2537
1879
|
break;
|
|
2538
1880
|
}
|
|
2539
1881
|
case "ToRivetSqliteCommitFinalizeRequest": {
|
|
2540
|
-
bare.writeU8(bc,
|
|
1882
|
+
bare.writeU8(bc, 11);
|
|
2541
1883
|
writeToRivetSqliteCommitFinalizeRequest(bc, x.val);
|
|
2542
1884
|
break;
|
|
2543
1885
|
}
|
|
2544
|
-
case "ToRivetSqlitePersistPreloadHintsRequest": {
|
|
2545
|
-
bare.writeU8(bc, 13);
|
|
2546
|
-
writeToRivetSqlitePersistPreloadHintsRequest(bc, x.val);
|
|
2547
|
-
break;
|
|
2548
|
-
}
|
|
2549
|
-
case "ToRivetSqliteExecRequest": {
|
|
2550
|
-
bare.writeU8(bc, 14);
|
|
2551
|
-
writeToRivetSqliteExecRequest(bc, x.val);
|
|
2552
|
-
break;
|
|
2553
|
-
}
|
|
2554
|
-
case "ToRivetSqliteExecuteRequest": {
|
|
2555
|
-
bare.writeU8(bc, 15);
|
|
2556
|
-
writeToRivetSqliteExecuteRequest(bc, x.val);
|
|
2557
|
-
break;
|
|
2558
|
-
}
|
|
2559
|
-
case "ToRivetSqliteExecuteWriteRequest": {
|
|
2560
|
-
bare.writeU8(bc, 16);
|
|
2561
|
-
writeToRivetSqliteExecuteWriteRequest(bc, x.val);
|
|
2562
|
-
break;
|
|
2563
|
-
}
|
|
2564
1886
|
}
|
|
2565
1887
|
}
|
|
2566
1888
|
function encodeToRivet(x, config) {
|
|
@@ -2619,11 +1941,11 @@ function writeToEnvoyCommands(bc, x) {
|
|
|
2619
1941
|
}
|
|
2620
1942
|
function readToEnvoyAckEvents(bc) {
|
|
2621
1943
|
return {
|
|
2622
|
-
lastEventCheckpoints:
|
|
1944
|
+
lastEventCheckpoints: read21(bc)
|
|
2623
1945
|
};
|
|
2624
1946
|
}
|
|
2625
1947
|
function writeToEnvoyAckEvents(bc, x) {
|
|
2626
|
-
|
|
1948
|
+
write21(bc, x.lastEventCheckpoints);
|
|
2627
1949
|
}
|
|
2628
1950
|
function readToEnvoyKvResponse(bc) {
|
|
2629
1951
|
return {
|
|
@@ -2645,16 +1967,6 @@ function writeToEnvoySqliteGetPagesResponse(bc, x) {
|
|
|
2645
1967
|
bare.writeU32(bc, x.requestId);
|
|
2646
1968
|
writeSqliteGetPagesResponse(bc, x.data);
|
|
2647
1969
|
}
|
|
2648
|
-
function readToEnvoySqliteGetPageRangeResponse(bc) {
|
|
2649
|
-
return {
|
|
2650
|
-
requestId: bare.readU32(bc),
|
|
2651
|
-
data: readSqliteGetPageRangeResponse(bc)
|
|
2652
|
-
};
|
|
2653
|
-
}
|
|
2654
|
-
function writeToEnvoySqliteGetPageRangeResponse(bc, x) {
|
|
2655
|
-
bare.writeU32(bc, x.requestId);
|
|
2656
|
-
writeSqliteGetPageRangeResponse(bc, x.data);
|
|
2657
|
-
}
|
|
2658
1970
|
function readToEnvoySqliteCommitResponse(bc) {
|
|
2659
1971
|
return {
|
|
2660
1972
|
requestId: bare.readU32(bc),
|
|
@@ -2695,46 +2007,6 @@ function writeToEnvoySqliteCommitFinalizeResponse(bc, x) {
|
|
|
2695
2007
|
bare.writeU32(bc, x.requestId);
|
|
2696
2008
|
writeSqliteCommitFinalizeResponse(bc, x.data);
|
|
2697
2009
|
}
|
|
2698
|
-
function readToEnvoySqlitePersistPreloadHintsResponse(bc) {
|
|
2699
|
-
return {
|
|
2700
|
-
requestId: bare.readU32(bc),
|
|
2701
|
-
data: readSqlitePersistPreloadHintsResponse(bc)
|
|
2702
|
-
};
|
|
2703
|
-
}
|
|
2704
|
-
function writeToEnvoySqlitePersistPreloadHintsResponse(bc, x) {
|
|
2705
|
-
bare.writeU32(bc, x.requestId);
|
|
2706
|
-
writeSqlitePersistPreloadHintsResponse(bc, x.data);
|
|
2707
|
-
}
|
|
2708
|
-
function readToEnvoySqliteExecResponse(bc) {
|
|
2709
|
-
return {
|
|
2710
|
-
requestId: bare.readU32(bc),
|
|
2711
|
-
data: readSqliteExecResponse(bc)
|
|
2712
|
-
};
|
|
2713
|
-
}
|
|
2714
|
-
function writeToEnvoySqliteExecResponse(bc, x) {
|
|
2715
|
-
bare.writeU32(bc, x.requestId);
|
|
2716
|
-
writeSqliteExecResponse(bc, x.data);
|
|
2717
|
-
}
|
|
2718
|
-
function readToEnvoySqliteExecuteResponse(bc) {
|
|
2719
|
-
return {
|
|
2720
|
-
requestId: bare.readU32(bc),
|
|
2721
|
-
data: readSqliteExecuteResponse(bc)
|
|
2722
|
-
};
|
|
2723
|
-
}
|
|
2724
|
-
function writeToEnvoySqliteExecuteResponse(bc, x) {
|
|
2725
|
-
bare.writeU32(bc, x.requestId);
|
|
2726
|
-
writeSqliteExecuteResponse(bc, x.data);
|
|
2727
|
-
}
|
|
2728
|
-
function readToEnvoySqliteExecuteWriteResponse(bc) {
|
|
2729
|
-
return {
|
|
2730
|
-
requestId: bare.readU32(bc),
|
|
2731
|
-
data: readSqliteExecuteWriteResponse(bc)
|
|
2732
|
-
};
|
|
2733
|
-
}
|
|
2734
|
-
function writeToEnvoySqliteExecuteWriteResponse(bc, x) {
|
|
2735
|
-
bare.writeU32(bc, x.requestId);
|
|
2736
|
-
writeSqliteExecuteWriteResponse(bc, x.data);
|
|
2737
|
-
}
|
|
2738
2010
|
function readToEnvoy(bc) {
|
|
2739
2011
|
const offset = bc.offset;
|
|
2740
2012
|
const tag = bare.readU8(bc);
|
|
@@ -2754,23 +2026,13 @@ function readToEnvoy(bc) {
|
|
|
2754
2026
|
case 6:
|
|
2755
2027
|
return { tag: "ToEnvoySqliteGetPagesResponse", val: readToEnvoySqliteGetPagesResponse(bc) };
|
|
2756
2028
|
case 7:
|
|
2757
|
-
return { tag: "ToEnvoySqliteGetPageRangeResponse", val: readToEnvoySqliteGetPageRangeResponse(bc) };
|
|
2758
|
-
case 8:
|
|
2759
2029
|
return { tag: "ToEnvoySqliteCommitResponse", val: readToEnvoySqliteCommitResponse(bc) };
|
|
2760
|
-
case
|
|
2030
|
+
case 8:
|
|
2761
2031
|
return { tag: "ToEnvoySqliteCommitStageBeginResponse", val: readToEnvoySqliteCommitStageBeginResponse(bc) };
|
|
2762
|
-
case
|
|
2032
|
+
case 9:
|
|
2763
2033
|
return { tag: "ToEnvoySqliteCommitStageResponse", val: readToEnvoySqliteCommitStageResponse(bc) };
|
|
2764
|
-
case
|
|
2034
|
+
case 10:
|
|
2765
2035
|
return { tag: "ToEnvoySqliteCommitFinalizeResponse", val: readToEnvoySqliteCommitFinalizeResponse(bc) };
|
|
2766
|
-
case 12:
|
|
2767
|
-
return { tag: "ToEnvoySqlitePersistPreloadHintsResponse", val: readToEnvoySqlitePersistPreloadHintsResponse(bc) };
|
|
2768
|
-
case 13:
|
|
2769
|
-
return { tag: "ToEnvoySqliteExecResponse", val: readToEnvoySqliteExecResponse(bc) };
|
|
2770
|
-
case 14:
|
|
2771
|
-
return { tag: "ToEnvoySqliteExecuteResponse", val: readToEnvoySqliteExecuteResponse(bc) };
|
|
2772
|
-
case 15:
|
|
2773
|
-
return { tag: "ToEnvoySqliteExecuteWriteResponse", val: readToEnvoySqliteExecuteWriteResponse(bc) };
|
|
2774
2036
|
default: {
|
|
2775
2037
|
bc.offset = offset;
|
|
2776
2038
|
throw new bare.BareError(offset, "invalid tag");
|
|
@@ -2814,51 +2076,26 @@ function writeToEnvoy(bc, x) {
|
|
|
2814
2076
|
writeToEnvoySqliteGetPagesResponse(bc, x.val);
|
|
2815
2077
|
break;
|
|
2816
2078
|
}
|
|
2817
|
-
case "ToEnvoySqliteGetPageRangeResponse": {
|
|
2818
|
-
bare.writeU8(bc, 7);
|
|
2819
|
-
writeToEnvoySqliteGetPageRangeResponse(bc, x.val);
|
|
2820
|
-
break;
|
|
2821
|
-
}
|
|
2822
2079
|
case "ToEnvoySqliteCommitResponse": {
|
|
2823
|
-
bare.writeU8(bc,
|
|
2080
|
+
bare.writeU8(bc, 7);
|
|
2824
2081
|
writeToEnvoySqliteCommitResponse(bc, x.val);
|
|
2825
2082
|
break;
|
|
2826
2083
|
}
|
|
2827
2084
|
case "ToEnvoySqliteCommitStageBeginResponse": {
|
|
2828
|
-
bare.writeU8(bc,
|
|
2085
|
+
bare.writeU8(bc, 8);
|
|
2829
2086
|
writeToEnvoySqliteCommitStageBeginResponse(bc, x.val);
|
|
2830
2087
|
break;
|
|
2831
2088
|
}
|
|
2832
2089
|
case "ToEnvoySqliteCommitStageResponse": {
|
|
2833
|
-
bare.writeU8(bc,
|
|
2090
|
+
bare.writeU8(bc, 9);
|
|
2834
2091
|
writeToEnvoySqliteCommitStageResponse(bc, x.val);
|
|
2835
2092
|
break;
|
|
2836
2093
|
}
|
|
2837
2094
|
case "ToEnvoySqliteCommitFinalizeResponse": {
|
|
2838
|
-
bare.writeU8(bc,
|
|
2095
|
+
bare.writeU8(bc, 10);
|
|
2839
2096
|
writeToEnvoySqliteCommitFinalizeResponse(bc, x.val);
|
|
2840
2097
|
break;
|
|
2841
2098
|
}
|
|
2842
|
-
case "ToEnvoySqlitePersistPreloadHintsResponse": {
|
|
2843
|
-
bare.writeU8(bc, 12);
|
|
2844
|
-
writeToEnvoySqlitePersistPreloadHintsResponse(bc, x.val);
|
|
2845
|
-
break;
|
|
2846
|
-
}
|
|
2847
|
-
case "ToEnvoySqliteExecResponse": {
|
|
2848
|
-
bare.writeU8(bc, 13);
|
|
2849
|
-
writeToEnvoySqliteExecResponse(bc, x.val);
|
|
2850
|
-
break;
|
|
2851
|
-
}
|
|
2852
|
-
case "ToEnvoySqliteExecuteResponse": {
|
|
2853
|
-
bare.writeU8(bc, 14);
|
|
2854
|
-
writeToEnvoySqliteExecuteResponse(bc, x.val);
|
|
2855
|
-
break;
|
|
2856
|
-
}
|
|
2857
|
-
case "ToEnvoySqliteExecuteWriteResponse": {
|
|
2858
|
-
bare.writeU8(bc, 15);
|
|
2859
|
-
writeToEnvoySqliteExecuteWriteResponse(bc, x.val);
|
|
2860
|
-
break;
|
|
2861
|
-
}
|
|
2862
2099
|
}
|
|
2863
2100
|
}
|
|
2864
2101
|
function encodeToEnvoy(x, config) {
|
|
@@ -3065,9 +2302,8 @@ function decodeToOutbound(bytes) {
|
|
|
3065
2302
|
function assert(condition, message) {
|
|
3066
2303
|
if (!condition) throw new Error(message ?? "Assertion failed");
|
|
3067
2304
|
}
|
|
3068
|
-
var VERSION =
|
|
2305
|
+
var VERSION = 2;
|
|
3069
2306
|
export {
|
|
3070
|
-
SqliteExecuteRoute,
|
|
3071
2307
|
StopActorReason,
|
|
3072
2308
|
StopCode,
|
|
3073
2309
|
VERSION,
|
|
@@ -3125,8 +2361,6 @@ export {
|
|
|
3125
2361
|
readPreloadedKvEntry,
|
|
3126
2362
|
readProtocolMetadata,
|
|
3127
2363
|
readRequestId,
|
|
3128
|
-
readSqliteBindParam,
|
|
3129
|
-
readSqliteColumnValue,
|
|
3130
2364
|
readSqliteCommitFinalizeOk,
|
|
3131
2365
|
readSqliteCommitFinalizeRequest,
|
|
3132
2366
|
readSqliteCommitFinalizeResponse,
|
|
@@ -3142,42 +2376,19 @@ export {
|
|
|
3142
2376
|
readSqliteCommitTooLarge,
|
|
3143
2377
|
readSqliteDirtyPage,
|
|
3144
2378
|
readSqliteErrorResponse,
|
|
3145
|
-
readSqliteExecOk,
|
|
3146
|
-
readSqliteExecRequest,
|
|
3147
|
-
readSqliteExecResponse,
|
|
3148
|
-
readSqliteExecuteOk,
|
|
3149
|
-
readSqliteExecuteRequest,
|
|
3150
|
-
readSqliteExecuteResponse,
|
|
3151
|
-
readSqliteExecuteResult,
|
|
3152
|
-
readSqliteExecuteRoute,
|
|
3153
|
-
readSqliteExecuteWriteOk,
|
|
3154
|
-
readSqliteExecuteWriteRequest,
|
|
3155
|
-
readSqliteExecuteWriteResponse,
|
|
3156
2379
|
readSqliteFenceMismatch,
|
|
3157
2380
|
readSqliteFetchedPage,
|
|
3158
2381
|
readSqliteGeneration,
|
|
3159
|
-
readSqliteGetPageRangeOk,
|
|
3160
|
-
readSqliteGetPageRangeRequest,
|
|
3161
|
-
readSqliteGetPageRangeResponse,
|
|
3162
2382
|
readSqliteGetPagesOk,
|
|
3163
2383
|
readSqliteGetPagesRequest,
|
|
3164
2384
|
readSqliteGetPagesResponse,
|
|
3165
2385
|
readSqliteMeta,
|
|
3166
2386
|
readSqlitePageBytes,
|
|
3167
|
-
readSqlitePersistPreloadHintsRequest,
|
|
3168
|
-
readSqlitePersistPreloadHintsResponse,
|
|
3169
2387
|
readSqlitePgno,
|
|
3170
|
-
readSqlitePreloadHintRange,
|
|
3171
|
-
readSqlitePreloadHints,
|
|
3172
|
-
readSqliteQueryResult,
|
|
3173
2388
|
readSqliteStageId,
|
|
3174
2389
|
readSqliteStageNotFound,
|
|
3175
2390
|
readSqliteStartupData,
|
|
3176
2391
|
readSqliteTxid,
|
|
3177
|
-
readSqliteValueBlob,
|
|
3178
|
-
readSqliteValueFloat,
|
|
3179
|
-
readSqliteValueInteger,
|
|
3180
|
-
readSqliteValueText,
|
|
3181
2392
|
readStopActorReason,
|
|
3182
2393
|
readStopCode,
|
|
3183
2394
|
readToEnvoy,
|
|
@@ -3194,12 +2405,7 @@ export {
|
|
|
3194
2405
|
readToEnvoySqliteCommitResponse,
|
|
3195
2406
|
readToEnvoySqliteCommitStageBeginResponse,
|
|
3196
2407
|
readToEnvoySqliteCommitStageResponse,
|
|
3197
|
-
readToEnvoySqliteExecResponse,
|
|
3198
|
-
readToEnvoySqliteExecuteResponse,
|
|
3199
|
-
readToEnvoySqliteExecuteWriteResponse,
|
|
3200
|
-
readToEnvoySqliteGetPageRangeResponse,
|
|
3201
2408
|
readToEnvoySqliteGetPagesResponse,
|
|
3202
|
-
readToEnvoySqlitePersistPreloadHintsResponse,
|
|
3203
2409
|
readToEnvoyTunnelMessage,
|
|
3204
2410
|
readToEnvoyTunnelMessageKind,
|
|
3205
2411
|
readToEnvoyWebSocketClose,
|
|
@@ -3221,12 +2427,7 @@ export {
|
|
|
3221
2427
|
readToRivetSqliteCommitRequest,
|
|
3222
2428
|
readToRivetSqliteCommitStageBeginRequest,
|
|
3223
2429
|
readToRivetSqliteCommitStageRequest,
|
|
3224
|
-
readToRivetSqliteExecRequest,
|
|
3225
|
-
readToRivetSqliteExecuteRequest,
|
|
3226
|
-
readToRivetSqliteExecuteWriteRequest,
|
|
3227
|
-
readToRivetSqliteGetPageRangeRequest,
|
|
3228
2430
|
readToRivetSqliteGetPagesRequest,
|
|
3229
|
-
readToRivetSqlitePersistPreloadHintsRequest,
|
|
3230
2431
|
readToRivetTunnelMessage,
|
|
3231
2432
|
readToRivetTunnelMessageKind,
|
|
3232
2433
|
readToRivetWebSocketClose,
|
|
@@ -3275,8 +2476,6 @@ export {
|
|
|
3275
2476
|
writePreloadedKvEntry,
|
|
3276
2477
|
writeProtocolMetadata,
|
|
3277
2478
|
writeRequestId,
|
|
3278
|
-
writeSqliteBindParam,
|
|
3279
|
-
writeSqliteColumnValue,
|
|
3280
2479
|
writeSqliteCommitFinalizeOk,
|
|
3281
2480
|
writeSqliteCommitFinalizeRequest,
|
|
3282
2481
|
writeSqliteCommitFinalizeResponse,
|
|
@@ -3292,42 +2491,19 @@ export {
|
|
|
3292
2491
|
writeSqliteCommitTooLarge,
|
|
3293
2492
|
writeSqliteDirtyPage,
|
|
3294
2493
|
writeSqliteErrorResponse,
|
|
3295
|
-
writeSqliteExecOk,
|
|
3296
|
-
writeSqliteExecRequest,
|
|
3297
|
-
writeSqliteExecResponse,
|
|
3298
|
-
writeSqliteExecuteOk,
|
|
3299
|
-
writeSqliteExecuteRequest,
|
|
3300
|
-
writeSqliteExecuteResponse,
|
|
3301
|
-
writeSqliteExecuteResult,
|
|
3302
|
-
writeSqliteExecuteRoute,
|
|
3303
|
-
writeSqliteExecuteWriteOk,
|
|
3304
|
-
writeSqliteExecuteWriteRequest,
|
|
3305
|
-
writeSqliteExecuteWriteResponse,
|
|
3306
2494
|
writeSqliteFenceMismatch,
|
|
3307
2495
|
writeSqliteFetchedPage,
|
|
3308
2496
|
writeSqliteGeneration,
|
|
3309
|
-
writeSqliteGetPageRangeOk,
|
|
3310
|
-
writeSqliteGetPageRangeRequest,
|
|
3311
|
-
writeSqliteGetPageRangeResponse,
|
|
3312
2497
|
writeSqliteGetPagesOk,
|
|
3313
2498
|
writeSqliteGetPagesRequest,
|
|
3314
2499
|
writeSqliteGetPagesResponse,
|
|
3315
2500
|
writeSqliteMeta,
|
|
3316
2501
|
writeSqlitePageBytes,
|
|
3317
|
-
writeSqlitePersistPreloadHintsRequest,
|
|
3318
|
-
writeSqlitePersistPreloadHintsResponse,
|
|
3319
2502
|
writeSqlitePgno,
|
|
3320
|
-
writeSqlitePreloadHintRange,
|
|
3321
|
-
writeSqlitePreloadHints,
|
|
3322
|
-
writeSqliteQueryResult,
|
|
3323
2503
|
writeSqliteStageId,
|
|
3324
2504
|
writeSqliteStageNotFound,
|
|
3325
2505
|
writeSqliteStartupData,
|
|
3326
2506
|
writeSqliteTxid,
|
|
3327
|
-
writeSqliteValueBlob,
|
|
3328
|
-
writeSqliteValueFloat,
|
|
3329
|
-
writeSqliteValueInteger,
|
|
3330
|
-
writeSqliteValueText,
|
|
3331
2507
|
writeStopActorReason,
|
|
3332
2508
|
writeStopCode,
|
|
3333
2509
|
writeToEnvoy,
|
|
@@ -3344,12 +2520,7 @@ export {
|
|
|
3344
2520
|
writeToEnvoySqliteCommitResponse,
|
|
3345
2521
|
writeToEnvoySqliteCommitStageBeginResponse,
|
|
3346
2522
|
writeToEnvoySqliteCommitStageResponse,
|
|
3347
|
-
writeToEnvoySqliteExecResponse,
|
|
3348
|
-
writeToEnvoySqliteExecuteResponse,
|
|
3349
|
-
writeToEnvoySqliteExecuteWriteResponse,
|
|
3350
|
-
writeToEnvoySqliteGetPageRangeResponse,
|
|
3351
2523
|
writeToEnvoySqliteGetPagesResponse,
|
|
3352
|
-
writeToEnvoySqlitePersistPreloadHintsResponse,
|
|
3353
2524
|
writeToEnvoyTunnelMessage,
|
|
3354
2525
|
writeToEnvoyTunnelMessageKind,
|
|
3355
2526
|
writeToEnvoyWebSocketClose,
|
|
@@ -3371,12 +2542,7 @@ export {
|
|
|
3371
2542
|
writeToRivetSqliteCommitRequest,
|
|
3372
2543
|
writeToRivetSqliteCommitStageBeginRequest,
|
|
3373
2544
|
writeToRivetSqliteCommitStageRequest,
|
|
3374
|
-
writeToRivetSqliteExecRequest,
|
|
3375
|
-
writeToRivetSqliteExecuteRequest,
|
|
3376
|
-
writeToRivetSqliteExecuteWriteRequest,
|
|
3377
|
-
writeToRivetSqliteGetPageRangeRequest,
|
|
3378
2545
|
writeToRivetSqliteGetPagesRequest,
|
|
3379
|
-
writeToRivetSqlitePersistPreloadHintsRequest,
|
|
3380
2546
|
writeToRivetTunnelMessage,
|
|
3381
2547
|
writeToRivetTunnelMessageKind,
|
|
3382
2548
|
writeToRivetWebSocketClose,
|