@rivetkit/engine-envoy-protocol 0.0.0-main.6151ab0 → 0.0.0-main.78336a1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +546 -4
- package/dist/index.js +1425 -89
- package/package.json +9 -2
package/dist/index.d.ts
CHANGED
|
@@ -165,6 +165,323 @@ type KvResponseData = {
|
|
|
165
165
|
};
|
|
166
166
|
declare function readKvResponseData(bc: bare.ByteCursor): KvResponseData;
|
|
167
167
|
declare function writeKvResponseData(bc: bare.ByteCursor, x: KvResponseData): void;
|
|
168
|
+
type SqlitePgno = u32;
|
|
169
|
+
declare function readSqlitePgno(bc: bare.ByteCursor): SqlitePgno;
|
|
170
|
+
declare function writeSqlitePgno(bc: bare.ByteCursor, x: SqlitePgno): void;
|
|
171
|
+
type SqliteGeneration = u64;
|
|
172
|
+
declare function readSqliteGeneration(bc: bare.ByteCursor): SqliteGeneration;
|
|
173
|
+
declare function writeSqliteGeneration(bc: bare.ByteCursor, x: SqliteGeneration): void;
|
|
174
|
+
type SqlitePageBytes = ArrayBuffer;
|
|
175
|
+
declare function readSqlitePageBytes(bc: bare.ByteCursor): SqlitePageBytes;
|
|
176
|
+
declare function writeSqlitePageBytes(bc: bare.ByteCursor, x: SqlitePageBytes): void;
|
|
177
|
+
type SqliteDirtyPage = {
|
|
178
|
+
readonly pgno: SqlitePgno;
|
|
179
|
+
readonly bytes: SqlitePageBytes;
|
|
180
|
+
};
|
|
181
|
+
declare function readSqliteDirtyPage(bc: bare.ByteCursor): SqliteDirtyPage;
|
|
182
|
+
declare function writeSqliteDirtyPage(bc: bare.ByteCursor, x: SqliteDirtyPage): void;
|
|
183
|
+
type SqliteFetchedPage = {
|
|
184
|
+
readonly pgno: SqlitePgno;
|
|
185
|
+
readonly bytes: SqlitePageBytes | null;
|
|
186
|
+
};
|
|
187
|
+
declare function readSqliteFetchedPage(bc: bare.ByteCursor): SqliteFetchedPage;
|
|
188
|
+
declare function writeSqliteFetchedPage(bc: bare.ByteCursor, x: SqliteFetchedPage): void;
|
|
189
|
+
type SqliteGetPagesRequest = {
|
|
190
|
+
readonly actorId: Id;
|
|
191
|
+
readonly pgnos: readonly SqlitePgno[];
|
|
192
|
+
readonly expectedGeneration: u64 | null;
|
|
193
|
+
readonly expectedHeadTxid: u64 | null;
|
|
194
|
+
};
|
|
195
|
+
declare function readSqliteGetPagesRequest(bc: bare.ByteCursor): SqliteGetPagesRequest;
|
|
196
|
+
declare function writeSqliteGetPagesRequest(bc: bare.ByteCursor, x: SqliteGetPagesRequest): void;
|
|
197
|
+
type SqliteGetPagesOk = {
|
|
198
|
+
readonly pages: readonly SqliteFetchedPage[];
|
|
199
|
+
readonly headTxid: u64 | null;
|
|
200
|
+
};
|
|
201
|
+
declare function readSqliteGetPagesOk(bc: bare.ByteCursor): SqliteGetPagesOk;
|
|
202
|
+
declare function writeSqliteGetPagesOk(bc: bare.ByteCursor, x: SqliteGetPagesOk): void;
|
|
203
|
+
type SqliteErrorResponse = {
|
|
204
|
+
readonly group: string;
|
|
205
|
+
readonly code: string;
|
|
206
|
+
readonly message: string;
|
|
207
|
+
};
|
|
208
|
+
declare function readSqliteErrorResponse(bc: bare.ByteCursor): SqliteErrorResponse;
|
|
209
|
+
declare function writeSqliteErrorResponse(bc: bare.ByteCursor, x: SqliteErrorResponse): void;
|
|
210
|
+
type SqliteGetPagesResponse = {
|
|
211
|
+
readonly tag: "SqliteGetPagesOk";
|
|
212
|
+
readonly val: SqliteGetPagesOk;
|
|
213
|
+
} | {
|
|
214
|
+
readonly tag: "SqliteErrorResponse";
|
|
215
|
+
readonly val: SqliteErrorResponse;
|
|
216
|
+
};
|
|
217
|
+
declare function readSqliteGetPagesResponse(bc: bare.ByteCursor): SqliteGetPagesResponse;
|
|
218
|
+
declare function writeSqliteGetPagesResponse(bc: bare.ByteCursor, x: SqliteGetPagesResponse): void;
|
|
219
|
+
type SqliteCommitRequest = {
|
|
220
|
+
readonly actorId: Id;
|
|
221
|
+
readonly dirtyPages: readonly SqliteDirtyPage[];
|
|
222
|
+
readonly dbSizePages: u32;
|
|
223
|
+
readonly nowMs: i64;
|
|
224
|
+
readonly expectedGeneration: u64 | null;
|
|
225
|
+
readonly expectedHeadTxid: u64 | null;
|
|
226
|
+
};
|
|
227
|
+
declare function readSqliteCommitRequest(bc: bare.ByteCursor): SqliteCommitRequest;
|
|
228
|
+
declare function writeSqliteCommitRequest(bc: bare.ByteCursor, x: SqliteCommitRequest): void;
|
|
229
|
+
type SqliteCommitOk = {
|
|
230
|
+
readonly headTxid: u64 | null;
|
|
231
|
+
};
|
|
232
|
+
declare function readSqliteCommitOk(bc: bare.ByteCursor): SqliteCommitOk;
|
|
233
|
+
declare function writeSqliteCommitOk(bc: bare.ByteCursor, x: SqliteCommitOk): void;
|
|
234
|
+
type SqliteCommitResponse = {
|
|
235
|
+
readonly tag: "SqliteCommitOk";
|
|
236
|
+
readonly val: SqliteCommitOk;
|
|
237
|
+
} | {
|
|
238
|
+
readonly tag: "SqliteErrorResponse";
|
|
239
|
+
readonly val: SqliteErrorResponse;
|
|
240
|
+
};
|
|
241
|
+
declare function readSqliteCommitResponse(bc: bare.ByteCursor): SqliteCommitResponse;
|
|
242
|
+
declare function writeSqliteCommitResponse(bc: bare.ByteCursor, x: SqliteCommitResponse): void;
|
|
243
|
+
/**
|
|
244
|
+
* Staged commit. A commit too large for one transaction is written as a sequence of shard-aligned
|
|
245
|
+
* segments and then made visible by a single finalize. Nothing staged is readable until finalize:
|
|
246
|
+
* no PIDX row, no COMMIT row, no head advance, so an abandoned stage is indistinguishable from no
|
|
247
|
+
* commit at all. The single-shot SqliteCommitRequest above stays the path for small commits.
|
|
248
|
+
*/
|
|
249
|
+
type SqliteCommitStageBeginRequest = {
|
|
250
|
+
readonly actorId: Id;
|
|
251
|
+
readonly expectedGeneration: u64 | null;
|
|
252
|
+
/**
|
|
253
|
+
* Fences before any bytes are staged, so an actor that lost its generation does not pay for a
|
|
254
|
+
* full payload before finding out.
|
|
255
|
+
*/
|
|
256
|
+
readonly expectedHeadTxid: u64 | null;
|
|
257
|
+
};
|
|
258
|
+
declare function readSqliteCommitStageBeginRequest(bc: bare.ByteCursor): SqliteCommitStageBeginRequest;
|
|
259
|
+
declare function writeSqliteCommitStageBeginRequest(bc: bare.ByteCursor, x: SqliteCommitStageBeginRequest): void;
|
|
260
|
+
type SqliteCommitStageBeginOk = {
|
|
261
|
+
/**
|
|
262
|
+
* The engine allocates the txid (head + 1). Actor exclusivity makes that safe without an
|
|
263
|
+
* allocator.
|
|
264
|
+
*/
|
|
265
|
+
readonly txid: u64;
|
|
266
|
+
};
|
|
267
|
+
declare function readSqliteCommitStageBeginOk(bc: bare.ByteCursor): SqliteCommitStageBeginOk;
|
|
268
|
+
declare function writeSqliteCommitStageBeginOk(bc: bare.ByteCursor, x: SqliteCommitStageBeginOk): void;
|
|
269
|
+
type SqliteCommitStageBeginResponse = {
|
|
270
|
+
readonly tag: "SqliteCommitStageBeginOk";
|
|
271
|
+
readonly val: SqliteCommitStageBeginOk;
|
|
272
|
+
} | {
|
|
273
|
+
readonly tag: "SqliteErrorResponse";
|
|
274
|
+
readonly val: SqliteErrorResponse;
|
|
275
|
+
};
|
|
276
|
+
declare function readSqliteCommitStageBeginResponse(bc: bare.ByteCursor): SqliteCommitStageBeginResponse;
|
|
277
|
+
declare function writeSqliteCommitStageBeginResponse(bc: bare.ByteCursor, x: SqliteCommitStageBeginResponse): void;
|
|
278
|
+
type SqliteCommitStageSegmentRequest = {
|
|
279
|
+
readonly actorId: Id;
|
|
280
|
+
readonly expectedGeneration: u64 | null;
|
|
281
|
+
readonly txid: u64;
|
|
282
|
+
/**
|
|
283
|
+
* Shard-aligned and strictly ascending across a commit's segments. The engine rejects a
|
|
284
|
+
* misaligned or out-of-order value rather than trusting the client to have produced it
|
|
285
|
+
* correctly: a shard split across two segments could be folded from one of them and written as
|
|
286
|
+
* a shard image missing the other's newer pages.
|
|
287
|
+
*/
|
|
288
|
+
readonly firstPgno: u32;
|
|
289
|
+
readonly dirtyPages: readonly SqliteDirtyPage[];
|
|
290
|
+
};
|
|
291
|
+
declare function readSqliteCommitStageSegmentRequest(bc: bare.ByteCursor): SqliteCommitStageSegmentRequest;
|
|
292
|
+
declare function writeSqliteCommitStageSegmentRequest(bc: bare.ByteCursor, x: SqliteCommitStageSegmentRequest): void;
|
|
293
|
+
type SqliteCommitStageSegmentOk = {
|
|
294
|
+
readonly stagedBytes: u64;
|
|
295
|
+
};
|
|
296
|
+
declare function readSqliteCommitStageSegmentOk(bc: bare.ByteCursor): SqliteCommitStageSegmentOk;
|
|
297
|
+
declare function writeSqliteCommitStageSegmentOk(bc: bare.ByteCursor, x: SqliteCommitStageSegmentOk): void;
|
|
298
|
+
type SqliteCommitStageSegmentResponse = {
|
|
299
|
+
readonly tag: "SqliteCommitStageSegmentOk";
|
|
300
|
+
readonly val: SqliteCommitStageSegmentOk;
|
|
301
|
+
} | {
|
|
302
|
+
readonly tag: "SqliteErrorResponse";
|
|
303
|
+
readonly val: SqliteErrorResponse;
|
|
304
|
+
};
|
|
305
|
+
declare function readSqliteCommitStageSegmentResponse(bc: bare.ByteCursor): SqliteCommitStageSegmentResponse;
|
|
306
|
+
declare function writeSqliteCommitStageSegmentResponse(bc: bare.ByteCursor, x: SqliteCommitStageSegmentResponse): void;
|
|
307
|
+
type SqliteCommitFinalizeRequest = {
|
|
308
|
+
readonly actorId: Id;
|
|
309
|
+
readonly expectedGeneration: u64 | null;
|
|
310
|
+
/**
|
|
311
|
+
* The txid begin allocated. It is the head fence as well as the identity: finalize requires it to
|
|
312
|
+
* still be `head + 1`, so a separate expectedHeadTxid would only ever restate `txid - 1`.
|
|
313
|
+
*/
|
|
314
|
+
readonly txid: u64;
|
|
315
|
+
readonly newDbSizePages: u32;
|
|
316
|
+
readonly nowMs: i64;
|
|
317
|
+
/**
|
|
318
|
+
* Exactly what the client believes it staged. Finalize verifies each one exists, so a client
|
|
319
|
+
* that lost a stage reply and finalized anyway is rejected instead of publishing a commit with
|
|
320
|
+
* a hole in it. Dirty page numbers are not carried here: the engine derives them from the
|
|
321
|
+
* staged segments' own page indexes.
|
|
322
|
+
*/
|
|
323
|
+
readonly segmentFirstPgnos: Uint32Array;
|
|
324
|
+
};
|
|
325
|
+
declare function readSqliteCommitFinalizeRequest(bc: bare.ByteCursor): SqliteCommitFinalizeRequest;
|
|
326
|
+
declare function writeSqliteCommitFinalizeRequest(bc: bare.ByteCursor, x: SqliteCommitFinalizeRequest): void;
|
|
327
|
+
type SqliteCommitFinalizeOk = {
|
|
328
|
+
readonly headTxid: u64 | null;
|
|
329
|
+
};
|
|
330
|
+
declare function readSqliteCommitFinalizeOk(bc: bare.ByteCursor): SqliteCommitFinalizeOk;
|
|
331
|
+
declare function writeSqliteCommitFinalizeOk(bc: bare.ByteCursor, x: SqliteCommitFinalizeOk): void;
|
|
332
|
+
type SqliteCommitFinalizeResponse = {
|
|
333
|
+
readonly tag: "SqliteCommitFinalizeOk";
|
|
334
|
+
readonly val: SqliteCommitFinalizeOk;
|
|
335
|
+
} | {
|
|
336
|
+
readonly tag: "SqliteErrorResponse";
|
|
337
|
+
readonly val: SqliteErrorResponse;
|
|
338
|
+
};
|
|
339
|
+
declare function readSqliteCommitFinalizeResponse(bc: bare.ByteCursor): SqliteCommitFinalizeResponse;
|
|
340
|
+
declare function writeSqliteCommitFinalizeResponse(bc: bare.ByteCursor, x: SqliteCommitFinalizeResponse): void;
|
|
341
|
+
type SqliteValueNull = null;
|
|
342
|
+
type SqliteValueInteger = {
|
|
343
|
+
readonly value: i64;
|
|
344
|
+
};
|
|
345
|
+
declare function readSqliteValueInteger(bc: bare.ByteCursor): SqliteValueInteger;
|
|
346
|
+
declare function writeSqliteValueInteger(bc: bare.ByteCursor, x: SqliteValueInteger): void;
|
|
347
|
+
type SqliteValueFloat = {
|
|
348
|
+
readonly value: ArrayBuffer;
|
|
349
|
+
};
|
|
350
|
+
declare function readSqliteValueFloat(bc: bare.ByteCursor): SqliteValueFloat;
|
|
351
|
+
declare function writeSqliteValueFloat(bc: bare.ByteCursor, x: SqliteValueFloat): void;
|
|
352
|
+
type SqliteValueText = {
|
|
353
|
+
readonly value: string;
|
|
354
|
+
};
|
|
355
|
+
declare function readSqliteValueText(bc: bare.ByteCursor): SqliteValueText;
|
|
356
|
+
declare function writeSqliteValueText(bc: bare.ByteCursor, x: SqliteValueText): void;
|
|
357
|
+
type SqliteValueBlob = {
|
|
358
|
+
readonly value: ArrayBuffer;
|
|
359
|
+
};
|
|
360
|
+
declare function readSqliteValueBlob(bc: bare.ByteCursor): SqliteValueBlob;
|
|
361
|
+
declare function writeSqliteValueBlob(bc: bare.ByteCursor, x: SqliteValueBlob): void;
|
|
362
|
+
type SqliteBindParam = {
|
|
363
|
+
readonly tag: "SqliteValueNull";
|
|
364
|
+
readonly val: SqliteValueNull;
|
|
365
|
+
} | {
|
|
366
|
+
readonly tag: "SqliteValueInteger";
|
|
367
|
+
readonly val: SqliteValueInteger;
|
|
368
|
+
} | {
|
|
369
|
+
readonly tag: "SqliteValueFloat";
|
|
370
|
+
readonly val: SqliteValueFloat;
|
|
371
|
+
} | {
|
|
372
|
+
readonly tag: "SqliteValueText";
|
|
373
|
+
readonly val: SqliteValueText;
|
|
374
|
+
} | {
|
|
375
|
+
readonly tag: "SqliteValueBlob";
|
|
376
|
+
readonly val: SqliteValueBlob;
|
|
377
|
+
};
|
|
378
|
+
declare function readSqliteBindParam(bc: bare.ByteCursor): SqliteBindParam;
|
|
379
|
+
declare function writeSqliteBindParam(bc: bare.ByteCursor, x: SqliteBindParam): void;
|
|
380
|
+
type SqliteColumnValue = {
|
|
381
|
+
readonly tag: "SqliteValueNull";
|
|
382
|
+
readonly val: SqliteValueNull;
|
|
383
|
+
} | {
|
|
384
|
+
readonly tag: "SqliteValueInteger";
|
|
385
|
+
readonly val: SqliteValueInteger;
|
|
386
|
+
} | {
|
|
387
|
+
readonly tag: "SqliteValueFloat";
|
|
388
|
+
readonly val: SqliteValueFloat;
|
|
389
|
+
} | {
|
|
390
|
+
readonly tag: "SqliteValueText";
|
|
391
|
+
readonly val: SqliteValueText;
|
|
392
|
+
} | {
|
|
393
|
+
readonly tag: "SqliteValueBlob";
|
|
394
|
+
readonly val: SqliteValueBlob;
|
|
395
|
+
};
|
|
396
|
+
declare function readSqliteColumnValue(bc: bare.ByteCursor): SqliteColumnValue;
|
|
397
|
+
declare function writeSqliteColumnValue(bc: bare.ByteCursor, x: SqliteColumnValue): void;
|
|
398
|
+
type SqliteQueryResult = {
|
|
399
|
+
readonly columns: readonly string[];
|
|
400
|
+
readonly rows: readonly (readonly SqliteColumnValue[])[];
|
|
401
|
+
};
|
|
402
|
+
declare function readSqliteQueryResult(bc: bare.ByteCursor): SqliteQueryResult;
|
|
403
|
+
declare function writeSqliteQueryResult(bc: bare.ByteCursor, x: SqliteQueryResult): void;
|
|
404
|
+
type SqliteExecuteResult = {
|
|
405
|
+
readonly columns: readonly string[];
|
|
406
|
+
readonly rows: readonly (readonly SqliteColumnValue[])[];
|
|
407
|
+
readonly changes: i64;
|
|
408
|
+
readonly lastInsertRowId: i64 | null;
|
|
409
|
+
};
|
|
410
|
+
declare function readSqliteExecuteResult(bc: bare.ByteCursor): SqliteExecuteResult;
|
|
411
|
+
declare function writeSqliteExecuteResult(bc: bare.ByteCursor, x: SqliteExecuteResult): void;
|
|
412
|
+
type SqliteExecRequest = {
|
|
413
|
+
readonly namespaceId: Id;
|
|
414
|
+
readonly actorId: Id;
|
|
415
|
+
readonly generation: SqliteGeneration;
|
|
416
|
+
readonly sql: string;
|
|
417
|
+
};
|
|
418
|
+
declare function readSqliteExecRequest(bc: bare.ByteCursor): SqliteExecRequest;
|
|
419
|
+
declare function writeSqliteExecRequest(bc: bare.ByteCursor, x: SqliteExecRequest): void;
|
|
420
|
+
type SqliteExecuteRequest = {
|
|
421
|
+
readonly namespaceId: Id;
|
|
422
|
+
readonly actorId: Id;
|
|
423
|
+
readonly generation: SqliteGeneration;
|
|
424
|
+
readonly sql: string;
|
|
425
|
+
readonly params: readonly SqliteBindParam[] | null;
|
|
426
|
+
};
|
|
427
|
+
declare function readSqliteExecuteRequest(bc: bare.ByteCursor): SqliteExecuteRequest;
|
|
428
|
+
declare function writeSqliteExecuteRequest(bc: bare.ByteCursor, x: SqliteExecuteRequest): void;
|
|
429
|
+
type SqliteBatchStatement = {
|
|
430
|
+
readonly sql: string;
|
|
431
|
+
readonly params: readonly SqliteBindParam[] | null;
|
|
432
|
+
};
|
|
433
|
+
declare function readSqliteBatchStatement(bc: bare.ByteCursor): SqliteBatchStatement;
|
|
434
|
+
declare function writeSqliteBatchStatement(bc: bare.ByteCursor, x: SqliteBatchStatement): void;
|
|
435
|
+
type SqliteExecuteBatchRequest = {
|
|
436
|
+
readonly namespaceId: Id;
|
|
437
|
+
readonly actorId: Id;
|
|
438
|
+
readonly generation: SqliteGeneration;
|
|
439
|
+
readonly statements: readonly SqliteBatchStatement[];
|
|
440
|
+
};
|
|
441
|
+
declare function readSqliteExecuteBatchRequest(bc: bare.ByteCursor): SqliteExecuteBatchRequest;
|
|
442
|
+
declare function writeSqliteExecuteBatchRequest(bc: bare.ByteCursor, x: SqliteExecuteBatchRequest): void;
|
|
443
|
+
type SqliteExecOk = {
|
|
444
|
+
readonly result: SqliteQueryResult;
|
|
445
|
+
};
|
|
446
|
+
declare function readSqliteExecOk(bc: bare.ByteCursor): SqliteExecOk;
|
|
447
|
+
declare function writeSqliteExecOk(bc: bare.ByteCursor, x: SqliteExecOk): void;
|
|
448
|
+
type SqliteExecuteOk = {
|
|
449
|
+
readonly result: SqliteExecuteResult;
|
|
450
|
+
};
|
|
451
|
+
declare function readSqliteExecuteOk(bc: bare.ByteCursor): SqliteExecuteOk;
|
|
452
|
+
declare function writeSqliteExecuteOk(bc: bare.ByteCursor, x: SqliteExecuteOk): void;
|
|
453
|
+
type SqliteExecuteBatchOk = {
|
|
454
|
+
readonly results: readonly SqliteExecuteResult[];
|
|
455
|
+
};
|
|
456
|
+
declare function readSqliteExecuteBatchOk(bc: bare.ByteCursor): SqliteExecuteBatchOk;
|
|
457
|
+
declare function writeSqliteExecuteBatchOk(bc: bare.ByteCursor, x: SqliteExecuteBatchOk): void;
|
|
458
|
+
type SqliteExecResponse = {
|
|
459
|
+
readonly tag: "SqliteExecOk";
|
|
460
|
+
readonly val: SqliteExecOk;
|
|
461
|
+
} | {
|
|
462
|
+
readonly tag: "SqliteErrorResponse";
|
|
463
|
+
readonly val: SqliteErrorResponse;
|
|
464
|
+
};
|
|
465
|
+
declare function readSqliteExecResponse(bc: bare.ByteCursor): SqliteExecResponse;
|
|
466
|
+
declare function writeSqliteExecResponse(bc: bare.ByteCursor, x: SqliteExecResponse): void;
|
|
467
|
+
type SqliteExecuteResponse = {
|
|
468
|
+
readonly tag: "SqliteExecuteOk";
|
|
469
|
+
readonly val: SqliteExecuteOk;
|
|
470
|
+
} | {
|
|
471
|
+
readonly tag: "SqliteErrorResponse";
|
|
472
|
+
readonly val: SqliteErrorResponse;
|
|
473
|
+
};
|
|
474
|
+
declare function readSqliteExecuteResponse(bc: bare.ByteCursor): SqliteExecuteResponse;
|
|
475
|
+
declare function writeSqliteExecuteResponse(bc: bare.ByteCursor, x: SqliteExecuteResponse): void;
|
|
476
|
+
type SqliteExecuteBatchResponse = {
|
|
477
|
+
readonly tag: "SqliteExecuteBatchOk";
|
|
478
|
+
readonly val: SqliteExecuteBatchOk;
|
|
479
|
+
} | {
|
|
480
|
+
readonly tag: "SqliteErrorResponse";
|
|
481
|
+
readonly val: SqliteErrorResponse;
|
|
482
|
+
};
|
|
483
|
+
declare function readSqliteExecuteBatchResponse(bc: bare.ByteCursor): SqliteExecuteBatchResponse;
|
|
484
|
+
declare function writeSqliteExecuteBatchResponse(bc: bare.ByteCursor, x: SqliteExecuteBatchResponse): void;
|
|
168
485
|
/**
|
|
169
486
|
* Core
|
|
170
487
|
*/
|
|
@@ -354,11 +671,20 @@ declare function writeMessageId(bc: bare.ByteCursor, x: MessageId): void;
|
|
|
354
671
|
*/
|
|
355
672
|
type ToEnvoyRequestStart = {
|
|
356
673
|
readonly actorId: Id;
|
|
674
|
+
/**
|
|
675
|
+
* Exact actor generation selected by Gateway 3. Legacy Gateway 2 requests
|
|
676
|
+
* omit this and retain highest-live-generation routing.
|
|
677
|
+
*/
|
|
678
|
+
readonly actorGeneration: u32 | null;
|
|
357
679
|
readonly method: string;
|
|
358
680
|
readonly path: string;
|
|
359
681
|
readonly headers: ReadonlyMap<string, string>;
|
|
360
682
|
readonly body: ArrayBuffer | null;
|
|
361
683
|
readonly stream: boolean;
|
|
684
|
+
/**
|
|
685
|
+
* Whether the gateway can accept a streamed response body.
|
|
686
|
+
*/
|
|
687
|
+
readonly responseStream: boolean;
|
|
362
688
|
};
|
|
363
689
|
declare function readToEnvoyRequestStart(bc: bare.ByteCursor): ToEnvoyRequestStart;
|
|
364
690
|
declare function writeToEnvoyRequestStart(bc: bare.ByteCursor, x: ToEnvoyRequestStart): void;
|
|
@@ -368,7 +694,49 @@ type ToEnvoyRequestChunk = {
|
|
|
368
694
|
};
|
|
369
695
|
declare function readToEnvoyRequestChunk(bc: bare.ByteCursor): ToEnvoyRequestChunk;
|
|
370
696
|
declare function writeToEnvoyRequestChunk(bc: bare.ByteCursor, x: ToEnvoyRequestChunk): void;
|
|
371
|
-
|
|
697
|
+
/**
|
|
698
|
+
* Cumulative request-body bytes consumed by the actor handler. This restores
|
|
699
|
+
* sender credit without requiring one acknowledgement per chunk.
|
|
700
|
+
*/
|
|
701
|
+
type ToRivetRequestBodyWindowUpdate = {
|
|
702
|
+
readonly consumedBytes: u64;
|
|
703
|
+
};
|
|
704
|
+
declare function readToRivetRequestBodyWindowUpdate(bc: bare.ByteCursor): ToRivetRequestBodyWindowUpdate;
|
|
705
|
+
declare function writeToRivetRequestBodyWindowUpdate(bc: bare.ByteCursor, x: ToRivetRequestBodyWindowUpdate): void;
|
|
706
|
+
/**
|
|
707
|
+
* The actor handler no longer wants request-body bytes. The HTTP response may
|
|
708
|
+
* still continue normally.
|
|
709
|
+
*/
|
|
710
|
+
type ToRivetRequestBodyCancel = null;
|
|
711
|
+
declare enum HttpStreamAbortReasonKind {
|
|
712
|
+
Unknown = "Unknown",
|
|
713
|
+
Cancelled = "Cancelled",
|
|
714
|
+
HandlerError = "HandlerError",
|
|
715
|
+
InternalError = "InternalError"
|
|
716
|
+
}
|
|
717
|
+
declare function readHttpStreamAbortReasonKind(bc: bare.ByteCursor): HttpStreamAbortReasonKind;
|
|
718
|
+
declare function writeHttpStreamAbortReasonKind(bc: bare.ByteCursor, x: HttpStreamAbortReasonKind): void;
|
|
719
|
+
type HttpStreamAbortReason = {
|
|
720
|
+
readonly kind: HttpStreamAbortReasonKind;
|
|
721
|
+
readonly detail: string | null;
|
|
722
|
+
};
|
|
723
|
+
declare function readHttpStreamAbortReason(bc: bare.ByteCursor): HttpStreamAbortReason;
|
|
724
|
+
declare function writeHttpStreamAbortReason(bc: bare.ByteCursor, x: HttpStreamAbortReason): void;
|
|
725
|
+
type ToEnvoyRequestAbort = {
|
|
726
|
+
/**
|
|
727
|
+
* Exact admission identity. Gateway 3 always sets both fields so Envoy can
|
|
728
|
+
* suppress a delayed RequestStart after an indeterminate handoff.
|
|
729
|
+
*/
|
|
730
|
+
readonly actorId: Id | null;
|
|
731
|
+
readonly actorGeneration: u32 | null;
|
|
732
|
+
readonly reason: HttpStreamAbortReason;
|
|
733
|
+
};
|
|
734
|
+
declare function readToEnvoyRequestAbort(bc: bare.ByteCursor): ToEnvoyRequestAbort;
|
|
735
|
+
declare function writeToEnvoyRequestAbort(bc: bare.ByteCursor, x: ToEnvoyRequestAbort): void;
|
|
736
|
+
/**
|
|
737
|
+
* Stop the actor-side request body without cancelling the HTTP response.
|
|
738
|
+
*/
|
|
739
|
+
type ToEnvoyRequestBodyCancel = null;
|
|
372
740
|
type ToRivetResponseStart = {
|
|
373
741
|
readonly status: u16;
|
|
374
742
|
readonly headers: ReadonlyMap<string, string>;
|
|
@@ -383,12 +751,30 @@ type ToRivetResponseChunk = {
|
|
|
383
751
|
};
|
|
384
752
|
declare function readToRivetResponseChunk(bc: bare.ByteCursor): ToRivetResponseChunk;
|
|
385
753
|
declare function writeToRivetResponseChunk(bc: bare.ByteCursor, x: ToRivetResponseChunk): void;
|
|
386
|
-
|
|
754
|
+
/**
|
|
755
|
+
* Cumulative response-body bytes consumed by the gateway client. This restores
|
|
756
|
+
* sender credit without requiring one acknowledgement per chunk.
|
|
757
|
+
*/
|
|
758
|
+
type ToEnvoyResponseBodyWindowUpdate = {
|
|
759
|
+
readonly consumedBytes: u64;
|
|
760
|
+
};
|
|
761
|
+
declare function readToEnvoyResponseBodyWindowUpdate(bc: bare.ByteCursor): ToEnvoyResponseBodyWindowUpdate;
|
|
762
|
+
declare function writeToEnvoyResponseBodyWindowUpdate(bc: bare.ByteCursor, x: ToEnvoyResponseBodyWindowUpdate): void;
|
|
763
|
+
type ToRivetResponseAbort = {
|
|
764
|
+
readonly reason: HttpStreamAbortReason;
|
|
765
|
+
};
|
|
766
|
+
declare function readToRivetResponseAbort(bc: bare.ByteCursor): ToRivetResponseAbort;
|
|
767
|
+
declare function writeToRivetResponseAbort(bc: bare.ByteCursor, x: ToRivetResponseAbort): void;
|
|
387
768
|
/**
|
|
388
769
|
* WebSocket
|
|
389
770
|
*/
|
|
390
771
|
type ToEnvoyWebSocketOpen = {
|
|
391
772
|
readonly actorId: Id;
|
|
773
|
+
/**
|
|
774
|
+
* Exact actor generation selected by Gateway 3. Legacy Gateway 2 requests
|
|
775
|
+
* omit this and retain highest-live-generation routing.
|
|
776
|
+
*/
|
|
777
|
+
readonly actorGeneration: u32 | null;
|
|
392
778
|
readonly path: string;
|
|
393
779
|
readonly headers: ReadonlyMap<string, string>;
|
|
394
780
|
};
|
|
@@ -445,6 +831,12 @@ type ToRivetTunnelMessageKind =
|
|
|
445
831
|
} | {
|
|
446
832
|
readonly tag: "ToRivetResponseAbort";
|
|
447
833
|
readonly val: ToRivetResponseAbort;
|
|
834
|
+
} | {
|
|
835
|
+
readonly tag: "ToRivetRequestBodyWindowUpdate";
|
|
836
|
+
readonly val: ToRivetRequestBodyWindowUpdate;
|
|
837
|
+
} | {
|
|
838
|
+
readonly tag: "ToRivetRequestBodyCancel";
|
|
839
|
+
readonly val: ToRivetRequestBodyCancel;
|
|
448
840
|
}
|
|
449
841
|
/**
|
|
450
842
|
* WebSocket
|
|
@@ -486,6 +878,12 @@ type ToEnvoyTunnelMessageKind =
|
|
|
486
878
|
} | {
|
|
487
879
|
readonly tag: "ToEnvoyRequestAbort";
|
|
488
880
|
readonly val: ToEnvoyRequestAbort;
|
|
881
|
+
} | {
|
|
882
|
+
readonly tag: "ToEnvoyRequestBodyCancel";
|
|
883
|
+
readonly val: ToEnvoyRequestBodyCancel;
|
|
884
|
+
} | {
|
|
885
|
+
readonly tag: "ToEnvoyResponseBodyWindowUpdate";
|
|
886
|
+
readonly val: ToEnvoyResponseBodyWindowUpdate;
|
|
489
887
|
}
|
|
490
888
|
/**
|
|
491
889
|
* WebSocket
|
|
@@ -543,6 +941,54 @@ type ToRivetKvRequest = {
|
|
|
543
941
|
};
|
|
544
942
|
declare function readToRivetKvRequest(bc: bare.ByteCursor): ToRivetKvRequest;
|
|
545
943
|
declare function writeToRivetKvRequest(bc: bare.ByteCursor, x: ToRivetKvRequest): void;
|
|
944
|
+
type ToRivetSqliteGetPagesRequest = {
|
|
945
|
+
readonly requestId: u32;
|
|
946
|
+
readonly data: SqliteGetPagesRequest;
|
|
947
|
+
};
|
|
948
|
+
declare function readToRivetSqliteGetPagesRequest(bc: bare.ByteCursor): ToRivetSqliteGetPagesRequest;
|
|
949
|
+
declare function writeToRivetSqliteGetPagesRequest(bc: bare.ByteCursor, x: ToRivetSqliteGetPagesRequest): void;
|
|
950
|
+
type ToRivetSqliteCommitRequest = {
|
|
951
|
+
readonly requestId: u32;
|
|
952
|
+
readonly data: SqliteCommitRequest;
|
|
953
|
+
};
|
|
954
|
+
declare function readToRivetSqliteCommitRequest(bc: bare.ByteCursor): ToRivetSqliteCommitRequest;
|
|
955
|
+
declare function writeToRivetSqliteCommitRequest(bc: bare.ByteCursor, x: ToRivetSqliteCommitRequest): void;
|
|
956
|
+
type ToRivetSqliteCommitStageBeginRequest = {
|
|
957
|
+
readonly requestId: u32;
|
|
958
|
+
readonly data: SqliteCommitStageBeginRequest;
|
|
959
|
+
};
|
|
960
|
+
declare function readToRivetSqliteCommitStageBeginRequest(bc: bare.ByteCursor): ToRivetSqliteCommitStageBeginRequest;
|
|
961
|
+
declare function writeToRivetSqliteCommitStageBeginRequest(bc: bare.ByteCursor, x: ToRivetSqliteCommitStageBeginRequest): void;
|
|
962
|
+
type ToRivetSqliteCommitStageSegmentRequest = {
|
|
963
|
+
readonly requestId: u32;
|
|
964
|
+
readonly data: SqliteCommitStageSegmentRequest;
|
|
965
|
+
};
|
|
966
|
+
declare function readToRivetSqliteCommitStageSegmentRequest(bc: bare.ByteCursor): ToRivetSqliteCommitStageSegmentRequest;
|
|
967
|
+
declare function writeToRivetSqliteCommitStageSegmentRequest(bc: bare.ByteCursor, x: ToRivetSqliteCommitStageSegmentRequest): void;
|
|
968
|
+
type ToRivetSqliteCommitFinalizeRequest = {
|
|
969
|
+
readonly requestId: u32;
|
|
970
|
+
readonly data: SqliteCommitFinalizeRequest;
|
|
971
|
+
};
|
|
972
|
+
declare function readToRivetSqliteCommitFinalizeRequest(bc: bare.ByteCursor): ToRivetSqliteCommitFinalizeRequest;
|
|
973
|
+
declare function writeToRivetSqliteCommitFinalizeRequest(bc: bare.ByteCursor, x: ToRivetSqliteCommitFinalizeRequest): void;
|
|
974
|
+
type ToRivetSqliteExecRequest = {
|
|
975
|
+
readonly requestId: u32;
|
|
976
|
+
readonly data: SqliteExecRequest;
|
|
977
|
+
};
|
|
978
|
+
declare function readToRivetSqliteExecRequest(bc: bare.ByteCursor): ToRivetSqliteExecRequest;
|
|
979
|
+
declare function writeToRivetSqliteExecRequest(bc: bare.ByteCursor, x: ToRivetSqliteExecRequest): void;
|
|
980
|
+
type ToRivetSqliteExecuteRequest = {
|
|
981
|
+
readonly requestId: u32;
|
|
982
|
+
readonly data: SqliteExecuteRequest;
|
|
983
|
+
};
|
|
984
|
+
declare function readToRivetSqliteExecuteRequest(bc: bare.ByteCursor): ToRivetSqliteExecuteRequest;
|
|
985
|
+
declare function writeToRivetSqliteExecuteRequest(bc: bare.ByteCursor, x: ToRivetSqliteExecuteRequest): void;
|
|
986
|
+
type ToRivetSqliteExecuteBatchRequest = {
|
|
987
|
+
readonly requestId: u32;
|
|
988
|
+
readonly data: SqliteExecuteBatchRequest;
|
|
989
|
+
};
|
|
990
|
+
declare function readToRivetSqliteExecuteBatchRequest(bc: bare.ByteCursor): ToRivetSqliteExecuteBatchRequest;
|
|
991
|
+
declare function writeToRivetSqliteExecuteBatchRequest(bc: bare.ByteCursor, x: ToRivetSqliteExecuteBatchRequest): void;
|
|
546
992
|
type ToRivet = {
|
|
547
993
|
readonly tag: "ToRivetMetadata";
|
|
548
994
|
readonly val: ToRivetMetadata;
|
|
@@ -564,6 +1010,30 @@ type ToRivet = {
|
|
|
564
1010
|
} | {
|
|
565
1011
|
readonly tag: "ToRivetTunnelMessage";
|
|
566
1012
|
readonly val: ToRivetTunnelMessage;
|
|
1013
|
+
} | {
|
|
1014
|
+
readonly tag: "ToRivetSqliteGetPagesRequest";
|
|
1015
|
+
readonly val: ToRivetSqliteGetPagesRequest;
|
|
1016
|
+
} | {
|
|
1017
|
+
readonly tag: "ToRivetSqliteCommitRequest";
|
|
1018
|
+
readonly val: ToRivetSqliteCommitRequest;
|
|
1019
|
+
} | {
|
|
1020
|
+
readonly tag: "ToRivetSqliteCommitStageBeginRequest";
|
|
1021
|
+
readonly val: ToRivetSqliteCommitStageBeginRequest;
|
|
1022
|
+
} | {
|
|
1023
|
+
readonly tag: "ToRivetSqliteCommitStageSegmentRequest";
|
|
1024
|
+
readonly val: ToRivetSqliteCommitStageSegmentRequest;
|
|
1025
|
+
} | {
|
|
1026
|
+
readonly tag: "ToRivetSqliteCommitFinalizeRequest";
|
|
1027
|
+
readonly val: ToRivetSqliteCommitFinalizeRequest;
|
|
1028
|
+
} | {
|
|
1029
|
+
readonly tag: "ToRivetSqliteExecRequest";
|
|
1030
|
+
readonly val: ToRivetSqliteExecRequest;
|
|
1031
|
+
} | {
|
|
1032
|
+
readonly tag: "ToRivetSqliteExecuteRequest";
|
|
1033
|
+
readonly val: ToRivetSqliteExecuteRequest;
|
|
1034
|
+
} | {
|
|
1035
|
+
readonly tag: "ToRivetSqliteExecuteBatchRequest";
|
|
1036
|
+
readonly val: ToRivetSqliteExecuteBatchRequest;
|
|
567
1037
|
};
|
|
568
1038
|
declare function readToRivet(bc: bare.ByteCursor): ToRivet;
|
|
569
1039
|
declare function writeToRivet(bc: bare.ByteCursor, x: ToRivet): void;
|
|
@@ -598,6 +1068,54 @@ type ToEnvoyKvResponse = {
|
|
|
598
1068
|
};
|
|
599
1069
|
declare function readToEnvoyKvResponse(bc: bare.ByteCursor): ToEnvoyKvResponse;
|
|
600
1070
|
declare function writeToEnvoyKvResponse(bc: bare.ByteCursor, x: ToEnvoyKvResponse): void;
|
|
1071
|
+
type ToEnvoySqliteGetPagesResponse = {
|
|
1072
|
+
readonly requestId: u32;
|
|
1073
|
+
readonly data: SqliteGetPagesResponse;
|
|
1074
|
+
};
|
|
1075
|
+
declare function readToEnvoySqliteGetPagesResponse(bc: bare.ByteCursor): ToEnvoySqliteGetPagesResponse;
|
|
1076
|
+
declare function writeToEnvoySqliteGetPagesResponse(bc: bare.ByteCursor, x: ToEnvoySqliteGetPagesResponse): void;
|
|
1077
|
+
type ToEnvoySqliteCommitResponse = {
|
|
1078
|
+
readonly requestId: u32;
|
|
1079
|
+
readonly data: SqliteCommitResponse;
|
|
1080
|
+
};
|
|
1081
|
+
declare function readToEnvoySqliteCommitResponse(bc: bare.ByteCursor): ToEnvoySqliteCommitResponse;
|
|
1082
|
+
declare function writeToEnvoySqliteCommitResponse(bc: bare.ByteCursor, x: ToEnvoySqliteCommitResponse): void;
|
|
1083
|
+
type ToEnvoySqliteCommitStageBeginResponse = {
|
|
1084
|
+
readonly requestId: u32;
|
|
1085
|
+
readonly data: SqliteCommitStageBeginResponse;
|
|
1086
|
+
};
|
|
1087
|
+
declare function readToEnvoySqliteCommitStageBeginResponse(bc: bare.ByteCursor): ToEnvoySqliteCommitStageBeginResponse;
|
|
1088
|
+
declare function writeToEnvoySqliteCommitStageBeginResponse(bc: bare.ByteCursor, x: ToEnvoySqliteCommitStageBeginResponse): void;
|
|
1089
|
+
type ToEnvoySqliteCommitStageSegmentResponse = {
|
|
1090
|
+
readonly requestId: u32;
|
|
1091
|
+
readonly data: SqliteCommitStageSegmentResponse;
|
|
1092
|
+
};
|
|
1093
|
+
declare function readToEnvoySqliteCommitStageSegmentResponse(bc: bare.ByteCursor): ToEnvoySqliteCommitStageSegmentResponse;
|
|
1094
|
+
declare function writeToEnvoySqliteCommitStageSegmentResponse(bc: bare.ByteCursor, x: ToEnvoySqliteCommitStageSegmentResponse): void;
|
|
1095
|
+
type ToEnvoySqliteCommitFinalizeResponse = {
|
|
1096
|
+
readonly requestId: u32;
|
|
1097
|
+
readonly data: SqliteCommitFinalizeResponse;
|
|
1098
|
+
};
|
|
1099
|
+
declare function readToEnvoySqliteCommitFinalizeResponse(bc: bare.ByteCursor): ToEnvoySqliteCommitFinalizeResponse;
|
|
1100
|
+
declare function writeToEnvoySqliteCommitFinalizeResponse(bc: bare.ByteCursor, x: ToEnvoySqliteCommitFinalizeResponse): void;
|
|
1101
|
+
type ToEnvoySqliteExecResponse = {
|
|
1102
|
+
readonly requestId: u32;
|
|
1103
|
+
readonly data: SqliteExecResponse;
|
|
1104
|
+
};
|
|
1105
|
+
declare function readToEnvoySqliteExecResponse(bc: bare.ByteCursor): ToEnvoySqliteExecResponse;
|
|
1106
|
+
declare function writeToEnvoySqliteExecResponse(bc: bare.ByteCursor, x: ToEnvoySqliteExecResponse): void;
|
|
1107
|
+
type ToEnvoySqliteExecuteResponse = {
|
|
1108
|
+
readonly requestId: u32;
|
|
1109
|
+
readonly data: SqliteExecuteResponse;
|
|
1110
|
+
};
|
|
1111
|
+
declare function readToEnvoySqliteExecuteResponse(bc: bare.ByteCursor): ToEnvoySqliteExecuteResponse;
|
|
1112
|
+
declare function writeToEnvoySqliteExecuteResponse(bc: bare.ByteCursor, x: ToEnvoySqliteExecuteResponse): void;
|
|
1113
|
+
type ToEnvoySqliteExecuteBatchResponse = {
|
|
1114
|
+
readonly requestId: u32;
|
|
1115
|
+
readonly data: SqliteExecuteBatchResponse;
|
|
1116
|
+
};
|
|
1117
|
+
declare function readToEnvoySqliteExecuteBatchResponse(bc: bare.ByteCursor): ToEnvoySqliteExecuteBatchResponse;
|
|
1118
|
+
declare function writeToEnvoySqliteExecuteBatchResponse(bc: bare.ByteCursor, x: ToEnvoySqliteExecuteBatchResponse): void;
|
|
601
1119
|
type ToEnvoy = {
|
|
602
1120
|
readonly tag: "ToEnvoyInit";
|
|
603
1121
|
readonly val: ToEnvoyInit;
|
|
@@ -616,6 +1134,30 @@ type ToEnvoy = {
|
|
|
616
1134
|
} | {
|
|
617
1135
|
readonly tag: "ToEnvoyPing";
|
|
618
1136
|
readonly val: ToEnvoyPing;
|
|
1137
|
+
} | {
|
|
1138
|
+
readonly tag: "ToEnvoySqliteGetPagesResponse";
|
|
1139
|
+
readonly val: ToEnvoySqliteGetPagesResponse;
|
|
1140
|
+
} | {
|
|
1141
|
+
readonly tag: "ToEnvoySqliteCommitResponse";
|
|
1142
|
+
readonly val: ToEnvoySqliteCommitResponse;
|
|
1143
|
+
} | {
|
|
1144
|
+
readonly tag: "ToEnvoySqliteCommitStageBeginResponse";
|
|
1145
|
+
readonly val: ToEnvoySqliteCommitStageBeginResponse;
|
|
1146
|
+
} | {
|
|
1147
|
+
readonly tag: "ToEnvoySqliteCommitStageSegmentResponse";
|
|
1148
|
+
readonly val: ToEnvoySqliteCommitStageSegmentResponse;
|
|
1149
|
+
} | {
|
|
1150
|
+
readonly tag: "ToEnvoySqliteCommitFinalizeResponse";
|
|
1151
|
+
readonly val: ToEnvoySqliteCommitFinalizeResponse;
|
|
1152
|
+
} | {
|
|
1153
|
+
readonly tag: "ToEnvoySqliteExecResponse";
|
|
1154
|
+
readonly val: ToEnvoySqliteExecResponse;
|
|
1155
|
+
} | {
|
|
1156
|
+
readonly tag: "ToEnvoySqliteExecuteResponse";
|
|
1157
|
+
readonly val: ToEnvoySqliteExecuteResponse;
|
|
1158
|
+
} | {
|
|
1159
|
+
readonly tag: "ToEnvoySqliteExecuteBatchResponse";
|
|
1160
|
+
readonly val: ToEnvoySqliteExecuteBatchResponse;
|
|
619
1161
|
};
|
|
620
1162
|
declare function readToEnvoy(bc: bare.ByteCursor): ToEnvoy;
|
|
621
1163
|
declare function writeToEnvoy(bc: bare.ByteCursor, x: ToEnvoy): void;
|
|
@@ -691,6 +1233,6 @@ declare function readToOutbound(bc: bare.ByteCursor): ToOutbound;
|
|
|
691
1233
|
declare function writeToOutbound(bc: bare.ByteCursor, x: ToOutbound): void;
|
|
692
1234
|
declare function encodeToOutbound(x: ToOutbound, config?: Partial<bare.Config>): Uint8Array;
|
|
693
1235
|
declare function decodeToOutbound(bytes: Uint8Array): ToOutbound;
|
|
694
|
-
declare const VERSION =
|
|
1236
|
+
declare const VERSION = 8;
|
|
695
1237
|
|
|
696
|
-
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, 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 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 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, readStopActorReason, readStopCode, readToEnvoy, readToEnvoyAckEvents, readToEnvoyCommands, readToEnvoyConn, readToEnvoyConnPing, readToEnvoyInit, readToEnvoyKvResponse, readToEnvoyPing, readToEnvoyRequestChunk, readToEnvoyRequestStart, readToEnvoyTunnelMessage, readToEnvoyTunnelMessageKind, readToEnvoyWebSocketClose, readToEnvoyWebSocketMessage, readToEnvoyWebSocketOpen, readToGateway, readToGatewayPong, readToOutbound, readToOutboundActorStart, readToRivet, readToRivetAckCommands, readToRivetEvents, readToRivetKvRequest, readToRivetMetadata, readToRivetPong, readToRivetResponseChunk, readToRivetResponseStart, 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, writeStopActorReason, writeStopCode, writeToEnvoy, writeToEnvoyAckEvents, writeToEnvoyCommands, writeToEnvoyConn, writeToEnvoyConnPing, writeToEnvoyInit, writeToEnvoyKvResponse, writeToEnvoyPing, writeToEnvoyRequestChunk, writeToEnvoyRequestStart, writeToEnvoyTunnelMessage, writeToEnvoyTunnelMessageKind, writeToEnvoyWebSocketClose, writeToEnvoyWebSocketMessage, writeToEnvoyWebSocketOpen, writeToGateway, writeToGatewayPong, writeToOutbound, writeToOutboundActorStart, writeToRivet, writeToRivetAckCommands, writeToRivetEvents, writeToRivetKvRequest, writeToRivetMetadata, writeToRivetPong, writeToRivetResponseChunk, writeToRivetResponseStart, writeToRivetTunnelMessage, writeToRivetTunnelMessageKind, writeToRivetWebSocketClose, writeToRivetWebSocketMessage, writeToRivetWebSocketMessageAck, writeToRivetWebSocketOpen };
|
|
1238
|
+
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 HttpStreamAbortReason, HttpStreamAbortReasonKind, 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 SqliteBatchStatement, type SqliteBindParam, type SqliteColumnValue, type SqliteCommitFinalizeOk, type SqliteCommitFinalizeRequest, type SqliteCommitFinalizeResponse, type SqliteCommitOk, type SqliteCommitRequest, type SqliteCommitResponse, type SqliteCommitStageBeginOk, type SqliteCommitStageBeginRequest, type SqliteCommitStageBeginResponse, type SqliteCommitStageSegmentOk, type SqliteCommitStageSegmentRequest, type SqliteCommitStageSegmentResponse, type SqliteDirtyPage, type SqliteErrorResponse, type SqliteExecOk, type SqliteExecRequest, type SqliteExecResponse, type SqliteExecuteBatchOk, type SqliteExecuteBatchRequest, type SqliteExecuteBatchResponse, type SqliteExecuteOk, type SqliteExecuteRequest, type SqliteExecuteResponse, type SqliteExecuteResult, type SqliteFetchedPage, type SqliteGeneration, type SqliteGetPagesOk, type SqliteGetPagesRequest, type SqliteGetPagesResponse, type SqlitePageBytes, type SqlitePgno, type SqliteQueryResult, type SqliteValueBlob, type SqliteValueFloat, type SqliteValueInteger, type SqliteValueNull, type SqliteValueText, StopActorReason, StopCode, type ToEnvoy, type ToEnvoyAckEvents, type ToEnvoyCommands, type ToEnvoyConn, type ToEnvoyConnClose, type ToEnvoyConnPing, type ToEnvoyInit, type ToEnvoyKvResponse, type ToEnvoyPing, type ToEnvoyRequestAbort, type ToEnvoyRequestBodyCancel, type ToEnvoyRequestChunk, type ToEnvoyRequestStart, type ToEnvoyResponseBodyWindowUpdate, type ToEnvoySqliteCommitFinalizeResponse, type ToEnvoySqliteCommitResponse, type ToEnvoySqliteCommitStageBeginResponse, type ToEnvoySqliteCommitStageSegmentResponse, type ToEnvoySqliteExecResponse, type ToEnvoySqliteExecuteBatchResponse, type ToEnvoySqliteExecuteResponse, 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 ToRivetRequestBodyCancel, type ToRivetRequestBodyWindowUpdate, type ToRivetResponseAbort, type ToRivetResponseChunk, type ToRivetResponseStart, type ToRivetSqliteCommitFinalizeRequest, type ToRivetSqliteCommitRequest, type ToRivetSqliteCommitStageBeginRequest, type ToRivetSqliteCommitStageSegmentRequest, type ToRivetSqliteExecRequest, type ToRivetSqliteExecuteBatchRequest, type ToRivetSqliteExecuteRequest, 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, readHttpStreamAbortReason, readHttpStreamAbortReasonKind, readId, readJson, readKvDeleteRangeRequest, readKvDeleteRequest, readKvErrorResponse, readKvGetRequest, readKvGetResponse, readKvKey, readKvListPrefixQuery, readKvListQuery, readKvListRangeQuery, readKvListRequest, readKvListResponse, readKvMetadata, readKvPutRequest, readKvRequestData, readKvResponseData, readKvValue, readMessageId, readMessageIndex, readPreloadedKv, readPreloadedKvEntry, readProtocolMetadata, readRequestId, readSqliteBatchStatement, readSqliteBindParam, readSqliteColumnValue, readSqliteCommitFinalizeOk, readSqliteCommitFinalizeRequest, readSqliteCommitFinalizeResponse, readSqliteCommitOk, readSqliteCommitRequest, readSqliteCommitResponse, readSqliteCommitStageBeginOk, readSqliteCommitStageBeginRequest, readSqliteCommitStageBeginResponse, readSqliteCommitStageSegmentOk, readSqliteCommitStageSegmentRequest, readSqliteCommitStageSegmentResponse, readSqliteDirtyPage, readSqliteErrorResponse, readSqliteExecOk, readSqliteExecRequest, readSqliteExecResponse, readSqliteExecuteBatchOk, readSqliteExecuteBatchRequest, readSqliteExecuteBatchResponse, readSqliteExecuteOk, readSqliteExecuteRequest, readSqliteExecuteResponse, readSqliteExecuteResult, readSqliteFetchedPage, readSqliteGeneration, readSqliteGetPagesOk, readSqliteGetPagesRequest, readSqliteGetPagesResponse, readSqlitePageBytes, readSqlitePgno, readSqliteQueryResult, readSqliteValueBlob, readSqliteValueFloat, readSqliteValueInteger, readSqliteValueText, readStopActorReason, readStopCode, readToEnvoy, readToEnvoyAckEvents, readToEnvoyCommands, readToEnvoyConn, readToEnvoyConnPing, readToEnvoyInit, readToEnvoyKvResponse, readToEnvoyPing, readToEnvoyRequestAbort, readToEnvoyRequestChunk, readToEnvoyRequestStart, readToEnvoyResponseBodyWindowUpdate, readToEnvoySqliteCommitFinalizeResponse, readToEnvoySqliteCommitResponse, readToEnvoySqliteCommitStageBeginResponse, readToEnvoySqliteCommitStageSegmentResponse, readToEnvoySqliteExecResponse, readToEnvoySqliteExecuteBatchResponse, readToEnvoySqliteExecuteResponse, readToEnvoySqliteGetPagesResponse, readToEnvoyTunnelMessage, readToEnvoyTunnelMessageKind, readToEnvoyWebSocketClose, readToEnvoyWebSocketMessage, readToEnvoyWebSocketOpen, readToGateway, readToGatewayPong, readToOutbound, readToOutboundActorStart, readToRivet, readToRivetAckCommands, readToRivetEvents, readToRivetKvRequest, readToRivetMetadata, readToRivetPong, readToRivetRequestBodyWindowUpdate, readToRivetResponseAbort, readToRivetResponseChunk, readToRivetResponseStart, readToRivetSqliteCommitFinalizeRequest, readToRivetSqliteCommitRequest, readToRivetSqliteCommitStageBeginRequest, readToRivetSqliteCommitStageSegmentRequest, readToRivetSqliteExecRequest, readToRivetSqliteExecuteBatchRequest, readToRivetSqliteExecuteRequest, 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, writeHttpStreamAbortReason, writeHttpStreamAbortReasonKind, writeId, writeJson, writeKvDeleteRangeRequest, writeKvDeleteRequest, writeKvErrorResponse, writeKvGetRequest, writeKvGetResponse, writeKvKey, writeKvListPrefixQuery, writeKvListQuery, writeKvListRangeQuery, writeKvListRequest, writeKvListResponse, writeKvMetadata, writeKvPutRequest, writeKvRequestData, writeKvResponseData, writeKvValue, writeMessageId, writeMessageIndex, writePreloadedKv, writePreloadedKvEntry, writeProtocolMetadata, writeRequestId, writeSqliteBatchStatement, writeSqliteBindParam, writeSqliteColumnValue, writeSqliteCommitFinalizeOk, writeSqliteCommitFinalizeRequest, writeSqliteCommitFinalizeResponse, writeSqliteCommitOk, writeSqliteCommitRequest, writeSqliteCommitResponse, writeSqliteCommitStageBeginOk, writeSqliteCommitStageBeginRequest, writeSqliteCommitStageBeginResponse, writeSqliteCommitStageSegmentOk, writeSqliteCommitStageSegmentRequest, writeSqliteCommitStageSegmentResponse, writeSqliteDirtyPage, writeSqliteErrorResponse, writeSqliteExecOk, writeSqliteExecRequest, writeSqliteExecResponse, writeSqliteExecuteBatchOk, writeSqliteExecuteBatchRequest, writeSqliteExecuteBatchResponse, writeSqliteExecuteOk, writeSqliteExecuteRequest, writeSqliteExecuteResponse, writeSqliteExecuteResult, writeSqliteFetchedPage, writeSqliteGeneration, writeSqliteGetPagesOk, writeSqliteGetPagesRequest, writeSqliteGetPagesResponse, writeSqlitePageBytes, writeSqlitePgno, writeSqliteQueryResult, writeSqliteValueBlob, writeSqliteValueFloat, writeSqliteValueInteger, writeSqliteValueText, writeStopActorReason, writeStopCode, writeToEnvoy, writeToEnvoyAckEvents, writeToEnvoyCommands, writeToEnvoyConn, writeToEnvoyConnPing, writeToEnvoyInit, writeToEnvoyKvResponse, writeToEnvoyPing, writeToEnvoyRequestAbort, writeToEnvoyRequestChunk, writeToEnvoyRequestStart, writeToEnvoyResponseBodyWindowUpdate, writeToEnvoySqliteCommitFinalizeResponse, writeToEnvoySqliteCommitResponse, writeToEnvoySqliteCommitStageBeginResponse, writeToEnvoySqliteCommitStageSegmentResponse, writeToEnvoySqliteExecResponse, writeToEnvoySqliteExecuteBatchResponse, writeToEnvoySqliteExecuteResponse, writeToEnvoySqliteGetPagesResponse, writeToEnvoyTunnelMessage, writeToEnvoyTunnelMessageKind, writeToEnvoyWebSocketClose, writeToEnvoyWebSocketMessage, writeToEnvoyWebSocketOpen, writeToGateway, writeToGatewayPong, writeToOutbound, writeToOutboundActorStart, writeToRivet, writeToRivetAckCommands, writeToRivetEvents, writeToRivetKvRequest, writeToRivetMetadata, writeToRivetPong, writeToRivetRequestBodyWindowUpdate, writeToRivetResponseAbort, writeToRivetResponseChunk, writeToRivetResponseStart, writeToRivetSqliteCommitFinalizeRequest, writeToRivetSqliteCommitRequest, writeToRivetSqliteCommitStageBeginRequest, writeToRivetSqliteCommitStageSegmentRequest, writeToRivetSqliteExecRequest, writeToRivetSqliteExecuteBatchRequest, writeToRivetSqliteExecuteRequest, writeToRivetSqliteGetPagesRequest, writeToRivetTunnelMessage, writeToRivetTunnelMessageKind, writeToRivetWebSocketClose, writeToRivetWebSocketMessage, writeToRivetWebSocketMessageAck, writeToRivetWebSocketOpen };
|