@rivetkit/engine-envoy-protocol 0.0.0-pr.4864.06991fa → 0.0.0-pr.4866.1b9199c
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 -98
- package/dist/index.js +85 -321
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -216,28 +216,12 @@ type SqliteGetPagesRequest = {
|
|
|
216
216
|
};
|
|
217
217
|
declare function readSqliteGetPagesRequest(bc: bare.ByteCursor): SqliteGetPagesRequest;
|
|
218
218
|
declare function writeSqliteGetPagesRequest(bc: bare.ByteCursor, x: SqliteGetPagesRequest): void;
|
|
219
|
-
type SqliteGetPageRangeRequest = {
|
|
220
|
-
readonly actorId: Id;
|
|
221
|
-
readonly generation: SqliteGeneration;
|
|
222
|
-
readonly startPgno: SqlitePgno;
|
|
223
|
-
readonly maxPages: u32;
|
|
224
|
-
readonly maxBytes: u64;
|
|
225
|
-
};
|
|
226
|
-
declare function readSqliteGetPageRangeRequest(bc: bare.ByteCursor): SqliteGetPageRangeRequest;
|
|
227
|
-
declare function writeSqliteGetPageRangeRequest(bc: bare.ByteCursor, x: SqliteGetPageRangeRequest): void;
|
|
228
219
|
type SqliteGetPagesOk = {
|
|
229
220
|
readonly pages: readonly SqliteFetchedPage[];
|
|
230
221
|
readonly meta: SqliteMeta;
|
|
231
222
|
};
|
|
232
223
|
declare function readSqliteGetPagesOk(bc: bare.ByteCursor): SqliteGetPagesOk;
|
|
233
224
|
declare function writeSqliteGetPagesOk(bc: bare.ByteCursor, x: SqliteGetPagesOk): void;
|
|
234
|
-
type SqliteGetPageRangeOk = {
|
|
235
|
-
readonly startPgno: SqlitePgno;
|
|
236
|
-
readonly pages: readonly SqliteFetchedPage[];
|
|
237
|
-
readonly meta: SqliteMeta;
|
|
238
|
-
};
|
|
239
|
-
declare function readSqliteGetPageRangeOk(bc: bare.ByteCursor): SqliteGetPageRangeOk;
|
|
240
|
-
declare function writeSqliteGetPageRangeOk(bc: bare.ByteCursor, x: SqliteGetPageRangeOk): void;
|
|
241
225
|
type SqliteErrorResponse = {
|
|
242
226
|
readonly message: string;
|
|
243
227
|
};
|
|
@@ -255,18 +239,6 @@ type SqliteGetPagesResponse = {
|
|
|
255
239
|
};
|
|
256
240
|
declare function readSqliteGetPagesResponse(bc: bare.ByteCursor): SqliteGetPagesResponse;
|
|
257
241
|
declare function writeSqliteGetPagesResponse(bc: bare.ByteCursor, x: SqliteGetPagesResponse): void;
|
|
258
|
-
type SqliteGetPageRangeResponse = {
|
|
259
|
-
readonly tag: "SqliteGetPageRangeOk";
|
|
260
|
-
readonly val: SqliteGetPageRangeOk;
|
|
261
|
-
} | {
|
|
262
|
-
readonly tag: "SqliteFenceMismatch";
|
|
263
|
-
readonly val: SqliteFenceMismatch;
|
|
264
|
-
} | {
|
|
265
|
-
readonly tag: "SqliteErrorResponse";
|
|
266
|
-
readonly val: SqliteErrorResponse;
|
|
267
|
-
};
|
|
268
|
-
declare function readSqliteGetPageRangeResponse(bc: bare.ByteCursor): SqliteGetPageRangeResponse;
|
|
269
|
-
declare function writeSqliteGetPageRangeResponse(bc: bare.ByteCursor, x: SqliteGetPageRangeResponse): void;
|
|
270
242
|
type SqliteCommitRequest = {
|
|
271
243
|
readonly actorId: Id;
|
|
272
244
|
readonly generation: SqliteGeneration;
|
|
@@ -388,38 +360,6 @@ type SqliteCommitFinalizeResponse = {
|
|
|
388
360
|
};
|
|
389
361
|
declare function readSqliteCommitFinalizeResponse(bc: bare.ByteCursor): SqliteCommitFinalizeResponse;
|
|
390
362
|
declare function writeSqliteCommitFinalizeResponse(bc: bare.ByteCursor, x: SqliteCommitFinalizeResponse): void;
|
|
391
|
-
type SqlitePreloadHintRange = {
|
|
392
|
-
readonly startPgno: SqlitePgno;
|
|
393
|
-
readonly pageCount: u32;
|
|
394
|
-
};
|
|
395
|
-
declare function readSqlitePreloadHintRange(bc: bare.ByteCursor): SqlitePreloadHintRange;
|
|
396
|
-
declare function writeSqlitePreloadHintRange(bc: bare.ByteCursor, x: SqlitePreloadHintRange): void;
|
|
397
|
-
type SqlitePreloadHints = {
|
|
398
|
-
readonly pgnos: readonly SqlitePgno[];
|
|
399
|
-
readonly ranges: readonly SqlitePreloadHintRange[];
|
|
400
|
-
};
|
|
401
|
-
declare function readSqlitePreloadHints(bc: bare.ByteCursor): SqlitePreloadHints;
|
|
402
|
-
declare function writeSqlitePreloadHints(bc: bare.ByteCursor, x: SqlitePreloadHints): void;
|
|
403
|
-
type SqlitePersistPreloadHintsRequest = {
|
|
404
|
-
readonly actorId: Id;
|
|
405
|
-
readonly generation: SqliteGeneration;
|
|
406
|
-
readonly hints: SqlitePreloadHints;
|
|
407
|
-
};
|
|
408
|
-
declare function readSqlitePersistPreloadHintsRequest(bc: bare.ByteCursor): SqlitePersistPreloadHintsRequest;
|
|
409
|
-
declare function writeSqlitePersistPreloadHintsRequest(bc: bare.ByteCursor, x: SqlitePersistPreloadHintsRequest): void;
|
|
410
|
-
type SqlitePersistPreloadHintsOk = null;
|
|
411
|
-
type SqlitePersistPreloadHintsResponse = {
|
|
412
|
-
readonly tag: "SqlitePersistPreloadHintsOk";
|
|
413
|
-
readonly val: SqlitePersistPreloadHintsOk;
|
|
414
|
-
} | {
|
|
415
|
-
readonly tag: "SqliteFenceMismatch";
|
|
416
|
-
readonly val: SqliteFenceMismatch;
|
|
417
|
-
} | {
|
|
418
|
-
readonly tag: "SqliteErrorResponse";
|
|
419
|
-
readonly val: SqliteErrorResponse;
|
|
420
|
-
};
|
|
421
|
-
declare function readSqlitePersistPreloadHintsResponse(bc: bare.ByteCursor): SqlitePersistPreloadHintsResponse;
|
|
422
|
-
declare function writeSqlitePersistPreloadHintsResponse(bc: bare.ByteCursor, x: SqlitePersistPreloadHintsResponse): void;
|
|
423
363
|
type SqliteStartupData = {
|
|
424
364
|
readonly generation: SqliteGeneration;
|
|
425
365
|
readonly meta: SqliteMeta;
|
|
@@ -812,12 +752,6 @@ type ToRivetSqliteGetPagesRequest = {
|
|
|
812
752
|
};
|
|
813
753
|
declare function readToRivetSqliteGetPagesRequest(bc: bare.ByteCursor): ToRivetSqliteGetPagesRequest;
|
|
814
754
|
declare function writeToRivetSqliteGetPagesRequest(bc: bare.ByteCursor, x: ToRivetSqliteGetPagesRequest): void;
|
|
815
|
-
type ToRivetSqliteGetPageRangeRequest = {
|
|
816
|
-
readonly requestId: u32;
|
|
817
|
-
readonly data: SqliteGetPageRangeRequest;
|
|
818
|
-
};
|
|
819
|
-
declare function readToRivetSqliteGetPageRangeRequest(bc: bare.ByteCursor): ToRivetSqliteGetPageRangeRequest;
|
|
820
|
-
declare function writeToRivetSqliteGetPageRangeRequest(bc: bare.ByteCursor, x: ToRivetSqliteGetPageRangeRequest): void;
|
|
821
755
|
type ToRivetSqliteCommitRequest = {
|
|
822
756
|
readonly requestId: u32;
|
|
823
757
|
readonly data: SqliteCommitRequest;
|
|
@@ -842,12 +776,6 @@ type ToRivetSqliteCommitFinalizeRequest = {
|
|
|
842
776
|
};
|
|
843
777
|
declare function readToRivetSqliteCommitFinalizeRequest(bc: bare.ByteCursor): ToRivetSqliteCommitFinalizeRequest;
|
|
844
778
|
declare function writeToRivetSqliteCommitFinalizeRequest(bc: bare.ByteCursor, x: ToRivetSqliteCommitFinalizeRequest): void;
|
|
845
|
-
type ToRivetSqlitePersistPreloadHintsRequest = {
|
|
846
|
-
readonly requestId: u32;
|
|
847
|
-
readonly data: SqlitePersistPreloadHintsRequest;
|
|
848
|
-
};
|
|
849
|
-
declare function readToRivetSqlitePersistPreloadHintsRequest(bc: bare.ByteCursor): ToRivetSqlitePersistPreloadHintsRequest;
|
|
850
|
-
declare function writeToRivetSqlitePersistPreloadHintsRequest(bc: bare.ByteCursor, x: ToRivetSqlitePersistPreloadHintsRequest): void;
|
|
851
779
|
type ToRivet = {
|
|
852
780
|
readonly tag: "ToRivetMetadata";
|
|
853
781
|
readonly val: ToRivetMetadata;
|
|
@@ -872,9 +800,6 @@ type ToRivet = {
|
|
|
872
800
|
} | {
|
|
873
801
|
readonly tag: "ToRivetSqliteGetPagesRequest";
|
|
874
802
|
readonly val: ToRivetSqliteGetPagesRequest;
|
|
875
|
-
} | {
|
|
876
|
-
readonly tag: "ToRivetSqliteGetPageRangeRequest";
|
|
877
|
-
readonly val: ToRivetSqliteGetPageRangeRequest;
|
|
878
803
|
} | {
|
|
879
804
|
readonly tag: "ToRivetSqliteCommitRequest";
|
|
880
805
|
readonly val: ToRivetSqliteCommitRequest;
|
|
@@ -887,9 +812,6 @@ type ToRivet = {
|
|
|
887
812
|
} | {
|
|
888
813
|
readonly tag: "ToRivetSqliteCommitFinalizeRequest";
|
|
889
814
|
readonly val: ToRivetSqliteCommitFinalizeRequest;
|
|
890
|
-
} | {
|
|
891
|
-
readonly tag: "ToRivetSqlitePersistPreloadHintsRequest";
|
|
892
|
-
readonly val: ToRivetSqlitePersistPreloadHintsRequest;
|
|
893
815
|
};
|
|
894
816
|
declare function readToRivet(bc: bare.ByteCursor): ToRivet;
|
|
895
817
|
declare function writeToRivet(bc: bare.ByteCursor, x: ToRivet): void;
|
|
@@ -930,12 +852,6 @@ type ToEnvoySqliteGetPagesResponse = {
|
|
|
930
852
|
};
|
|
931
853
|
declare function readToEnvoySqliteGetPagesResponse(bc: bare.ByteCursor): ToEnvoySqliteGetPagesResponse;
|
|
932
854
|
declare function writeToEnvoySqliteGetPagesResponse(bc: bare.ByteCursor, x: ToEnvoySqliteGetPagesResponse): void;
|
|
933
|
-
type ToEnvoySqliteGetPageRangeResponse = {
|
|
934
|
-
readonly requestId: u32;
|
|
935
|
-
readonly data: SqliteGetPageRangeResponse;
|
|
936
|
-
};
|
|
937
|
-
declare function readToEnvoySqliteGetPageRangeResponse(bc: bare.ByteCursor): ToEnvoySqliteGetPageRangeResponse;
|
|
938
|
-
declare function writeToEnvoySqliteGetPageRangeResponse(bc: bare.ByteCursor, x: ToEnvoySqliteGetPageRangeResponse): void;
|
|
939
855
|
type ToEnvoySqliteCommitResponse = {
|
|
940
856
|
readonly requestId: u32;
|
|
941
857
|
readonly data: SqliteCommitResponse;
|
|
@@ -960,12 +876,6 @@ type ToEnvoySqliteCommitFinalizeResponse = {
|
|
|
960
876
|
};
|
|
961
877
|
declare function readToEnvoySqliteCommitFinalizeResponse(bc: bare.ByteCursor): ToEnvoySqliteCommitFinalizeResponse;
|
|
962
878
|
declare function writeToEnvoySqliteCommitFinalizeResponse(bc: bare.ByteCursor, x: ToEnvoySqliteCommitFinalizeResponse): void;
|
|
963
|
-
type ToEnvoySqlitePersistPreloadHintsResponse = {
|
|
964
|
-
readonly requestId: u32;
|
|
965
|
-
readonly data: SqlitePersistPreloadHintsResponse;
|
|
966
|
-
};
|
|
967
|
-
declare function readToEnvoySqlitePersistPreloadHintsResponse(bc: bare.ByteCursor): ToEnvoySqlitePersistPreloadHintsResponse;
|
|
968
|
-
declare function writeToEnvoySqlitePersistPreloadHintsResponse(bc: bare.ByteCursor, x: ToEnvoySqlitePersistPreloadHintsResponse): void;
|
|
969
879
|
type ToEnvoy = {
|
|
970
880
|
readonly tag: "ToEnvoyInit";
|
|
971
881
|
readonly val: ToEnvoyInit;
|
|
@@ -987,9 +897,6 @@ type ToEnvoy = {
|
|
|
987
897
|
} | {
|
|
988
898
|
readonly tag: "ToEnvoySqliteGetPagesResponse";
|
|
989
899
|
readonly val: ToEnvoySqliteGetPagesResponse;
|
|
990
|
-
} | {
|
|
991
|
-
readonly tag: "ToEnvoySqliteGetPageRangeResponse";
|
|
992
|
-
readonly val: ToEnvoySqliteGetPageRangeResponse;
|
|
993
900
|
} | {
|
|
994
901
|
readonly tag: "ToEnvoySqliteCommitResponse";
|
|
995
902
|
readonly val: ToEnvoySqliteCommitResponse;
|
|
@@ -1002,9 +909,6 @@ type ToEnvoy = {
|
|
|
1002
909
|
} | {
|
|
1003
910
|
readonly tag: "ToEnvoySqliteCommitFinalizeResponse";
|
|
1004
911
|
readonly val: ToEnvoySqliteCommitFinalizeResponse;
|
|
1005
|
-
} | {
|
|
1006
|
-
readonly tag: "ToEnvoySqlitePersistPreloadHintsResponse";
|
|
1007
|
-
readonly val: ToEnvoySqlitePersistPreloadHintsResponse;
|
|
1008
912
|
};
|
|
1009
913
|
declare function readToEnvoy(bc: bare.ByteCursor): ToEnvoy;
|
|
1010
914
|
declare function writeToEnvoy(bc: bare.ByteCursor, x: ToEnvoy): void;
|
|
@@ -1080,6 +984,6 @@ declare function readToOutbound(bc: bare.ByteCursor): ToOutbound;
|
|
|
1080
984
|
declare function writeToOutbound(bc: bare.ByteCursor, x: ToOutbound): void;
|
|
1081
985
|
declare function encodeToOutbound(x: ToOutbound, config?: Partial<bare.Config>): Uint8Array;
|
|
1082
986
|
declare function decodeToOutbound(bytes: Uint8Array): ToOutbound;
|
|
1083
|
-
declare const VERSION =
|
|
987
|
+
declare const VERSION = 2;
|
|
1084
988
|
|
|
1085
|
-
export { type ActorCheckpoint, type ActorCommandKeyData, type ActorConfig, type ActorIntent, type ActorIntentSleep, type ActorIntentStop, type ActorName, type ActorState, type ActorStateRunning, type ActorStateStopped, type Command, type CommandStartActor, type CommandStopActor, type CommandWrapper, type Event, type EventActorIntent, type EventActorSetAlarm, type EventActorStateUpdate, type EventWrapper, type GatewayId, type HibernatingRequest, type Id, type Json, type KvDeleteRangeRequest, type KvDeleteRequest, type KvDeleteResponse, type KvDropRequest, type KvDropResponse, type KvErrorResponse, type KvGetRequest, type KvGetResponse, type KvKey, type KvListAllQuery, type KvListPrefixQuery, type KvListQuery, type KvListRangeQuery, type KvListRequest, type KvListResponse, type KvMetadata, type KvPutRequest, type KvPutResponse, type KvRequestData, type KvResponseData, type KvValue, type MessageId, type MessageIndex, type PreloadedKv, type PreloadedKvEntry, type ProtocolMetadata, type RequestId, type SqliteCommitFinalizeOk, type SqliteCommitFinalizeRequest, type SqliteCommitFinalizeResponse, type SqliteCommitOk, type SqliteCommitRequest, type SqliteCommitResponse, type SqliteCommitStageBeginOk, type SqliteCommitStageBeginRequest, type SqliteCommitStageBeginResponse, type SqliteCommitStageOk, type SqliteCommitStageRequest, type SqliteCommitStageResponse, type SqliteCommitTooLarge, type SqliteDirtyPage, type SqliteErrorResponse, type SqliteFenceMismatch, type SqliteFetchedPage, type SqliteGeneration, type
|
|
989
|
+
export { type ActorCheckpoint, type ActorCommandKeyData, type ActorConfig, type ActorIntent, type ActorIntentSleep, type ActorIntentStop, type ActorName, type ActorState, type ActorStateRunning, type ActorStateStopped, type Command, type CommandStartActor, type CommandStopActor, type CommandWrapper, type Event, type EventActorIntent, type EventActorSetAlarm, type EventActorStateUpdate, type EventWrapper, type GatewayId, type HibernatingRequest, type Id, type Json, type KvDeleteRangeRequest, type KvDeleteRequest, type KvDeleteResponse, type KvDropRequest, type KvDropResponse, type KvErrorResponse, type KvGetRequest, type KvGetResponse, type KvKey, type KvListAllQuery, type KvListPrefixQuery, type KvListQuery, type KvListRangeQuery, type KvListRequest, type KvListResponse, type KvMetadata, type KvPutRequest, type KvPutResponse, type KvRequestData, type KvResponseData, type KvValue, type MessageId, type MessageIndex, type PreloadedKv, type PreloadedKvEntry, type ProtocolMetadata, type RequestId, type SqliteCommitFinalizeOk, type SqliteCommitFinalizeRequest, type SqliteCommitFinalizeResponse, type SqliteCommitOk, type SqliteCommitRequest, type SqliteCommitResponse, type SqliteCommitStageBeginOk, type SqliteCommitStageBeginRequest, type SqliteCommitStageBeginResponse, type SqliteCommitStageOk, type SqliteCommitStageRequest, type SqliteCommitStageResponse, type SqliteCommitTooLarge, type SqliteDirtyPage, type SqliteErrorResponse, type SqliteFenceMismatch, type SqliteFetchedPage, type SqliteGeneration, type SqliteGetPagesOk, type SqliteGetPagesRequest, type SqliteGetPagesResponse, type SqliteMeta, type SqlitePageBytes, type SqlitePgno, type SqliteStageId, type SqliteStageNotFound, type SqliteStartupData, type SqliteTxid, StopActorReason, StopCode, type ToEnvoy, type ToEnvoyAckEvents, type ToEnvoyCommands, type ToEnvoyConn, type ToEnvoyConnClose, type ToEnvoyConnPing, type ToEnvoyInit, type ToEnvoyKvResponse, type ToEnvoyPing, type ToEnvoyRequestAbort, type ToEnvoyRequestChunk, type ToEnvoyRequestStart, type ToEnvoySqliteCommitFinalizeResponse, type ToEnvoySqliteCommitResponse, type ToEnvoySqliteCommitStageBeginResponse, type ToEnvoySqliteCommitStageResponse, type ToEnvoySqliteGetPagesResponse, type ToEnvoyTunnelMessage, type ToEnvoyTunnelMessageKind, type ToEnvoyWebSocketClose, type ToEnvoyWebSocketMessage, type ToEnvoyWebSocketOpen, type ToGateway, type ToGatewayPong, type ToOutbound, type ToOutboundActorStart, type ToRivet, type ToRivetAckCommands, type ToRivetEvents, type ToRivetKvRequest, type ToRivetMetadata, type ToRivetPong, type ToRivetResponseAbort, type ToRivetResponseChunk, type ToRivetResponseStart, type ToRivetSqliteCommitFinalizeRequest, type ToRivetSqliteCommitRequest, type ToRivetSqliteCommitStageBeginRequest, type ToRivetSqliteCommitStageRequest, type ToRivetSqliteGetPagesRequest, type ToRivetStopping, type ToRivetTunnelMessage, type ToRivetTunnelMessageKind, type ToRivetWebSocketClose, type ToRivetWebSocketMessage, type ToRivetWebSocketMessageAck, type ToRivetWebSocketOpen, VERSION, decodeActorCommandKeyData, decodeToEnvoy, decodeToEnvoyConn, decodeToGateway, decodeToOutbound, decodeToRivet, encodeActorCommandKeyData, encodeToEnvoy, encodeToEnvoyConn, encodeToGateway, encodeToOutbound, encodeToRivet, type i64, readActorCheckpoint, readActorCommandKeyData, readActorConfig, readActorIntent, readActorName, readActorState, readActorStateStopped, readCommand, readCommandStartActor, readCommandStopActor, readCommandWrapper, readEvent, readEventActorIntent, readEventActorSetAlarm, readEventActorStateUpdate, readEventWrapper, readGatewayId, readHibernatingRequest, readId, readJson, readKvDeleteRangeRequest, readKvDeleteRequest, readKvErrorResponse, readKvGetRequest, readKvGetResponse, readKvKey, readKvListPrefixQuery, readKvListQuery, readKvListRangeQuery, readKvListRequest, readKvListResponse, readKvMetadata, readKvPutRequest, readKvRequestData, readKvResponseData, readKvValue, readMessageId, readMessageIndex, readPreloadedKv, readPreloadedKvEntry, readProtocolMetadata, readRequestId, readSqliteCommitFinalizeOk, readSqliteCommitFinalizeRequest, readSqliteCommitFinalizeResponse, readSqliteCommitOk, readSqliteCommitRequest, readSqliteCommitResponse, readSqliteCommitStageBeginOk, readSqliteCommitStageBeginRequest, readSqliteCommitStageBeginResponse, readSqliteCommitStageOk, readSqliteCommitStageRequest, readSqliteCommitStageResponse, readSqliteCommitTooLarge, readSqliteDirtyPage, readSqliteErrorResponse, readSqliteFenceMismatch, readSqliteFetchedPage, readSqliteGeneration, readSqliteGetPagesOk, readSqliteGetPagesRequest, readSqliteGetPagesResponse, readSqliteMeta, readSqlitePageBytes, readSqlitePgno, readSqliteStageId, readSqliteStageNotFound, readSqliteStartupData, readSqliteTxid, readStopActorReason, readStopCode, readToEnvoy, readToEnvoyAckEvents, readToEnvoyCommands, readToEnvoyConn, readToEnvoyConnPing, readToEnvoyInit, readToEnvoyKvResponse, readToEnvoyPing, readToEnvoyRequestChunk, readToEnvoyRequestStart, readToEnvoySqliteCommitFinalizeResponse, readToEnvoySqliteCommitResponse, readToEnvoySqliteCommitStageBeginResponse, readToEnvoySqliteCommitStageResponse, readToEnvoySqliteGetPagesResponse, readToEnvoyTunnelMessage, readToEnvoyTunnelMessageKind, readToEnvoyWebSocketClose, readToEnvoyWebSocketMessage, readToEnvoyWebSocketOpen, readToGateway, readToGatewayPong, readToOutbound, readToOutboundActorStart, readToRivet, readToRivetAckCommands, readToRivetEvents, readToRivetKvRequest, readToRivetMetadata, readToRivetPong, readToRivetResponseChunk, readToRivetResponseStart, readToRivetSqliteCommitFinalizeRequest, readToRivetSqliteCommitRequest, readToRivetSqliteCommitStageBeginRequest, readToRivetSqliteCommitStageRequest, readToRivetSqliteGetPagesRequest, readToRivetTunnelMessage, readToRivetTunnelMessageKind, readToRivetWebSocketClose, readToRivetWebSocketMessage, readToRivetWebSocketMessageAck, readToRivetWebSocketOpen, type u16, type u32, type u64, writeActorCheckpoint, writeActorCommandKeyData, writeActorConfig, writeActorIntent, writeActorName, writeActorState, writeActorStateStopped, writeCommand, writeCommandStartActor, writeCommandStopActor, writeCommandWrapper, writeEvent, writeEventActorIntent, writeEventActorSetAlarm, writeEventActorStateUpdate, writeEventWrapper, writeGatewayId, writeHibernatingRequest, writeId, writeJson, writeKvDeleteRangeRequest, writeKvDeleteRequest, writeKvErrorResponse, writeKvGetRequest, writeKvGetResponse, writeKvKey, writeKvListPrefixQuery, writeKvListQuery, writeKvListRangeQuery, writeKvListRequest, writeKvListResponse, writeKvMetadata, writeKvPutRequest, writeKvRequestData, writeKvResponseData, writeKvValue, writeMessageId, writeMessageIndex, writePreloadedKv, writePreloadedKvEntry, writeProtocolMetadata, writeRequestId, writeSqliteCommitFinalizeOk, writeSqliteCommitFinalizeRequest, writeSqliteCommitFinalizeResponse, writeSqliteCommitOk, writeSqliteCommitRequest, writeSqliteCommitResponse, writeSqliteCommitStageBeginOk, writeSqliteCommitStageBeginRequest, writeSqliteCommitStageBeginResponse, writeSqliteCommitStageOk, writeSqliteCommitStageRequest, writeSqliteCommitStageResponse, writeSqliteCommitTooLarge, writeSqliteDirtyPage, writeSqliteErrorResponse, writeSqliteFenceMismatch, writeSqliteFetchedPage, writeSqliteGeneration, writeSqliteGetPagesOk, writeSqliteGetPagesRequest, writeSqliteGetPagesResponse, writeSqliteMeta, writeSqlitePageBytes, writeSqlitePgno, writeSqliteStageId, writeSqliteStageNotFound, writeSqliteStartupData, writeSqliteTxid, writeStopActorReason, writeStopCode, writeToEnvoy, writeToEnvoyAckEvents, writeToEnvoyCommands, writeToEnvoyConn, writeToEnvoyConnPing, writeToEnvoyInit, writeToEnvoyKvResponse, writeToEnvoyPing, writeToEnvoyRequestChunk, writeToEnvoyRequestStart, writeToEnvoySqliteCommitFinalizeResponse, writeToEnvoySqliteCommitResponse, writeToEnvoySqliteCommitStageBeginResponse, writeToEnvoySqliteCommitStageResponse, writeToEnvoySqliteGetPagesResponse, writeToEnvoyTunnelMessage, writeToEnvoyTunnelMessageKind, writeToEnvoyWebSocketClose, writeToEnvoyWebSocketMessage, writeToEnvoyWebSocketOpen, writeToGateway, writeToGatewayPong, writeToOutbound, writeToOutboundActorStart, writeToRivet, writeToRivetAckCommands, writeToRivetEvents, writeToRivetKvRequest, writeToRivetMetadata, writeToRivetPong, writeToRivetResponseChunk, writeToRivetResponseStart, writeToRivetSqliteCommitFinalizeRequest, writeToRivetSqliteCommitRequest, writeToRivetSqliteCommitStageBeginRequest, writeToRivetSqliteCommitStageRequest, writeToRivetSqliteGetPagesRequest, writeToRivetTunnelMessage, writeToRivetTunnelMessageKind, writeToRivetWebSocketClose, writeToRivetWebSocketMessage, writeToRivetWebSocketMessageAck, writeToRivetWebSocketOpen };
|
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) {
|
|
@@ -902,89 +839,6 @@ function writeSqliteCommitFinalizeResponse(bc, x) {
|
|
|
902
839
|
}
|
|
903
840
|
}
|
|
904
841
|
}
|
|
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
842
|
function readSqliteStartupData(bc) {
|
|
989
843
|
return {
|
|
990
844
|
generation: readSqliteGeneration(bc),
|
|
@@ -1036,19 +890,19 @@ function readActorName(bc) {
|
|
|
1036
890
|
function writeActorName(bc, x) {
|
|
1037
891
|
writeJson(bc, x.metadata);
|
|
1038
892
|
}
|
|
1039
|
-
function
|
|
893
|
+
function read9(bc) {
|
|
1040
894
|
return bare.readBool(bc) ? bare.readString(bc) : null;
|
|
1041
895
|
}
|
|
1042
|
-
function
|
|
896
|
+
function write9(bc, x) {
|
|
1043
897
|
bare.writeBool(bc, x != null);
|
|
1044
898
|
if (x != null) {
|
|
1045
899
|
bare.writeString(bc, x);
|
|
1046
900
|
}
|
|
1047
901
|
}
|
|
1048
|
-
function
|
|
902
|
+
function read10(bc) {
|
|
1049
903
|
return bare.readBool(bc) ? bare.readData(bc) : null;
|
|
1050
904
|
}
|
|
1051
|
-
function
|
|
905
|
+
function write10(bc, x) {
|
|
1052
906
|
bare.writeBool(bc, x != null);
|
|
1053
907
|
if (x != null) {
|
|
1054
908
|
bare.writeData(bc, x);
|
|
@@ -1057,16 +911,16 @@ function write11(bc, x) {
|
|
|
1057
911
|
function readActorConfig(bc) {
|
|
1058
912
|
return {
|
|
1059
913
|
name: bare.readString(bc),
|
|
1060
|
-
key:
|
|
914
|
+
key: read9(bc),
|
|
1061
915
|
createTs: bare.readI64(bc),
|
|
1062
|
-
input:
|
|
916
|
+
input: read10(bc)
|
|
1063
917
|
};
|
|
1064
918
|
}
|
|
1065
919
|
function writeActorConfig(bc, x) {
|
|
1066
920
|
bare.writeString(bc, x.name);
|
|
1067
|
-
|
|
921
|
+
write9(bc, x.key);
|
|
1068
922
|
bare.writeI64(bc, x.createTs);
|
|
1069
|
-
|
|
923
|
+
write10(bc, x.input);
|
|
1070
924
|
}
|
|
1071
925
|
function readActorCheckpoint(bc) {
|
|
1072
926
|
return {
|
|
@@ -1109,12 +963,12 @@ function writeActorIntent(bc, x) {
|
|
|
1109
963
|
function readActorStateStopped(bc) {
|
|
1110
964
|
return {
|
|
1111
965
|
code: readStopCode(bc),
|
|
1112
|
-
message:
|
|
966
|
+
message: read9(bc)
|
|
1113
967
|
};
|
|
1114
968
|
}
|
|
1115
969
|
function writeActorStateStopped(bc, x) {
|
|
1116
970
|
writeStopCode(bc, x.code);
|
|
1117
|
-
|
|
971
|
+
write9(bc, x.message);
|
|
1118
972
|
}
|
|
1119
973
|
function readActorState(bc) {
|
|
1120
974
|
const offset = bc.offset;
|
|
@@ -1159,10 +1013,10 @@ function readEventActorStateUpdate(bc) {
|
|
|
1159
1013
|
function writeEventActorStateUpdate(bc, x) {
|
|
1160
1014
|
writeActorState(bc, x.state);
|
|
1161
1015
|
}
|
|
1162
|
-
function
|
|
1016
|
+
function read11(bc) {
|
|
1163
1017
|
return bare.readBool(bc) ? bare.readI64(bc) : null;
|
|
1164
1018
|
}
|
|
1165
|
-
function
|
|
1019
|
+
function write11(bc, x) {
|
|
1166
1020
|
bare.writeBool(bc, x != null);
|
|
1167
1021
|
if (x != null) {
|
|
1168
1022
|
bare.writeI64(bc, x);
|
|
@@ -1170,11 +1024,11 @@ function write12(bc, x) {
|
|
|
1170
1024
|
}
|
|
1171
1025
|
function readEventActorSetAlarm(bc) {
|
|
1172
1026
|
return {
|
|
1173
|
-
alarmTs:
|
|
1027
|
+
alarmTs: read11(bc)
|
|
1174
1028
|
};
|
|
1175
1029
|
}
|
|
1176
1030
|
function writeEventActorSetAlarm(bc, x) {
|
|
1177
|
-
|
|
1031
|
+
write11(bc, x.alarmTs);
|
|
1178
1032
|
}
|
|
1179
1033
|
function readEvent(bc) {
|
|
1180
1034
|
const offset = bc.offset;
|
|
@@ -1233,7 +1087,7 @@ function writePreloadedKvEntry(bc, x) {
|
|
|
1233
1087
|
writeKvValue(bc, x.value);
|
|
1234
1088
|
writeKvMetadata(bc, x.metadata);
|
|
1235
1089
|
}
|
|
1236
|
-
function
|
|
1090
|
+
function read12(bc) {
|
|
1237
1091
|
const len = bare.readUintSafe(bc);
|
|
1238
1092
|
if (len === 0) {
|
|
1239
1093
|
return [];
|
|
@@ -1244,7 +1098,7 @@ function read13(bc) {
|
|
|
1244
1098
|
}
|
|
1245
1099
|
return result;
|
|
1246
1100
|
}
|
|
1247
|
-
function
|
|
1101
|
+
function write12(bc, x) {
|
|
1248
1102
|
bare.writeUintSafe(bc, x.length);
|
|
1249
1103
|
for (let i = 0; i < x.length; i++) {
|
|
1250
1104
|
writePreloadedKvEntry(bc, x[i]);
|
|
@@ -1252,13 +1106,13 @@ function write13(bc, x) {
|
|
|
1252
1106
|
}
|
|
1253
1107
|
function readPreloadedKv(bc) {
|
|
1254
1108
|
return {
|
|
1255
|
-
entries:
|
|
1109
|
+
entries: read12(bc),
|
|
1256
1110
|
requestedGetKeys: read0(bc),
|
|
1257
1111
|
requestedPrefixes: read0(bc)
|
|
1258
1112
|
};
|
|
1259
1113
|
}
|
|
1260
1114
|
function writePreloadedKv(bc, x) {
|
|
1261
|
-
|
|
1115
|
+
write12(bc, x.entries);
|
|
1262
1116
|
write0(bc, x.requestedGetKeys);
|
|
1263
1117
|
write0(bc, x.requestedPrefixes);
|
|
1264
1118
|
}
|
|
@@ -1272,7 +1126,7 @@ function writeHibernatingRequest(bc, x) {
|
|
|
1272
1126
|
writeGatewayId(bc, x.gatewayId);
|
|
1273
1127
|
writeRequestId(bc, x.requestId);
|
|
1274
1128
|
}
|
|
1275
|
-
function
|
|
1129
|
+
function read13(bc) {
|
|
1276
1130
|
const len = bare.readUintSafe(bc);
|
|
1277
1131
|
if (len === 0) {
|
|
1278
1132
|
return [];
|
|
@@ -1283,25 +1137,25 @@ function read14(bc) {
|
|
|
1283
1137
|
}
|
|
1284
1138
|
return result;
|
|
1285
1139
|
}
|
|
1286
|
-
function
|
|
1140
|
+
function write13(bc, x) {
|
|
1287
1141
|
bare.writeUintSafe(bc, x.length);
|
|
1288
1142
|
for (let i = 0; i < x.length; i++) {
|
|
1289
1143
|
writeHibernatingRequest(bc, x[i]);
|
|
1290
1144
|
}
|
|
1291
1145
|
}
|
|
1292
|
-
function
|
|
1146
|
+
function read14(bc) {
|
|
1293
1147
|
return bare.readBool(bc) ? readPreloadedKv(bc) : null;
|
|
1294
1148
|
}
|
|
1295
|
-
function
|
|
1149
|
+
function write14(bc, x) {
|
|
1296
1150
|
bare.writeBool(bc, x != null);
|
|
1297
1151
|
if (x != null) {
|
|
1298
1152
|
writePreloadedKv(bc, x);
|
|
1299
1153
|
}
|
|
1300
1154
|
}
|
|
1301
|
-
function
|
|
1155
|
+
function read15(bc) {
|
|
1302
1156
|
return bare.readBool(bc) ? readSqliteStartupData(bc) : null;
|
|
1303
1157
|
}
|
|
1304
|
-
function
|
|
1158
|
+
function write15(bc, x) {
|
|
1305
1159
|
bare.writeBool(bc, x != null);
|
|
1306
1160
|
if (x != null) {
|
|
1307
1161
|
writeSqliteStartupData(bc, x);
|
|
@@ -1310,16 +1164,16 @@ function write16(bc, x) {
|
|
|
1310
1164
|
function readCommandStartActor(bc) {
|
|
1311
1165
|
return {
|
|
1312
1166
|
config: readActorConfig(bc),
|
|
1313
|
-
hibernatingRequests:
|
|
1314
|
-
preloadedKv:
|
|
1315
|
-
sqliteStartupData:
|
|
1167
|
+
hibernatingRequests: read13(bc),
|
|
1168
|
+
preloadedKv: read14(bc),
|
|
1169
|
+
sqliteStartupData: read15(bc)
|
|
1316
1170
|
};
|
|
1317
1171
|
}
|
|
1318
1172
|
function writeCommandStartActor(bc, x) {
|
|
1319
1173
|
writeActorConfig(bc, x.config);
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1174
|
+
write13(bc, x.hibernatingRequests);
|
|
1175
|
+
write14(bc, x.preloadedKv);
|
|
1176
|
+
write15(bc, x.sqliteStartupData);
|
|
1323
1177
|
}
|
|
1324
1178
|
var StopActorReason = /* @__PURE__ */ ((StopActorReason2) => {
|
|
1325
1179
|
StopActorReason2["SleepIntent"] = "SleepIntent";
|
|
@@ -1476,7 +1330,7 @@ function writeMessageId(bc, x) {
|
|
|
1476
1330
|
writeRequestId(bc, x.requestId);
|
|
1477
1331
|
writeMessageIndex(bc, x.messageIndex);
|
|
1478
1332
|
}
|
|
1479
|
-
function
|
|
1333
|
+
function read16(bc) {
|
|
1480
1334
|
const len = bare.readUintSafe(bc);
|
|
1481
1335
|
const result = /* @__PURE__ */ new Map();
|
|
1482
1336
|
for (let i = 0; i < len; i++) {
|
|
@@ -1490,7 +1344,7 @@ function read17(bc) {
|
|
|
1490
1344
|
}
|
|
1491
1345
|
return result;
|
|
1492
1346
|
}
|
|
1493
|
-
function
|
|
1347
|
+
function write16(bc, x) {
|
|
1494
1348
|
bare.writeUintSafe(bc, x.size);
|
|
1495
1349
|
for (const kv of x) {
|
|
1496
1350
|
bare.writeString(bc, kv[0]);
|
|
@@ -1502,8 +1356,8 @@ function readToEnvoyRequestStart(bc) {
|
|
|
1502
1356
|
actorId: readId(bc),
|
|
1503
1357
|
method: bare.readString(bc),
|
|
1504
1358
|
path: bare.readString(bc),
|
|
1505
|
-
headers:
|
|
1506
|
-
body:
|
|
1359
|
+
headers: read16(bc),
|
|
1360
|
+
body: read10(bc),
|
|
1507
1361
|
stream: bare.readBool(bc)
|
|
1508
1362
|
};
|
|
1509
1363
|
}
|
|
@@ -1511,8 +1365,8 @@ function writeToEnvoyRequestStart(bc, x) {
|
|
|
1511
1365
|
writeId(bc, x.actorId);
|
|
1512
1366
|
bare.writeString(bc, x.method);
|
|
1513
1367
|
bare.writeString(bc, x.path);
|
|
1514
|
-
|
|
1515
|
-
|
|
1368
|
+
write16(bc, x.headers);
|
|
1369
|
+
write10(bc, x.body);
|
|
1516
1370
|
bare.writeBool(bc, x.stream);
|
|
1517
1371
|
}
|
|
1518
1372
|
function readToEnvoyRequestChunk(bc) {
|
|
@@ -1528,15 +1382,15 @@ function writeToEnvoyRequestChunk(bc, x) {
|
|
|
1528
1382
|
function readToRivetResponseStart(bc) {
|
|
1529
1383
|
return {
|
|
1530
1384
|
status: bare.readU16(bc),
|
|
1531
|
-
headers:
|
|
1532
|
-
body:
|
|
1385
|
+
headers: read16(bc),
|
|
1386
|
+
body: read10(bc),
|
|
1533
1387
|
stream: bare.readBool(bc)
|
|
1534
1388
|
};
|
|
1535
1389
|
}
|
|
1536
1390
|
function writeToRivetResponseStart(bc, x) {
|
|
1537
1391
|
bare.writeU16(bc, x.status);
|
|
1538
|
-
|
|
1539
|
-
|
|
1392
|
+
write16(bc, x.headers);
|
|
1393
|
+
write10(bc, x.body);
|
|
1540
1394
|
bare.writeBool(bc, x.stream);
|
|
1541
1395
|
}
|
|
1542
1396
|
function readToRivetResponseChunk(bc) {
|
|
@@ -1553,13 +1407,13 @@ function readToEnvoyWebSocketOpen(bc) {
|
|
|
1553
1407
|
return {
|
|
1554
1408
|
actorId: readId(bc),
|
|
1555
1409
|
path: bare.readString(bc),
|
|
1556
|
-
headers:
|
|
1410
|
+
headers: read16(bc)
|
|
1557
1411
|
};
|
|
1558
1412
|
}
|
|
1559
1413
|
function writeToEnvoyWebSocketOpen(bc, x) {
|
|
1560
1414
|
writeId(bc, x.actorId);
|
|
1561
1415
|
bare.writeString(bc, x.path);
|
|
1562
|
-
|
|
1416
|
+
write16(bc, x.headers);
|
|
1563
1417
|
}
|
|
1564
1418
|
function readToEnvoyWebSocketMessage(bc) {
|
|
1565
1419
|
return {
|
|
@@ -1571,10 +1425,10 @@ function writeToEnvoyWebSocketMessage(bc, x) {
|
|
|
1571
1425
|
bare.writeData(bc, x.data);
|
|
1572
1426
|
bare.writeBool(bc, x.binary);
|
|
1573
1427
|
}
|
|
1574
|
-
function
|
|
1428
|
+
function read17(bc) {
|
|
1575
1429
|
return bare.readBool(bc) ? bare.readU16(bc) : null;
|
|
1576
1430
|
}
|
|
1577
|
-
function
|
|
1431
|
+
function write17(bc, x) {
|
|
1578
1432
|
bare.writeBool(bc, x != null);
|
|
1579
1433
|
if (x != null) {
|
|
1580
1434
|
bare.writeU16(bc, x);
|
|
@@ -1582,13 +1436,13 @@ function write18(bc, x) {
|
|
|
1582
1436
|
}
|
|
1583
1437
|
function readToEnvoyWebSocketClose(bc) {
|
|
1584
1438
|
return {
|
|
1585
|
-
code:
|
|
1586
|
-
reason:
|
|
1439
|
+
code: read17(bc),
|
|
1440
|
+
reason: read9(bc)
|
|
1587
1441
|
};
|
|
1588
1442
|
}
|
|
1589
1443
|
function writeToEnvoyWebSocketClose(bc, x) {
|
|
1590
|
-
|
|
1591
|
-
|
|
1444
|
+
write17(bc, x.code);
|
|
1445
|
+
write9(bc, x.reason);
|
|
1592
1446
|
}
|
|
1593
1447
|
function readToRivetWebSocketOpen(bc) {
|
|
1594
1448
|
return {
|
|
@@ -1618,14 +1472,14 @@ function writeToRivetWebSocketMessageAck(bc, x) {
|
|
|
1618
1472
|
}
|
|
1619
1473
|
function readToRivetWebSocketClose(bc) {
|
|
1620
1474
|
return {
|
|
1621
|
-
code:
|
|
1622
|
-
reason:
|
|
1475
|
+
code: read17(bc),
|
|
1476
|
+
reason: read9(bc),
|
|
1623
1477
|
hibernate: bare.readBool(bc)
|
|
1624
1478
|
};
|
|
1625
1479
|
}
|
|
1626
1480
|
function writeToRivetWebSocketClose(bc, x) {
|
|
1627
|
-
|
|
1628
|
-
|
|
1481
|
+
write17(bc, x.code);
|
|
1482
|
+
write9(bc, x.reason);
|
|
1629
1483
|
bare.writeBool(bc, x.hibernate);
|
|
1630
1484
|
}
|
|
1631
1485
|
function readToRivetTunnelMessageKind(bc) {
|
|
@@ -1773,7 +1627,7 @@ function readToEnvoyPing(bc) {
|
|
|
1773
1627
|
function writeToEnvoyPing(bc, x) {
|
|
1774
1628
|
bare.writeI64(bc, x.ts);
|
|
1775
1629
|
}
|
|
1776
|
-
function
|
|
1630
|
+
function read18(bc) {
|
|
1777
1631
|
const len = bare.readUintSafe(bc);
|
|
1778
1632
|
const result = /* @__PURE__ */ new Map();
|
|
1779
1633
|
for (let i = 0; i < len; i++) {
|
|
@@ -1787,26 +1641,26 @@ function read19(bc) {
|
|
|
1787
1641
|
}
|
|
1788
1642
|
return result;
|
|
1789
1643
|
}
|
|
1790
|
-
function
|
|
1644
|
+
function write18(bc, x) {
|
|
1791
1645
|
bare.writeUintSafe(bc, x.size);
|
|
1792
1646
|
for (const kv of x) {
|
|
1793
1647
|
bare.writeString(bc, kv[0]);
|
|
1794
1648
|
writeActorName(bc, kv[1]);
|
|
1795
1649
|
}
|
|
1796
1650
|
}
|
|
1797
|
-
function
|
|
1798
|
-
return bare.readBool(bc) ?
|
|
1651
|
+
function read19(bc) {
|
|
1652
|
+
return bare.readBool(bc) ? read18(bc) : null;
|
|
1799
1653
|
}
|
|
1800
|
-
function
|
|
1654
|
+
function write19(bc, x) {
|
|
1801
1655
|
bare.writeBool(bc, x != null);
|
|
1802
1656
|
if (x != null) {
|
|
1803
|
-
|
|
1657
|
+
write18(bc, x);
|
|
1804
1658
|
}
|
|
1805
1659
|
}
|
|
1806
|
-
function
|
|
1660
|
+
function read20(bc) {
|
|
1807
1661
|
return bare.readBool(bc) ? readJson(bc) : null;
|
|
1808
1662
|
}
|
|
1809
|
-
function
|
|
1663
|
+
function write20(bc, x) {
|
|
1810
1664
|
bare.writeBool(bc, x != null);
|
|
1811
1665
|
if (x != null) {
|
|
1812
1666
|
writeJson(bc, x);
|
|
@@ -1814,13 +1668,13 @@ function write21(bc, x) {
|
|
|
1814
1668
|
}
|
|
1815
1669
|
function readToRivetMetadata(bc) {
|
|
1816
1670
|
return {
|
|
1817
|
-
prepopulateActorNames:
|
|
1818
|
-
metadata:
|
|
1671
|
+
prepopulateActorNames: read19(bc),
|
|
1672
|
+
metadata: read20(bc)
|
|
1819
1673
|
};
|
|
1820
1674
|
}
|
|
1821
1675
|
function writeToRivetMetadata(bc, x) {
|
|
1822
|
-
|
|
1823
|
-
|
|
1676
|
+
write19(bc, x.prepopulateActorNames);
|
|
1677
|
+
write20(bc, x.metadata);
|
|
1824
1678
|
}
|
|
1825
1679
|
function readToRivetEvents(bc) {
|
|
1826
1680
|
const len = bare.readUintSafe(bc);
|
|
@@ -1839,7 +1693,7 @@ function writeToRivetEvents(bc, x) {
|
|
|
1839
1693
|
writeEventWrapper(bc, x[i]);
|
|
1840
1694
|
}
|
|
1841
1695
|
}
|
|
1842
|
-
function
|
|
1696
|
+
function read21(bc) {
|
|
1843
1697
|
const len = bare.readUintSafe(bc);
|
|
1844
1698
|
if (len === 0) {
|
|
1845
1699
|
return [];
|
|
@@ -1850,7 +1704,7 @@ function read22(bc) {
|
|
|
1850
1704
|
}
|
|
1851
1705
|
return result;
|
|
1852
1706
|
}
|
|
1853
|
-
function
|
|
1707
|
+
function write21(bc, x) {
|
|
1854
1708
|
bare.writeUintSafe(bc, x.length);
|
|
1855
1709
|
for (let i = 0; i < x.length; i++) {
|
|
1856
1710
|
writeActorCheckpoint(bc, x[i]);
|
|
@@ -1858,11 +1712,11 @@ function write22(bc, x) {
|
|
|
1858
1712
|
}
|
|
1859
1713
|
function readToRivetAckCommands(bc) {
|
|
1860
1714
|
return {
|
|
1861
|
-
lastCommandCheckpoints:
|
|
1715
|
+
lastCommandCheckpoints: read21(bc)
|
|
1862
1716
|
};
|
|
1863
1717
|
}
|
|
1864
1718
|
function writeToRivetAckCommands(bc, x) {
|
|
1865
|
-
|
|
1719
|
+
write21(bc, x.lastCommandCheckpoints);
|
|
1866
1720
|
}
|
|
1867
1721
|
function readToRivetPong(bc) {
|
|
1868
1722
|
return {
|
|
@@ -1894,16 +1748,6 @@ function writeToRivetSqliteGetPagesRequest(bc, x) {
|
|
|
1894
1748
|
bare.writeU32(bc, x.requestId);
|
|
1895
1749
|
writeSqliteGetPagesRequest(bc, x.data);
|
|
1896
1750
|
}
|
|
1897
|
-
function readToRivetSqliteGetPageRangeRequest(bc) {
|
|
1898
|
-
return {
|
|
1899
|
-
requestId: bare.readU32(bc),
|
|
1900
|
-
data: readSqliteGetPageRangeRequest(bc)
|
|
1901
|
-
};
|
|
1902
|
-
}
|
|
1903
|
-
function writeToRivetSqliteGetPageRangeRequest(bc, x) {
|
|
1904
|
-
bare.writeU32(bc, x.requestId);
|
|
1905
|
-
writeSqliteGetPageRangeRequest(bc, x.data);
|
|
1906
|
-
}
|
|
1907
1751
|
function readToRivetSqliteCommitRequest(bc) {
|
|
1908
1752
|
return {
|
|
1909
1753
|
requestId: bare.readU32(bc),
|
|
@@ -1944,16 +1788,6 @@ function writeToRivetSqliteCommitFinalizeRequest(bc, x) {
|
|
|
1944
1788
|
bare.writeU32(bc, x.requestId);
|
|
1945
1789
|
writeSqliteCommitFinalizeRequest(bc, x.data);
|
|
1946
1790
|
}
|
|
1947
|
-
function readToRivetSqlitePersistPreloadHintsRequest(bc) {
|
|
1948
|
-
return {
|
|
1949
|
-
requestId: bare.readU32(bc),
|
|
1950
|
-
data: readSqlitePersistPreloadHintsRequest(bc)
|
|
1951
|
-
};
|
|
1952
|
-
}
|
|
1953
|
-
function writeToRivetSqlitePersistPreloadHintsRequest(bc, x) {
|
|
1954
|
-
bare.writeU32(bc, x.requestId);
|
|
1955
|
-
writeSqlitePersistPreloadHintsRequest(bc, x.data);
|
|
1956
|
-
}
|
|
1957
1791
|
function readToRivet(bc) {
|
|
1958
1792
|
const offset = bc.offset;
|
|
1959
1793
|
const tag = bare.readU8(bc);
|
|
@@ -1975,17 +1809,13 @@ function readToRivet(bc) {
|
|
|
1975
1809
|
case 7:
|
|
1976
1810
|
return { tag: "ToRivetSqliteGetPagesRequest", val: readToRivetSqliteGetPagesRequest(bc) };
|
|
1977
1811
|
case 8:
|
|
1978
|
-
return { tag: "ToRivetSqliteGetPageRangeRequest", val: readToRivetSqliteGetPageRangeRequest(bc) };
|
|
1979
|
-
case 9:
|
|
1980
1812
|
return { tag: "ToRivetSqliteCommitRequest", val: readToRivetSqliteCommitRequest(bc) };
|
|
1981
|
-
case
|
|
1813
|
+
case 9:
|
|
1982
1814
|
return { tag: "ToRivetSqliteCommitStageBeginRequest", val: readToRivetSqliteCommitStageBeginRequest(bc) };
|
|
1983
|
-
case
|
|
1815
|
+
case 10:
|
|
1984
1816
|
return { tag: "ToRivetSqliteCommitStageRequest", val: readToRivetSqliteCommitStageRequest(bc) };
|
|
1985
|
-
case
|
|
1817
|
+
case 11:
|
|
1986
1818
|
return { tag: "ToRivetSqliteCommitFinalizeRequest", val: readToRivetSqliteCommitFinalizeRequest(bc) };
|
|
1987
|
-
case 13:
|
|
1988
|
-
return { tag: "ToRivetSqlitePersistPreloadHintsRequest", val: readToRivetSqlitePersistPreloadHintsRequest(bc) };
|
|
1989
1819
|
default: {
|
|
1990
1820
|
bc.offset = offset;
|
|
1991
1821
|
throw new bare.BareError(offset, "invalid tag");
|
|
@@ -2033,36 +1863,26 @@ function writeToRivet(bc, x) {
|
|
|
2033
1863
|
writeToRivetSqliteGetPagesRequest(bc, x.val);
|
|
2034
1864
|
break;
|
|
2035
1865
|
}
|
|
2036
|
-
case "ToRivetSqliteGetPageRangeRequest": {
|
|
2037
|
-
bare.writeU8(bc, 8);
|
|
2038
|
-
writeToRivetSqliteGetPageRangeRequest(bc, x.val);
|
|
2039
|
-
break;
|
|
2040
|
-
}
|
|
2041
1866
|
case "ToRivetSqliteCommitRequest": {
|
|
2042
|
-
bare.writeU8(bc,
|
|
1867
|
+
bare.writeU8(bc, 8);
|
|
2043
1868
|
writeToRivetSqliteCommitRequest(bc, x.val);
|
|
2044
1869
|
break;
|
|
2045
1870
|
}
|
|
2046
1871
|
case "ToRivetSqliteCommitStageBeginRequest": {
|
|
2047
|
-
bare.writeU8(bc,
|
|
1872
|
+
bare.writeU8(bc, 9);
|
|
2048
1873
|
writeToRivetSqliteCommitStageBeginRequest(bc, x.val);
|
|
2049
1874
|
break;
|
|
2050
1875
|
}
|
|
2051
1876
|
case "ToRivetSqliteCommitStageRequest": {
|
|
2052
|
-
bare.writeU8(bc,
|
|
1877
|
+
bare.writeU8(bc, 10);
|
|
2053
1878
|
writeToRivetSqliteCommitStageRequest(bc, x.val);
|
|
2054
1879
|
break;
|
|
2055
1880
|
}
|
|
2056
1881
|
case "ToRivetSqliteCommitFinalizeRequest": {
|
|
2057
|
-
bare.writeU8(bc,
|
|
1882
|
+
bare.writeU8(bc, 11);
|
|
2058
1883
|
writeToRivetSqliteCommitFinalizeRequest(bc, x.val);
|
|
2059
1884
|
break;
|
|
2060
1885
|
}
|
|
2061
|
-
case "ToRivetSqlitePersistPreloadHintsRequest": {
|
|
2062
|
-
bare.writeU8(bc, 13);
|
|
2063
|
-
writeToRivetSqlitePersistPreloadHintsRequest(bc, x.val);
|
|
2064
|
-
break;
|
|
2065
|
-
}
|
|
2066
1886
|
}
|
|
2067
1887
|
}
|
|
2068
1888
|
function encodeToRivet(x, config) {
|
|
@@ -2121,11 +1941,11 @@ function writeToEnvoyCommands(bc, x) {
|
|
|
2121
1941
|
}
|
|
2122
1942
|
function readToEnvoyAckEvents(bc) {
|
|
2123
1943
|
return {
|
|
2124
|
-
lastEventCheckpoints:
|
|
1944
|
+
lastEventCheckpoints: read21(bc)
|
|
2125
1945
|
};
|
|
2126
1946
|
}
|
|
2127
1947
|
function writeToEnvoyAckEvents(bc, x) {
|
|
2128
|
-
|
|
1948
|
+
write21(bc, x.lastEventCheckpoints);
|
|
2129
1949
|
}
|
|
2130
1950
|
function readToEnvoyKvResponse(bc) {
|
|
2131
1951
|
return {
|
|
@@ -2147,16 +1967,6 @@ function writeToEnvoySqliteGetPagesResponse(bc, x) {
|
|
|
2147
1967
|
bare.writeU32(bc, x.requestId);
|
|
2148
1968
|
writeSqliteGetPagesResponse(bc, x.data);
|
|
2149
1969
|
}
|
|
2150
|
-
function readToEnvoySqliteGetPageRangeResponse(bc) {
|
|
2151
|
-
return {
|
|
2152
|
-
requestId: bare.readU32(bc),
|
|
2153
|
-
data: readSqliteGetPageRangeResponse(bc)
|
|
2154
|
-
};
|
|
2155
|
-
}
|
|
2156
|
-
function writeToEnvoySqliteGetPageRangeResponse(bc, x) {
|
|
2157
|
-
bare.writeU32(bc, x.requestId);
|
|
2158
|
-
writeSqliteGetPageRangeResponse(bc, x.data);
|
|
2159
|
-
}
|
|
2160
1970
|
function readToEnvoySqliteCommitResponse(bc) {
|
|
2161
1971
|
return {
|
|
2162
1972
|
requestId: bare.readU32(bc),
|
|
@@ -2197,16 +2007,6 @@ function writeToEnvoySqliteCommitFinalizeResponse(bc, x) {
|
|
|
2197
2007
|
bare.writeU32(bc, x.requestId);
|
|
2198
2008
|
writeSqliteCommitFinalizeResponse(bc, x.data);
|
|
2199
2009
|
}
|
|
2200
|
-
function readToEnvoySqlitePersistPreloadHintsResponse(bc) {
|
|
2201
|
-
return {
|
|
2202
|
-
requestId: bare.readU32(bc),
|
|
2203
|
-
data: readSqlitePersistPreloadHintsResponse(bc)
|
|
2204
|
-
};
|
|
2205
|
-
}
|
|
2206
|
-
function writeToEnvoySqlitePersistPreloadHintsResponse(bc, x) {
|
|
2207
|
-
bare.writeU32(bc, x.requestId);
|
|
2208
|
-
writeSqlitePersistPreloadHintsResponse(bc, x.data);
|
|
2209
|
-
}
|
|
2210
2010
|
function readToEnvoy(bc) {
|
|
2211
2011
|
const offset = bc.offset;
|
|
2212
2012
|
const tag = bare.readU8(bc);
|
|
@@ -2226,17 +2026,13 @@ function readToEnvoy(bc) {
|
|
|
2226
2026
|
case 6:
|
|
2227
2027
|
return { tag: "ToEnvoySqliteGetPagesResponse", val: readToEnvoySqliteGetPagesResponse(bc) };
|
|
2228
2028
|
case 7:
|
|
2229
|
-
return { tag: "ToEnvoySqliteGetPageRangeResponse", val: readToEnvoySqliteGetPageRangeResponse(bc) };
|
|
2230
|
-
case 8:
|
|
2231
2029
|
return { tag: "ToEnvoySqliteCommitResponse", val: readToEnvoySqliteCommitResponse(bc) };
|
|
2232
|
-
case
|
|
2030
|
+
case 8:
|
|
2233
2031
|
return { tag: "ToEnvoySqliteCommitStageBeginResponse", val: readToEnvoySqliteCommitStageBeginResponse(bc) };
|
|
2234
|
-
case
|
|
2032
|
+
case 9:
|
|
2235
2033
|
return { tag: "ToEnvoySqliteCommitStageResponse", val: readToEnvoySqliteCommitStageResponse(bc) };
|
|
2236
|
-
case
|
|
2034
|
+
case 10:
|
|
2237
2035
|
return { tag: "ToEnvoySqliteCommitFinalizeResponse", val: readToEnvoySqliteCommitFinalizeResponse(bc) };
|
|
2238
|
-
case 12:
|
|
2239
|
-
return { tag: "ToEnvoySqlitePersistPreloadHintsResponse", val: readToEnvoySqlitePersistPreloadHintsResponse(bc) };
|
|
2240
2036
|
default: {
|
|
2241
2037
|
bc.offset = offset;
|
|
2242
2038
|
throw new bare.BareError(offset, "invalid tag");
|
|
@@ -2280,36 +2076,26 @@ function writeToEnvoy(bc, x) {
|
|
|
2280
2076
|
writeToEnvoySqliteGetPagesResponse(bc, x.val);
|
|
2281
2077
|
break;
|
|
2282
2078
|
}
|
|
2283
|
-
case "ToEnvoySqliteGetPageRangeResponse": {
|
|
2284
|
-
bare.writeU8(bc, 7);
|
|
2285
|
-
writeToEnvoySqliteGetPageRangeResponse(bc, x.val);
|
|
2286
|
-
break;
|
|
2287
|
-
}
|
|
2288
2079
|
case "ToEnvoySqliteCommitResponse": {
|
|
2289
|
-
bare.writeU8(bc,
|
|
2080
|
+
bare.writeU8(bc, 7);
|
|
2290
2081
|
writeToEnvoySqliteCommitResponse(bc, x.val);
|
|
2291
2082
|
break;
|
|
2292
2083
|
}
|
|
2293
2084
|
case "ToEnvoySqliteCommitStageBeginResponse": {
|
|
2294
|
-
bare.writeU8(bc,
|
|
2085
|
+
bare.writeU8(bc, 8);
|
|
2295
2086
|
writeToEnvoySqliteCommitStageBeginResponse(bc, x.val);
|
|
2296
2087
|
break;
|
|
2297
2088
|
}
|
|
2298
2089
|
case "ToEnvoySqliteCommitStageResponse": {
|
|
2299
|
-
bare.writeU8(bc,
|
|
2090
|
+
bare.writeU8(bc, 9);
|
|
2300
2091
|
writeToEnvoySqliteCommitStageResponse(bc, x.val);
|
|
2301
2092
|
break;
|
|
2302
2093
|
}
|
|
2303
2094
|
case "ToEnvoySqliteCommitFinalizeResponse": {
|
|
2304
|
-
bare.writeU8(bc,
|
|
2095
|
+
bare.writeU8(bc, 10);
|
|
2305
2096
|
writeToEnvoySqliteCommitFinalizeResponse(bc, x.val);
|
|
2306
2097
|
break;
|
|
2307
2098
|
}
|
|
2308
|
-
case "ToEnvoySqlitePersistPreloadHintsResponse": {
|
|
2309
|
-
bare.writeU8(bc, 12);
|
|
2310
|
-
writeToEnvoySqlitePersistPreloadHintsResponse(bc, x.val);
|
|
2311
|
-
break;
|
|
2312
|
-
}
|
|
2313
2099
|
}
|
|
2314
2100
|
}
|
|
2315
2101
|
function encodeToEnvoy(x, config) {
|
|
@@ -2516,7 +2302,7 @@ function decodeToOutbound(bytes) {
|
|
|
2516
2302
|
function assert(condition, message) {
|
|
2517
2303
|
if (!condition) throw new Error(message ?? "Assertion failed");
|
|
2518
2304
|
}
|
|
2519
|
-
var VERSION =
|
|
2305
|
+
var VERSION = 2;
|
|
2520
2306
|
export {
|
|
2521
2307
|
StopActorReason,
|
|
2522
2308
|
StopCode,
|
|
@@ -2593,19 +2379,12 @@ export {
|
|
|
2593
2379
|
readSqliteFenceMismatch,
|
|
2594
2380
|
readSqliteFetchedPage,
|
|
2595
2381
|
readSqliteGeneration,
|
|
2596
|
-
readSqliteGetPageRangeOk,
|
|
2597
|
-
readSqliteGetPageRangeRequest,
|
|
2598
|
-
readSqliteGetPageRangeResponse,
|
|
2599
2382
|
readSqliteGetPagesOk,
|
|
2600
2383
|
readSqliteGetPagesRequest,
|
|
2601
2384
|
readSqliteGetPagesResponse,
|
|
2602
2385
|
readSqliteMeta,
|
|
2603
2386
|
readSqlitePageBytes,
|
|
2604
|
-
readSqlitePersistPreloadHintsRequest,
|
|
2605
|
-
readSqlitePersistPreloadHintsResponse,
|
|
2606
2387
|
readSqlitePgno,
|
|
2607
|
-
readSqlitePreloadHintRange,
|
|
2608
|
-
readSqlitePreloadHints,
|
|
2609
2388
|
readSqliteStageId,
|
|
2610
2389
|
readSqliteStageNotFound,
|
|
2611
2390
|
readSqliteStartupData,
|
|
@@ -2626,9 +2405,7 @@ export {
|
|
|
2626
2405
|
readToEnvoySqliteCommitResponse,
|
|
2627
2406
|
readToEnvoySqliteCommitStageBeginResponse,
|
|
2628
2407
|
readToEnvoySqliteCommitStageResponse,
|
|
2629
|
-
readToEnvoySqliteGetPageRangeResponse,
|
|
2630
2408
|
readToEnvoySqliteGetPagesResponse,
|
|
2631
|
-
readToEnvoySqlitePersistPreloadHintsResponse,
|
|
2632
2409
|
readToEnvoyTunnelMessage,
|
|
2633
2410
|
readToEnvoyTunnelMessageKind,
|
|
2634
2411
|
readToEnvoyWebSocketClose,
|
|
@@ -2650,9 +2427,7 @@ export {
|
|
|
2650
2427
|
readToRivetSqliteCommitRequest,
|
|
2651
2428
|
readToRivetSqliteCommitStageBeginRequest,
|
|
2652
2429
|
readToRivetSqliteCommitStageRequest,
|
|
2653
|
-
readToRivetSqliteGetPageRangeRequest,
|
|
2654
2430
|
readToRivetSqliteGetPagesRequest,
|
|
2655
|
-
readToRivetSqlitePersistPreloadHintsRequest,
|
|
2656
2431
|
readToRivetTunnelMessage,
|
|
2657
2432
|
readToRivetTunnelMessageKind,
|
|
2658
2433
|
readToRivetWebSocketClose,
|
|
@@ -2719,19 +2494,12 @@ export {
|
|
|
2719
2494
|
writeSqliteFenceMismatch,
|
|
2720
2495
|
writeSqliteFetchedPage,
|
|
2721
2496
|
writeSqliteGeneration,
|
|
2722
|
-
writeSqliteGetPageRangeOk,
|
|
2723
|
-
writeSqliteGetPageRangeRequest,
|
|
2724
|
-
writeSqliteGetPageRangeResponse,
|
|
2725
2497
|
writeSqliteGetPagesOk,
|
|
2726
2498
|
writeSqliteGetPagesRequest,
|
|
2727
2499
|
writeSqliteGetPagesResponse,
|
|
2728
2500
|
writeSqliteMeta,
|
|
2729
2501
|
writeSqlitePageBytes,
|
|
2730
|
-
writeSqlitePersistPreloadHintsRequest,
|
|
2731
|
-
writeSqlitePersistPreloadHintsResponse,
|
|
2732
2502
|
writeSqlitePgno,
|
|
2733
|
-
writeSqlitePreloadHintRange,
|
|
2734
|
-
writeSqlitePreloadHints,
|
|
2735
2503
|
writeSqliteStageId,
|
|
2736
2504
|
writeSqliteStageNotFound,
|
|
2737
2505
|
writeSqliteStartupData,
|
|
@@ -2752,9 +2520,7 @@ export {
|
|
|
2752
2520
|
writeToEnvoySqliteCommitResponse,
|
|
2753
2521
|
writeToEnvoySqliteCommitStageBeginResponse,
|
|
2754
2522
|
writeToEnvoySqliteCommitStageResponse,
|
|
2755
|
-
writeToEnvoySqliteGetPageRangeResponse,
|
|
2756
2523
|
writeToEnvoySqliteGetPagesResponse,
|
|
2757
|
-
writeToEnvoySqlitePersistPreloadHintsResponse,
|
|
2758
2524
|
writeToEnvoyTunnelMessage,
|
|
2759
2525
|
writeToEnvoyTunnelMessageKind,
|
|
2760
2526
|
writeToEnvoyWebSocketClose,
|
|
@@ -2776,9 +2542,7 @@ export {
|
|
|
2776
2542
|
writeToRivetSqliteCommitRequest,
|
|
2777
2543
|
writeToRivetSqliteCommitStageBeginRequest,
|
|
2778
2544
|
writeToRivetSqliteCommitStageRequest,
|
|
2779
|
-
writeToRivetSqliteGetPageRangeRequest,
|
|
2780
2545
|
writeToRivetSqliteGetPagesRequest,
|
|
2781
|
-
writeToRivetSqlitePersistPreloadHintsRequest,
|
|
2782
2546
|
writeToRivetTunnelMessage,
|
|
2783
2547
|
writeToRivetTunnelMessageKind,
|
|
2784
2548
|
writeToRivetWebSocketClose,
|