rivetkit 0.0.0-main.41efcce → 0.0.0-main.49693dc
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/browser/client.d.ts +939 -104
- package/dist/browser/client.js +1867 -900
- package/dist/browser/client.js.map +1 -1
- package/dist/browser/inspector/client.d.ts +252 -129
- package/dist/browser/inspector/client.js +2079 -233
- package/dist/browser/inspector/client.js.map +1 -1
- package/dist/tsup/actor/errors.cjs +6 -2
- package/dist/tsup/actor/errors.cjs.map +1 -1
- package/dist/tsup/actor/errors.d.cts +1 -74
- package/dist/tsup/actor/errors.d.ts +1 -74
- package/dist/tsup/actor/errors.js +5 -1
- package/dist/tsup/agent-os/index.cjs +2408 -2029
- package/dist/tsup/agent-os/index.cjs.map +1 -1
- package/dist/tsup/agent-os/index.d.cts +932 -114
- package/dist/tsup/agent-os/index.d.ts +932 -114
- package/dist/tsup/agent-os/index.js +2412 -2033
- package/dist/tsup/agent-os/index.js.map +1 -1
- package/dist/tsup/{chunk-J27CEW6F.js → chunk-2OBVQZX6.js} +6 -6
- package/dist/tsup/chunk-2OBVQZX6.js.map +1 -0
- package/dist/tsup/chunk-3ZWHWMFJ.js +14 -0
- package/dist/tsup/chunk-3ZWHWMFJ.js.map +1 -0
- package/dist/tsup/{chunk-AK57AL7S.cjs → chunk-4KGXFC6M.cjs} +238 -22
- package/dist/tsup/chunk-4KGXFC6M.cjs.map +1 -0
- package/dist/tsup/{chunk-CVHUXINE.js → chunk-5IU3MI7X.js} +594 -72
- package/dist/tsup/chunk-5IU3MI7X.js.map +1 -0
- package/dist/tsup/{chunk-VD7AZIBR.js → chunk-6CXQMHZR.js} +1161 -361
- package/dist/tsup/chunk-6CXQMHZR.js.map +1 -0
- package/dist/tsup/{chunk-SBEFJ4IQ.js → chunk-6W2UIH3X.js} +70 -8
- package/dist/tsup/chunk-6W2UIH3X.js.map +1 -0
- package/dist/tsup/{chunk-7MRGNVSR.js → chunk-6W5VGLFT.js} +237 -21
- package/dist/tsup/chunk-6W5VGLFT.js.map +1 -0
- package/dist/tsup/{chunk-RF3MEJV6.cjs → chunk-B73TBMMG.cjs} +18 -11
- package/dist/tsup/chunk-B73TBMMG.cjs.map +1 -0
- package/dist/tsup/chunk-D6TORRA4.js +243 -0
- package/dist/tsup/chunk-D6TORRA4.js.map +1 -0
- package/dist/tsup/{chunk-PXLJOMJD.js → chunk-FXT3HN32.js} +2 -2
- package/dist/tsup/{chunk-ZGWSH7YV.js → chunk-IXBD7BXC.js} +48 -72
- package/dist/tsup/chunk-IXBD7BXC.js.map +1 -0
- package/dist/tsup/{chunk-3BFYSYRU.js → chunk-JI6GZ2C2.js} +4 -12
- package/dist/tsup/chunk-JI6GZ2C2.js.map +1 -0
- package/dist/tsup/{chunk-PCBNKI2J.js → chunk-JTHHCZCZ.js} +24 -1
- package/dist/tsup/chunk-JTHHCZCZ.js.map +1 -0
- package/dist/tsup/{chunk-2NDZ7JCR.cjs → chunk-KVFIONKQ.cjs} +25 -2
- package/dist/tsup/chunk-KVFIONKQ.cjs.map +1 -0
- package/dist/tsup/{chunk-SPMMF6TR.cjs → chunk-LGOWPZJ5.cjs} +3 -3
- package/dist/tsup/chunk-LGOWPZJ5.cjs.map +1 -0
- package/dist/tsup/chunk-LYNWTX6R.cjs +14 -0
- package/dist/tsup/chunk-LYNWTX6R.cjs.map +1 -0
- package/dist/tsup/{chunk-LLD2D5LO.cjs → chunk-MYWZCDML.cjs} +4 -12
- package/dist/tsup/chunk-MYWZCDML.cjs.map +1 -0
- package/dist/tsup/{chunk-XSC2WWXD.js → chunk-NYDZLWHZ.js} +16 -9
- package/dist/tsup/chunk-NYDZLWHZ.js.map +1 -0
- package/dist/tsup/{chunk-AV54CVAG.cjs → chunk-RB7WUDX6.cjs} +1290 -490
- package/dist/tsup/chunk-RB7WUDX6.cjs.map +1 -0
- package/dist/tsup/{chunk-JTL6Y2UN.cjs → chunk-SPJORZMM.cjs} +49 -73
- package/dist/tsup/chunk-SPJORZMM.cjs.map +1 -0
- package/dist/tsup/chunk-SSMKIYEX.cjs +243 -0
- package/dist/tsup/chunk-SSMKIYEX.cjs.map +1 -0
- package/dist/tsup/{chunk-TQSL4NJ3.cjs → chunk-TQ4HSX2U.cjs} +72 -10
- package/dist/tsup/chunk-TQ4HSX2U.cjs.map +1 -0
- package/dist/tsup/{chunk-EVADNK6Z.cjs → chunk-U6ZQELGJ.cjs} +10 -10
- package/dist/tsup/chunk-U6ZQELGJ.cjs.map +1 -0
- package/dist/tsup/chunk-XLBMKZD3.cjs +1257 -0
- package/dist/tsup/chunk-XLBMKZD3.cjs.map +1 -0
- package/dist/tsup/client/mod.cjs +8 -9
- package/dist/tsup/client/mod.cjs.map +1 -1
- package/dist/tsup/client/mod.d.cts +18 -7
- package/dist/tsup/client/mod.d.ts +18 -7
- package/dist/tsup/client/mod.js +7 -8
- package/dist/tsup/common/log.cjs +5 -3
- package/dist/tsup/common/log.cjs.map +1 -1
- package/dist/tsup/common/log.d.cts +5 -1
- package/dist/tsup/common/log.d.ts +5 -1
- package/dist/tsup/common/log.js +6 -4
- package/dist/tsup/common/websocket.cjs +4 -4
- package/dist/tsup/common/websocket.cjs.map +1 -1
- package/dist/tsup/common/websocket.js +3 -3
- package/dist/tsup/{config-B3RIidaJ.d.ts → config-BXSV17G7.d.cts} +987 -72
- package/dist/tsup/{config-D6WxBYjV.d.cts → config-Bi1r6gI7.d.ts} +987 -72
- package/dist/tsup/{config-B9qUIHX4.d.ts → config-ey2I2zz5.d.cts} +82 -15
- package/dist/tsup/{config-B9qUIHX4.d.cts → config-ey2I2zz5.d.ts} +82 -15
- package/dist/tsup/context-4fJemY0D.d.cts +129 -0
- package/dist/tsup/context-D4sNYboo.d.ts +129 -0
- package/dist/tsup/db/drizzle.cjs +168 -103
- package/dist/tsup/db/drizzle.cjs.map +1 -1
- package/dist/tsup/db/drizzle.d.cts +8 -4
- package/dist/tsup/db/drizzle.d.ts +8 -4
- package/dist/tsup/db/drizzle.js +170 -105
- package/dist/tsup/db/drizzle.js.map +1 -1
- package/dist/tsup/db/mod.cjs +6 -163
- package/dist/tsup/db/mod.cjs.map +1 -1
- package/dist/tsup/db/mod.d.cts +12 -4
- package/dist/tsup/db/mod.d.ts +12 -4
- package/dist/tsup/db/mod.js +5 -162
- package/dist/tsup/db/mod.js.map +1 -1
- package/dist/tsup/dynamic/mod.cjs +24 -0
- package/dist/tsup/dynamic/mod.cjs.map +1 -0
- package/dist/tsup/dynamic/mod.d.cts +38 -0
- package/dist/tsup/dynamic/mod.d.ts +38 -0
- package/dist/tsup/dynamic/mod.js +24 -0
- package/dist/tsup/dynamic/mod.js.map +1 -0
- package/dist/tsup/inspector/mod.cjs +47 -12
- package/dist/tsup/inspector/mod.cjs.map +1 -1
- package/dist/tsup/inspector/mod.d.cts +26 -136
- package/dist/tsup/inspector/mod.d.ts +26 -136
- package/dist/tsup/inspector/mod.js +46 -11
- package/dist/tsup/inspector/mod.js.map +1 -1
- package/dist/tsup/inspector/workflow.cjs +21 -0
- package/dist/tsup/inspector/workflow.cjs.map +1 -0
- package/dist/tsup/inspector/workflow.d.cts +144 -0
- package/dist/tsup/inspector/workflow.d.ts +144 -0
- package/dist/tsup/inspector/workflow.js +21 -0
- package/dist/tsup/inspector/workflow.js.map +1 -0
- package/dist/tsup/inspector-tab/mod.cjs +162 -0
- package/dist/tsup/inspector-tab/mod.cjs.map +1 -0
- package/dist/tsup/inspector-tab/mod.d.cts +241 -0
- package/dist/tsup/inspector-tab/mod.d.ts +241 -0
- package/dist/tsup/inspector-tab/mod.js +162 -0
- package/dist/tsup/inspector-tab/mod.js.map +1 -0
- package/dist/tsup/mod.cjs +4268 -944
- package/dist/tsup/mod.cjs.map +1 -1
- package/dist/tsup/mod.d.cts +9 -8
- package/dist/tsup/mod.d.ts +9 -8
- package/dist/tsup/mod.js +4229 -905
- package/dist/tsup/mod.js.map +1 -1
- package/dist/tsup/test/mod.cjs +26 -21
- package/dist/tsup/test/mod.cjs.map +1 -1
- package/dist/tsup/test/mod.d.cts +7 -6
- package/dist/tsup/test/mod.d.ts +7 -6
- package/dist/tsup/test/mod.js +25 -20
- package/dist/tsup/test/mod.js.map +1 -1
- package/dist/tsup/unstable/migrations.cjs +101 -0
- package/dist/tsup/unstable/migrations.cjs.map +1 -0
- package/dist/tsup/unstable/migrations.d.cts +29 -0
- package/dist/tsup/unstable/migrations.d.ts +29 -0
- package/dist/tsup/unstable/migrations.js +101 -0
- package/dist/tsup/unstable/migrations.js.map +1 -0
- package/dist/tsup/utils-Bbz-3411.d.cts +162 -0
- package/dist/tsup/utils-BqdWVlzm.d.ts +162 -0
- package/dist/tsup/utils-vvJQyygr.d.cts +109 -0
- package/dist/tsup/utils-vvJQyygr.d.ts +109 -0
- package/dist/tsup/utils.cjs +7 -3
- package/dist/tsup/utils.cjs.map +1 -1
- package/dist/tsup/utils.d.cts +4 -147
- package/dist/tsup/utils.d.ts +4 -147
- package/dist/tsup/utils.js +6 -2
- package/dist/tsup/workflow/mod.cjs +517 -412
- package/dist/tsup/workflow/mod.cjs.map +1 -1
- package/dist/tsup/workflow/mod.d.cts +11 -10
- package/dist/tsup/workflow/mod.d.ts +11 -10
- package/dist/tsup/workflow/mod.js +511 -406
- package/dist/tsup/workflow/mod.js.map +1 -1
- package/package.json +62 -14
- package/src/actor/actions.ts +119 -0
- package/src/actor/config.test.ts +78 -0
- package/src/actor/config.ts +518 -96
- package/src/actor/contexts/index.ts +7 -2
- package/src/actor/definition.ts +38 -26
- package/src/actor/errors.ts +101 -89
- package/src/actor/keys.ts +2 -1
- package/src/actor/mod.ts +32 -21
- package/src/actor/schema.ts +2 -2
- package/src/agent-os/actor/cron.ts +37 -2
- package/src/agent-os/actor/index.ts +39 -19
- package/src/agent-os/actor/preview.ts +1 -2
- package/src/agent-os/actor/session.ts +2 -2
- package/src/agent-os/config.ts +1 -1
- package/src/agent-os/fs/database-vfs.ts +1 -1
- package/src/agent-os/index.ts +16 -15
- package/src/agent-os/types.ts +11 -0
- package/src/client/actor-common.ts +106 -53
- package/src/client/actor-conn.ts +94 -45
- package/src/client/actor-handle.ts +198 -79
- package/src/client/actor-query.ts +13 -6
- package/src/client/client.ts +43 -15
- package/src/client/config.ts +8 -0
- package/src/client/errors.ts +4 -2
- package/src/client/lifecycle-errors.ts +28 -4
- package/src/client/mod.ts +9 -4
- package/src/client/query.ts +3 -1
- package/src/client/queue.ts +8 -3
- package/src/client/raw-utils.ts +24 -16
- package/src/client/resolve-gateway-target.ts +3 -1
- package/src/client/utils.ts +36 -10
- package/src/common/actor-router-consts.ts +7 -0
- package/src/common/actor-websocket.ts +3 -1
- package/src/common/bare/actor-persist/v1.ts +205 -163
- package/src/common/bare/actor-persist/v2.ts +265 -213
- package/src/common/bare/actor-persist/v3.ts +176 -172
- package/src/common/bare/actor-persist/v4.ts +254 -253
- package/src/common/bare/generated/actor-runtime-socket-protocol/v1.ts +848 -0
- package/src/common/bare/generated/client-protocol/v4.ts +599 -0
- package/src/common/bare/generated/inspector/v5.ts +1016 -0
- package/src/common/bare/generated/inspector/v6.ts +1367 -0
- package/src/common/bare/transport/v1.ts +694 -542
- package/src/common/client-protocol-versioned.ts +176 -67
- package/src/common/client-protocol-zod.ts +7 -0
- package/src/common/client-protocol.ts +1 -1
- package/src/common/database/config.ts +103 -10
- package/src/common/database/mod.test.ts +364 -0
- package/src/common/database/mod.ts +278 -149
- package/src/common/database/native-database.test.ts +220 -0
- package/src/common/database/native-database.ts +394 -58
- package/src/common/database/shared.ts +25 -0
- package/src/common/encoding.ts +302 -38
- package/src/common/engine.ts +28 -1
- package/src/common/eventsource.ts +1 -1
- package/src/common/fetch-like.ts +49 -0
- package/src/common/inline-websocket-adapter.ts +14 -13
- package/src/common/inspector-transport.ts +12 -2
- package/src/common/log.ts +117 -14
- package/src/common/router.ts +49 -23
- package/src/common/utils.ts +23 -203
- package/src/common/websocket-interface.ts +1 -1
- package/src/db/drizzle.test.ts +164 -0
- package/src/db/drizzle.ts +207 -121
- package/src/db/mod.ts +6 -1
- package/src/devtools-loader/index.ts +4 -7
- package/src/devtools-loader/serve-devtools.ts +26 -0
- package/src/dynamic/instance.ts +32 -0
- package/src/dynamic/internal.ts +50 -0
- package/src/dynamic/isolate-runtime.ts +64 -0
- package/src/dynamic/mod.ts +32 -0
- package/src/engine-client/actor-http-client.ts +23 -4
- package/src/engine-client/actor-websocket-client.ts +32 -5
- package/src/engine-client/api-endpoints.ts +52 -2
- package/src/engine-client/api-utils.ts +2 -2
- package/src/engine-client/driver.ts +21 -17
- package/src/engine-client/mod.ts +116 -64
- package/src/engine-client/ws-proxy.ts +9 -4
- package/src/globals.d.ts +4 -0
- package/src/inspector/client.browser.ts +127 -15
- package/src/inspector/mod.ts +2 -4
- package/src/inspector/workflow.ts +61 -0
- package/src/inspector-tab/mod.ts +301 -0
- package/src/registry/config/envoy.ts +1 -2
- package/src/registry/config/index.ts +160 -53
- package/src/registry/config/serverless.ts +7 -1
- package/src/registry/index.ts +659 -96
- package/src/registry/napi-runtime.ts +1154 -0
- package/src/registry/native-validation.ts +10 -12
- package/src/registry/native.ts +2005 -955
- package/src/registry/process-metrics.ts +250 -0
- package/src/registry/run-handler-coordinator.test.ts +252 -0
- package/src/registry/run-handler-coordinator.ts +219 -0
- package/src/registry/runtime.test.ts +50 -0
- package/src/registry/runtime.ts +839 -0
- package/src/registry/wasm-runtime.ts +1283 -0
- package/src/registry/write-through-proxy.ts +141 -0
- package/src/serde.ts +8 -2
- package/src/serverless/configure.ts +102 -49
- package/src/test/mod.ts +2 -17
- package/src/test/ready.ts +22 -0
- package/src/unstable/migrations.test.ts +170 -0
- package/src/unstable/migrations.ts +141 -0
- package/src/utils/crypto.ts +14 -0
- package/src/utils/endpoint-parser.ts +1 -1
- package/src/utils/env-vars.ts +39 -0
- package/src/utils/node.ts +44 -28
- package/src/utils/router.ts +1 -1
- package/src/utils.ts +4 -2
- package/src/workflow/context.ts +683 -242
- package/src/workflow/driver.test.ts +62 -0
- package/src/workflow/driver.ts +246 -119
- package/src/workflow/inspector.ts +24 -24
- package/src/workflow/mod.ts +76 -84
- package/dist/tsup/chunk-2NDZ7JCR.cjs.map +0 -1
- package/dist/tsup/chunk-3BFYSYRU.js.map +0 -1
- package/dist/tsup/chunk-6AVUJ52Q.cjs +0 -253
- package/dist/tsup/chunk-6AVUJ52Q.cjs.map +0 -1
- package/dist/tsup/chunk-7MRGNVSR.js.map +0 -1
- package/dist/tsup/chunk-7X7RVTFF.cjs +0 -735
- package/dist/tsup/chunk-7X7RVTFF.cjs.map +0 -1
- package/dist/tsup/chunk-AK57AL7S.cjs.map +0 -1
- package/dist/tsup/chunk-AV54CVAG.cjs.map +0 -1
- package/dist/tsup/chunk-CVHUXINE.js.map +0 -1
- package/dist/tsup/chunk-EVADNK6Z.cjs.map +0 -1
- package/dist/tsup/chunk-J27CEW6F.js.map +0 -1
- package/dist/tsup/chunk-JTL6Y2UN.cjs.map +0 -1
- package/dist/tsup/chunk-LLD2D5LO.cjs.map +0 -1
- package/dist/tsup/chunk-PCBNKI2J.js.map +0 -1
- package/dist/tsup/chunk-RF3MEJV6.cjs.map +0 -1
- package/dist/tsup/chunk-SB4MXRN2.js +0 -253
- package/dist/tsup/chunk-SB4MXRN2.js.map +0 -1
- package/dist/tsup/chunk-SBEFJ4IQ.js.map +0 -1
- package/dist/tsup/chunk-SPMMF6TR.cjs.map +0 -1
- package/dist/tsup/chunk-TQSL4NJ3.cjs.map +0 -1
- package/dist/tsup/chunk-VD7AZIBR.js.map +0 -1
- package/dist/tsup/chunk-XSC2WWXD.js.map +0 -1
- package/dist/tsup/chunk-ZGWSH7YV.js.map +0 -1
- package/dist/tsup/context-BxvHh9wi.d.cts +0 -92
- package/dist/tsup/context-CNIZBIKl.d.ts +0 -92
- package/dist/tsup/utils-fwx3o3K9.d.cts +0 -18
- package/dist/tsup/utils-fwx3o3K9.d.ts +0 -18
- package/src/actor/driver.ts +0 -141
- package/src/actor/instance/mod.ts +0 -2501
- package/src/drivers/engine/actor-driver.ts +0 -2470
- package/src/utils/serve.ts +0 -217
- /package/dist/tsup/{chunk-PXLJOMJD.js.map → chunk-FXT3HN32.js.map} +0 -0
|
@@ -1,13 +1,144 @@
|
|
|
1
1
|
import * as vbare from 'vbare';
|
|
2
2
|
import * as bare from '@rivetkit/bare-ts';
|
|
3
3
|
|
|
4
|
+
type u32 = number;
|
|
5
|
+
type u64 = bigint;
|
|
6
|
+
type WorkflowCbor = ArrayBuffer;
|
|
7
|
+
type WorkflowNameIndex = u32;
|
|
8
|
+
type WorkflowLoopIterationMarker = {
|
|
9
|
+
readonly loop: WorkflowNameIndex;
|
|
10
|
+
readonly iteration: u32;
|
|
11
|
+
};
|
|
12
|
+
type WorkflowPathSegment = {
|
|
13
|
+
readonly tag: "WorkflowNameIndex";
|
|
14
|
+
readonly val: WorkflowNameIndex;
|
|
15
|
+
} | {
|
|
16
|
+
readonly tag: "WorkflowLoopIterationMarker";
|
|
17
|
+
readonly val: WorkflowLoopIterationMarker;
|
|
18
|
+
};
|
|
19
|
+
type WorkflowLocation = readonly WorkflowPathSegment[];
|
|
20
|
+
declare enum WorkflowEntryStatus {
|
|
21
|
+
PENDING = "PENDING",
|
|
22
|
+
RUNNING = "RUNNING",
|
|
23
|
+
COMPLETED = "COMPLETED",
|
|
24
|
+
FAILED = "FAILED",
|
|
25
|
+
EXHAUSTED = "EXHAUSTED"
|
|
26
|
+
}
|
|
27
|
+
declare enum WorkflowSleepState {
|
|
28
|
+
PENDING = "PENDING",
|
|
29
|
+
COMPLETED = "COMPLETED",
|
|
30
|
+
INTERRUPTED = "INTERRUPTED"
|
|
31
|
+
}
|
|
32
|
+
declare enum WorkflowBranchStatusType {
|
|
33
|
+
PENDING = "PENDING",
|
|
34
|
+
RUNNING = "RUNNING",
|
|
35
|
+
COMPLETED = "COMPLETED",
|
|
36
|
+
FAILED = "FAILED",
|
|
37
|
+
CANCELLED = "CANCELLED"
|
|
38
|
+
}
|
|
39
|
+
type WorkflowStepEntry = {
|
|
40
|
+
readonly output: WorkflowCbor | null;
|
|
41
|
+
readonly error: string | null;
|
|
42
|
+
};
|
|
43
|
+
type WorkflowLoopEntry = {
|
|
44
|
+
readonly state: WorkflowCbor;
|
|
45
|
+
readonly iteration: u32;
|
|
46
|
+
readonly output: WorkflowCbor | null;
|
|
47
|
+
};
|
|
48
|
+
type WorkflowSleepEntry = {
|
|
49
|
+
readonly deadline: u64;
|
|
50
|
+
readonly state: WorkflowSleepState;
|
|
51
|
+
};
|
|
52
|
+
type WorkflowMessageEntry = {
|
|
53
|
+
readonly name: string;
|
|
54
|
+
readonly messageData: WorkflowCbor;
|
|
55
|
+
};
|
|
56
|
+
type WorkflowRollbackCheckpointEntry = {
|
|
57
|
+
readonly name: string;
|
|
58
|
+
};
|
|
59
|
+
type WorkflowBranchStatus = {
|
|
60
|
+
readonly status: WorkflowBranchStatusType;
|
|
61
|
+
readonly output: WorkflowCbor | null;
|
|
62
|
+
readonly error: string | null;
|
|
63
|
+
};
|
|
64
|
+
type WorkflowJoinEntry = {
|
|
65
|
+
readonly branches: ReadonlyMap<string, WorkflowBranchStatus>;
|
|
66
|
+
};
|
|
67
|
+
type WorkflowRaceEntry = {
|
|
68
|
+
readonly winner: string | null;
|
|
69
|
+
readonly branches: ReadonlyMap<string, WorkflowBranchStatus>;
|
|
70
|
+
};
|
|
71
|
+
type WorkflowRemovedEntry = {
|
|
72
|
+
readonly originalType: string;
|
|
73
|
+
readonly originalName: string | null;
|
|
74
|
+
};
|
|
75
|
+
type WorkflowVersionCheckEntry = {
|
|
76
|
+
readonly resolved: u32;
|
|
77
|
+
readonly latest: u32;
|
|
78
|
+
};
|
|
79
|
+
type WorkflowEntryKind = {
|
|
80
|
+
readonly tag: "WorkflowStepEntry";
|
|
81
|
+
readonly val: WorkflowStepEntry;
|
|
82
|
+
} | {
|
|
83
|
+
readonly tag: "WorkflowLoopEntry";
|
|
84
|
+
readonly val: WorkflowLoopEntry;
|
|
85
|
+
} | {
|
|
86
|
+
readonly tag: "WorkflowSleepEntry";
|
|
87
|
+
readonly val: WorkflowSleepEntry;
|
|
88
|
+
} | {
|
|
89
|
+
readonly tag: "WorkflowMessageEntry";
|
|
90
|
+
readonly val: WorkflowMessageEntry;
|
|
91
|
+
} | {
|
|
92
|
+
readonly tag: "WorkflowRollbackCheckpointEntry";
|
|
93
|
+
readonly val: WorkflowRollbackCheckpointEntry;
|
|
94
|
+
} | {
|
|
95
|
+
readonly tag: "WorkflowJoinEntry";
|
|
96
|
+
readonly val: WorkflowJoinEntry;
|
|
97
|
+
} | {
|
|
98
|
+
readonly tag: "WorkflowRaceEntry";
|
|
99
|
+
readonly val: WorkflowRaceEntry;
|
|
100
|
+
} | {
|
|
101
|
+
readonly tag: "WorkflowRemovedEntry";
|
|
102
|
+
readonly val: WorkflowRemovedEntry;
|
|
103
|
+
} | {
|
|
104
|
+
readonly tag: "WorkflowVersionCheckEntry";
|
|
105
|
+
readonly val: WorkflowVersionCheckEntry;
|
|
106
|
+
};
|
|
107
|
+
type WorkflowEntry = {
|
|
108
|
+
readonly id: string;
|
|
109
|
+
readonly location: WorkflowLocation;
|
|
110
|
+
readonly kind: WorkflowEntryKind;
|
|
111
|
+
};
|
|
112
|
+
type WorkflowEntryMetadata = {
|
|
113
|
+
readonly status: WorkflowEntryStatus;
|
|
114
|
+
readonly error: string | null;
|
|
115
|
+
readonly attempts: u32;
|
|
116
|
+
readonly lastAttemptAt: u64;
|
|
117
|
+
readonly createdAt: u64;
|
|
118
|
+
readonly completedAt: u64 | null;
|
|
119
|
+
readonly rollbackCompletedAt: u64 | null;
|
|
120
|
+
readonly rollbackError: string | null;
|
|
121
|
+
};
|
|
122
|
+
type WorkflowHistory$1 = {
|
|
123
|
+
readonly nameRegistry: readonly string[];
|
|
124
|
+
readonly entries: readonly WorkflowEntry[];
|
|
125
|
+
readonly entryMetadata: ReadonlyMap<string, WorkflowEntryMetadata>;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
declare const workflowHistoryBare: unique symbol;
|
|
129
|
+
type WorkflowHistoryBytes = ArrayBuffer & {
|
|
130
|
+
readonly [workflowHistoryBare]: true;
|
|
131
|
+
};
|
|
132
|
+
declare function encodeWorkflowHistoryTransport(history: WorkflowHistory$1): WorkflowHistoryBytes;
|
|
133
|
+
declare function decodeWorkflowHistoryTransport(data: ArrayBuffer | ArrayBufferView): WorkflowHistory$1;
|
|
134
|
+
|
|
4
135
|
type uint = bigint;
|
|
5
136
|
type State = ArrayBuffer;
|
|
6
137
|
declare function readState(bc: bare.ByteCursor): State;
|
|
7
138
|
declare function writeState(bc: bare.ByteCursor, x: State): void;
|
|
8
|
-
type WorkflowHistory
|
|
9
|
-
declare function readWorkflowHistory(bc: bare.ByteCursor): WorkflowHistory
|
|
10
|
-
declare function writeWorkflowHistory(bc: bare.ByteCursor, x: WorkflowHistory
|
|
139
|
+
type WorkflowHistory = ArrayBuffer;
|
|
140
|
+
declare function readWorkflowHistory(bc: bare.ByteCursor): WorkflowHistory;
|
|
141
|
+
declare function writeWorkflowHistory(bc: bare.ByteCursor, x: WorkflowHistory): void;
|
|
11
142
|
type PatchStateRequest = {
|
|
12
143
|
readonly state: ArrayBuffer;
|
|
13
144
|
};
|
|
@@ -73,6 +204,25 @@ type DatabaseTableRowsRequest = {
|
|
|
73
204
|
};
|
|
74
205
|
declare function readDatabaseTableRowsRequest(bc: bare.ByteCursor): DatabaseTableRowsRequest;
|
|
75
206
|
declare function writeDatabaseTableRowsRequest(bc: bare.ByteCursor, x: DatabaseTableRowsRequest): void;
|
|
207
|
+
type SchedulesRequest = {
|
|
208
|
+
readonly id: uint;
|
|
209
|
+
};
|
|
210
|
+
declare function readSchedulesRequest(bc: bare.ByteCursor): SchedulesRequest;
|
|
211
|
+
declare function writeSchedulesRequest(bc: bare.ByteCursor, x: SchedulesRequest): void;
|
|
212
|
+
type ScheduleHistoryRequest = {
|
|
213
|
+
readonly id: uint;
|
|
214
|
+
readonly scheduleId: string;
|
|
215
|
+
readonly limit: uint;
|
|
216
|
+
};
|
|
217
|
+
declare function readScheduleHistoryRequest(bc: bare.ByteCursor): ScheduleHistoryRequest;
|
|
218
|
+
declare function writeScheduleHistoryRequest(bc: bare.ByteCursor, x: ScheduleHistoryRequest): void;
|
|
219
|
+
type ScheduleDeleteRequest = {
|
|
220
|
+
readonly id: uint;
|
|
221
|
+
readonly scheduleId: string;
|
|
222
|
+
readonly kind: string;
|
|
223
|
+
};
|
|
224
|
+
declare function readScheduleDeleteRequest(bc: bare.ByteCursor): ScheduleDeleteRequest;
|
|
225
|
+
declare function writeScheduleDeleteRequest(bc: bare.ByteCursor, x: ScheduleDeleteRequest): void;
|
|
76
226
|
type ToServerBody = {
|
|
77
227
|
readonly tag: "PatchStateRequest";
|
|
78
228
|
readonly val: PatchStateRequest;
|
|
@@ -106,6 +256,15 @@ type ToServerBody = {
|
|
|
106
256
|
} | {
|
|
107
257
|
readonly tag: "DatabaseTableRowsRequest";
|
|
108
258
|
readonly val: DatabaseTableRowsRequest;
|
|
259
|
+
} | {
|
|
260
|
+
readonly tag: "SchedulesRequest";
|
|
261
|
+
readonly val: SchedulesRequest;
|
|
262
|
+
} | {
|
|
263
|
+
readonly tag: "ScheduleHistoryRequest";
|
|
264
|
+
readonly val: ScheduleHistoryRequest;
|
|
265
|
+
} | {
|
|
266
|
+
readonly tag: "ScheduleDeleteRequest";
|
|
267
|
+
readonly val: ScheduleDeleteRequest;
|
|
109
268
|
};
|
|
110
269
|
declare function readToServerBody(bc: bare.ByteCursor): ToServerBody;
|
|
111
270
|
declare function writeToServerBody(bc: bare.ByteCursor, x: ToServerBody): void;
|
|
@@ -122,6 +281,51 @@ type Connection = {
|
|
|
122
281
|
};
|
|
123
282
|
declare function readConnection(bc: bare.ByteCursor): Connection;
|
|
124
283
|
declare function writeConnection(bc: bare.ByteCursor, x: Connection): void;
|
|
284
|
+
/**
|
|
285
|
+
* Inspector tab descriptor. `label`/`icon` are set for author-declared custom
|
|
286
|
+
* tabs; a hidden built-in only carries `id` with `hidden` set.
|
|
287
|
+
*/
|
|
288
|
+
type TabConfigEntry = {
|
|
289
|
+
readonly id: string;
|
|
290
|
+
readonly label: string | null;
|
|
291
|
+
readonly icon: string | null;
|
|
292
|
+
readonly hidden: boolean;
|
|
293
|
+
};
|
|
294
|
+
declare function readTabConfigEntry(bc: bare.ByteCursor): TabConfigEntry;
|
|
295
|
+
declare function writeTabConfigEntry(bc: bare.ByteCursor, x: TabConfigEntry): void;
|
|
296
|
+
type Schedule = {
|
|
297
|
+
readonly id: string;
|
|
298
|
+
readonly name: string | null;
|
|
299
|
+
readonly kind: string;
|
|
300
|
+
readonly action: string;
|
|
301
|
+
readonly args: ArrayBuffer;
|
|
302
|
+
readonly nextRunAt: uint;
|
|
303
|
+
readonly lastRunAt: uint | null;
|
|
304
|
+
readonly expression: string | null;
|
|
305
|
+
readonly timezone: string | null;
|
|
306
|
+
readonly intervalMs: uint | null;
|
|
307
|
+
readonly maxHistory: uint | null;
|
|
308
|
+
};
|
|
309
|
+
declare function readSchedule(bc: bare.ByteCursor): Schedule;
|
|
310
|
+
declare function writeSchedule(bc: bare.ByteCursor, x: Schedule): void;
|
|
311
|
+
type ScheduleError = {
|
|
312
|
+
readonly group: string;
|
|
313
|
+
readonly code: string;
|
|
314
|
+
readonly message: string;
|
|
315
|
+
readonly metadata: ArrayBuffer | null;
|
|
316
|
+
};
|
|
317
|
+
declare function readScheduleError(bc: bare.ByteCursor): ScheduleError;
|
|
318
|
+
declare function writeScheduleError(bc: bare.ByteCursor, x: ScheduleError): void;
|
|
319
|
+
type ScheduleFire = {
|
|
320
|
+
readonly action: string;
|
|
321
|
+
readonly scheduledAt: uint;
|
|
322
|
+
readonly firedAt: uint;
|
|
323
|
+
readonly finishedAt: uint | null;
|
|
324
|
+
readonly result: string;
|
|
325
|
+
readonly error: ScheduleError | null;
|
|
326
|
+
};
|
|
327
|
+
declare function readScheduleFire(bc: bare.ByteCursor): ScheduleFire;
|
|
328
|
+
declare function writeScheduleFire(bc: bare.ByteCursor, x: ScheduleFire): void;
|
|
125
329
|
type Init = {
|
|
126
330
|
readonly connections: readonly Connection[];
|
|
127
331
|
readonly state: State | null;
|
|
@@ -129,8 +333,10 @@ type Init = {
|
|
|
129
333
|
readonly rpcs: readonly string[];
|
|
130
334
|
readonly isDatabaseEnabled: boolean;
|
|
131
335
|
readonly queueSize: uint;
|
|
132
|
-
readonly workflowHistory: WorkflowHistory
|
|
336
|
+
readonly workflowHistory: WorkflowHistory | null;
|
|
133
337
|
readonly isWorkflowEnabled: boolean;
|
|
338
|
+
readonly tabConfig: readonly TabConfigEntry[];
|
|
339
|
+
readonly schedules: readonly Schedule[];
|
|
134
340
|
};
|
|
135
341
|
declare function readInit(bc: bare.ByteCursor): Init;
|
|
136
342
|
declare function writeInit(bc: bare.ByteCursor, x: Init): void;
|
|
@@ -182,14 +388,14 @@ declare function readQueueResponse(bc: bare.ByteCursor): QueueResponse;
|
|
|
182
388
|
declare function writeQueueResponse(bc: bare.ByteCursor, x: QueueResponse): void;
|
|
183
389
|
type WorkflowHistoryResponse = {
|
|
184
390
|
readonly rid: uint;
|
|
185
|
-
readonly history: WorkflowHistory
|
|
391
|
+
readonly history: WorkflowHistory | null;
|
|
186
392
|
readonly isWorkflowEnabled: boolean;
|
|
187
393
|
};
|
|
188
394
|
declare function readWorkflowHistoryResponse(bc: bare.ByteCursor): WorkflowHistoryResponse;
|
|
189
395
|
declare function writeWorkflowHistoryResponse(bc: bare.ByteCursor, x: WorkflowHistoryResponse): void;
|
|
190
396
|
type WorkflowReplayResponse = {
|
|
191
397
|
readonly rid: uint;
|
|
192
|
-
readonly history: WorkflowHistory
|
|
398
|
+
readonly history: WorkflowHistory | null;
|
|
193
399
|
readonly isWorkflowEnabled: boolean;
|
|
194
400
|
};
|
|
195
401
|
declare function readWorkflowReplayResponse(bc: bare.ByteCursor): WorkflowReplayResponse;
|
|
@@ -206,6 +412,26 @@ type DatabaseTableRowsResponse = {
|
|
|
206
412
|
};
|
|
207
413
|
declare function readDatabaseTableRowsResponse(bc: bare.ByteCursor): DatabaseTableRowsResponse;
|
|
208
414
|
declare function writeDatabaseTableRowsResponse(bc: bare.ByteCursor, x: DatabaseTableRowsResponse): void;
|
|
415
|
+
type SchedulesResponse = {
|
|
416
|
+
readonly rid: uint;
|
|
417
|
+
readonly schedules: readonly Schedule[];
|
|
418
|
+
};
|
|
419
|
+
declare function readSchedulesResponse(bc: bare.ByteCursor): SchedulesResponse;
|
|
420
|
+
declare function writeSchedulesResponse(bc: bare.ByteCursor, x: SchedulesResponse): void;
|
|
421
|
+
type ScheduleHistoryResponse = {
|
|
422
|
+
readonly rid: uint;
|
|
423
|
+
readonly scheduleId: string;
|
|
424
|
+
readonly history: readonly ScheduleFire[];
|
|
425
|
+
};
|
|
426
|
+
declare function readScheduleHistoryResponse(bc: bare.ByteCursor): ScheduleHistoryResponse;
|
|
427
|
+
declare function writeScheduleHistoryResponse(bc: bare.ByteCursor, x: ScheduleHistoryResponse): void;
|
|
428
|
+
type ScheduleDeleteResponse = {
|
|
429
|
+
readonly rid: uint;
|
|
430
|
+
readonly scheduleId: string;
|
|
431
|
+
readonly deleted: boolean;
|
|
432
|
+
};
|
|
433
|
+
declare function readScheduleDeleteResponse(bc: bare.ByteCursor): ScheduleDeleteResponse;
|
|
434
|
+
declare function writeScheduleDeleteResponse(bc: bare.ByteCursor, x: ScheduleDeleteResponse): void;
|
|
209
435
|
type StateUpdated = {
|
|
210
436
|
readonly state: State;
|
|
211
437
|
};
|
|
@@ -217,10 +443,15 @@ type QueueUpdated = {
|
|
|
217
443
|
declare function readQueueUpdated(bc: bare.ByteCursor): QueueUpdated;
|
|
218
444
|
declare function writeQueueUpdated(bc: bare.ByteCursor, x: QueueUpdated): void;
|
|
219
445
|
type WorkflowHistoryUpdated = {
|
|
220
|
-
readonly history: WorkflowHistory
|
|
446
|
+
readonly history: WorkflowHistory;
|
|
221
447
|
};
|
|
222
448
|
declare function readWorkflowHistoryUpdated(bc: bare.ByteCursor): WorkflowHistoryUpdated;
|
|
223
449
|
declare function writeWorkflowHistoryUpdated(bc: bare.ByteCursor, x: WorkflowHistoryUpdated): void;
|
|
450
|
+
type SchedulesUpdated = {
|
|
451
|
+
readonly schedules: readonly Schedule[];
|
|
452
|
+
};
|
|
453
|
+
declare function readSchedulesUpdated(bc: bare.ByteCursor): SchedulesUpdated;
|
|
454
|
+
declare function writeSchedulesUpdated(bc: bare.ByteCursor, x: SchedulesUpdated): void;
|
|
224
455
|
type RpcsListResponse = {
|
|
225
456
|
readonly rid: uint;
|
|
226
457
|
readonly rpcs: readonly string[];
|
|
@@ -258,6 +489,9 @@ type ToClientBody = {
|
|
|
258
489
|
} | {
|
|
259
490
|
readonly tag: "WorkflowHistoryUpdated";
|
|
260
491
|
readonly val: WorkflowHistoryUpdated;
|
|
492
|
+
} | {
|
|
493
|
+
readonly tag: "SchedulesUpdated";
|
|
494
|
+
readonly val: SchedulesUpdated;
|
|
261
495
|
} | {
|
|
262
496
|
readonly tag: "RpcsListResponse";
|
|
263
497
|
readonly val: RpcsListResponse;
|
|
@@ -273,6 +507,15 @@ type ToClientBody = {
|
|
|
273
507
|
} | {
|
|
274
508
|
readonly tag: "WorkflowReplayResponse";
|
|
275
509
|
readonly val: WorkflowReplayResponse;
|
|
510
|
+
} | {
|
|
511
|
+
readonly tag: "SchedulesResponse";
|
|
512
|
+
readonly val: SchedulesResponse;
|
|
513
|
+
} | {
|
|
514
|
+
readonly tag: "ScheduleHistoryResponse";
|
|
515
|
+
readonly val: ScheduleHistoryResponse;
|
|
516
|
+
} | {
|
|
517
|
+
readonly tag: "ScheduleDeleteResponse";
|
|
518
|
+
readonly val: ScheduleDeleteResponse;
|
|
276
519
|
} | {
|
|
277
520
|
readonly tag: "Error";
|
|
278
521
|
readonly val: Error;
|
|
@@ -296,128 +539,8 @@ declare function writeToClient(bc: bare.ByteCursor, x: ToClient): void;
|
|
|
296
539
|
declare function encodeToClient(x: ToClient, config?: Partial<bare.Config>): Uint8Array;
|
|
297
540
|
declare function decodeToClient(bytes: Uint8Array): ToClient;
|
|
298
541
|
|
|
299
|
-
|
|
300
|
-
type u64 = bigint;
|
|
301
|
-
type WorkflowCbor = ArrayBuffer;
|
|
302
|
-
type WorkflowNameIndex = u32;
|
|
303
|
-
type WorkflowLoopIterationMarker = {
|
|
304
|
-
readonly loop: WorkflowNameIndex;
|
|
305
|
-
readonly iteration: u32;
|
|
306
|
-
};
|
|
307
|
-
type WorkflowPathSegment = {
|
|
308
|
-
readonly tag: "WorkflowNameIndex";
|
|
309
|
-
readonly val: WorkflowNameIndex;
|
|
310
|
-
} | {
|
|
311
|
-
readonly tag: "WorkflowLoopIterationMarker";
|
|
312
|
-
readonly val: WorkflowLoopIterationMarker;
|
|
313
|
-
};
|
|
314
|
-
type WorkflowLocation = readonly WorkflowPathSegment[];
|
|
315
|
-
declare enum WorkflowEntryStatus {
|
|
316
|
-
PENDING = "PENDING",
|
|
317
|
-
RUNNING = "RUNNING",
|
|
318
|
-
COMPLETED = "COMPLETED",
|
|
319
|
-
FAILED = "FAILED",
|
|
320
|
-
EXHAUSTED = "EXHAUSTED"
|
|
321
|
-
}
|
|
322
|
-
declare enum WorkflowSleepState {
|
|
323
|
-
PENDING = "PENDING",
|
|
324
|
-
COMPLETED = "COMPLETED",
|
|
325
|
-
INTERRUPTED = "INTERRUPTED"
|
|
326
|
-
}
|
|
327
|
-
declare enum WorkflowBranchStatusType {
|
|
328
|
-
PENDING = "PENDING",
|
|
329
|
-
RUNNING = "RUNNING",
|
|
330
|
-
COMPLETED = "COMPLETED",
|
|
331
|
-
FAILED = "FAILED",
|
|
332
|
-
CANCELLED = "CANCELLED"
|
|
333
|
-
}
|
|
334
|
-
type WorkflowStepEntry = {
|
|
335
|
-
readonly output: WorkflowCbor | null;
|
|
336
|
-
readonly error: string | null;
|
|
337
|
-
};
|
|
338
|
-
type WorkflowLoopEntry = {
|
|
339
|
-
readonly state: WorkflowCbor;
|
|
340
|
-
readonly iteration: u32;
|
|
341
|
-
readonly output: WorkflowCbor | null;
|
|
342
|
-
};
|
|
343
|
-
type WorkflowSleepEntry = {
|
|
344
|
-
readonly deadline: u64;
|
|
345
|
-
readonly state: WorkflowSleepState;
|
|
346
|
-
};
|
|
347
|
-
type WorkflowMessageEntry = {
|
|
348
|
-
readonly name: string;
|
|
349
|
-
readonly messageData: WorkflowCbor;
|
|
350
|
-
};
|
|
351
|
-
type WorkflowRollbackCheckpointEntry = {
|
|
352
|
-
readonly name: string;
|
|
353
|
-
};
|
|
354
|
-
type WorkflowBranchStatus = {
|
|
355
|
-
readonly status: WorkflowBranchStatusType;
|
|
356
|
-
readonly output: WorkflowCbor | null;
|
|
357
|
-
readonly error: string | null;
|
|
358
|
-
};
|
|
359
|
-
type WorkflowJoinEntry = {
|
|
360
|
-
readonly branches: ReadonlyMap<string, WorkflowBranchStatus>;
|
|
361
|
-
};
|
|
362
|
-
type WorkflowRaceEntry = {
|
|
363
|
-
readonly winner: string | null;
|
|
364
|
-
readonly branches: ReadonlyMap<string, WorkflowBranchStatus>;
|
|
365
|
-
};
|
|
366
|
-
type WorkflowRemovedEntry = {
|
|
367
|
-
readonly originalType: string;
|
|
368
|
-
readonly originalName: string | null;
|
|
369
|
-
};
|
|
370
|
-
type WorkflowEntryKind = {
|
|
371
|
-
readonly tag: "WorkflowStepEntry";
|
|
372
|
-
readonly val: WorkflowStepEntry;
|
|
373
|
-
} | {
|
|
374
|
-
readonly tag: "WorkflowLoopEntry";
|
|
375
|
-
readonly val: WorkflowLoopEntry;
|
|
376
|
-
} | {
|
|
377
|
-
readonly tag: "WorkflowSleepEntry";
|
|
378
|
-
readonly val: WorkflowSleepEntry;
|
|
379
|
-
} | {
|
|
380
|
-
readonly tag: "WorkflowMessageEntry";
|
|
381
|
-
readonly val: WorkflowMessageEntry;
|
|
382
|
-
} | {
|
|
383
|
-
readonly tag: "WorkflowRollbackCheckpointEntry";
|
|
384
|
-
readonly val: WorkflowRollbackCheckpointEntry;
|
|
385
|
-
} | {
|
|
386
|
-
readonly tag: "WorkflowJoinEntry";
|
|
387
|
-
readonly val: WorkflowJoinEntry;
|
|
388
|
-
} | {
|
|
389
|
-
readonly tag: "WorkflowRaceEntry";
|
|
390
|
-
readonly val: WorkflowRaceEntry;
|
|
391
|
-
} | {
|
|
392
|
-
readonly tag: "WorkflowRemovedEntry";
|
|
393
|
-
readonly val: WorkflowRemovedEntry;
|
|
394
|
-
};
|
|
395
|
-
type WorkflowEntry = {
|
|
396
|
-
readonly id: string;
|
|
397
|
-
readonly location: WorkflowLocation;
|
|
398
|
-
readonly kind: WorkflowEntryKind;
|
|
399
|
-
};
|
|
400
|
-
type WorkflowEntryMetadata = {
|
|
401
|
-
readonly status: WorkflowEntryStatus;
|
|
402
|
-
readonly error: string | null;
|
|
403
|
-
readonly attempts: u32;
|
|
404
|
-
readonly lastAttemptAt: u64;
|
|
405
|
-
readonly createdAt: u64;
|
|
406
|
-
readonly completedAt: u64 | null;
|
|
407
|
-
readonly rollbackCompletedAt: u64 | null;
|
|
408
|
-
readonly rollbackError: string | null;
|
|
409
|
-
};
|
|
410
|
-
type WorkflowHistory = {
|
|
411
|
-
readonly nameRegistry: readonly string[];
|
|
412
|
-
readonly entries: readonly WorkflowEntry[];
|
|
413
|
-
readonly entryMetadata: ReadonlyMap<string, WorkflowEntryMetadata>;
|
|
414
|
-
};
|
|
415
|
-
|
|
416
|
-
declare function encodeWorkflowHistoryTransport(history: WorkflowHistory): ArrayBuffer;
|
|
417
|
-
declare function decodeWorkflowHistoryTransport(data: ArrayBuffer | ArrayBufferView): WorkflowHistory;
|
|
418
|
-
|
|
419
|
-
declare const CURRENT_VERSION = 4;
|
|
542
|
+
declare const CURRENT_VERSION = 6;
|
|
420
543
|
declare const TO_SERVER_VERSIONED: vbare.VersionedDataHandler<ToServer>;
|
|
421
544
|
declare const TO_CLIENT_VERSIONED: vbare.VersionedDataHandler<ToClient>;
|
|
422
545
|
|
|
423
|
-
export { type ActionRequest, type ActionResponse, CURRENT_VERSION, type Connection, type ConnectionsRequest, type ConnectionsResponse, type ConnectionsUpdated, type DatabaseSchemaRequest, type DatabaseSchemaResponse, type DatabaseTableRowsRequest, type DatabaseTableRowsResponse, type Error, type Init, type PatchStateRequest, type QueueMessageSummary, type QueueRequest, type QueueResponse, type QueueStatus, type QueueUpdated, type RpcsListRequest, type RpcsListResponse, type State, type StateRequest, type StateResponse, type StateUpdated, TO_CLIENT_VERSIONED, TO_SERVER_VERSIONED, type ToClient, type ToClientBody, type ToServer, type ToServerBody, type TraceQueryRequest, type TraceQueryResponse, type WorkflowHistory as TransportWorkflowHistory, type WorkflowHistory
|
|
546
|
+
export { type ActionRequest, type ActionResponse, CURRENT_VERSION, type Connection, type ConnectionsRequest, type ConnectionsResponse, type ConnectionsUpdated, type DatabaseSchemaRequest, type DatabaseSchemaResponse, type DatabaseTableRowsRequest, type DatabaseTableRowsResponse, type Error, type Init, type PatchStateRequest, type QueueMessageSummary, type QueueRequest, type QueueResponse, type QueueStatus, type QueueUpdated, type RpcsListRequest, type RpcsListResponse, type Schedule, type ScheduleDeleteRequest, type ScheduleDeleteResponse, type ScheduleError, type ScheduleFire, type ScheduleHistoryRequest, type ScheduleHistoryResponse, type SchedulesRequest, type SchedulesResponse, type SchedulesUpdated, type State, type StateRequest, type StateResponse, type StateUpdated, TO_CLIENT_VERSIONED, TO_SERVER_VERSIONED, type TabConfigEntry, type ToClient, type ToClientBody, type ToServer, type ToServerBody, type TraceQueryRequest, type TraceQueryResponse, type WorkflowHistory$1 as TransportWorkflowHistory, type WorkflowHistory, type WorkflowHistoryRequest, type WorkflowHistoryResponse, type WorkflowHistoryUpdated, type WorkflowReplayRequest, type WorkflowReplayResponse, decodeToClient, decodeToServer, decodeWorkflowHistoryTransport, encodeToClient, encodeToServer, encodeWorkflowHistoryTransport, readActionRequest, readActionResponse, readConnection, readConnectionsRequest, readConnectionsResponse, readConnectionsUpdated, readDatabaseSchemaRequest, readDatabaseSchemaResponse, readDatabaseTableRowsRequest, readDatabaseTableRowsResponse, readError, readInit, readPatchStateRequest, readQueueMessageSummary, readQueueRequest, readQueueResponse, readQueueStatus, readQueueUpdated, readRpcsListRequest, readRpcsListResponse, readSchedule, readScheduleDeleteRequest, readScheduleDeleteResponse, readScheduleError, readScheduleFire, readScheduleHistoryRequest, readScheduleHistoryResponse, readSchedulesRequest, readSchedulesResponse, readSchedulesUpdated, readState, readStateRequest, readStateResponse, readStateUpdated, readTabConfigEntry, readToClient, readToClientBody, readToServer, readToServerBody, readTraceQueryRequest, readTraceQueryResponse, readWorkflowHistory, readWorkflowHistoryRequest, readWorkflowHistoryResponse, readWorkflowHistoryUpdated, readWorkflowReplayRequest, readWorkflowReplayResponse, type uint, writeActionRequest, writeActionResponse, writeConnection, writeConnectionsRequest, writeConnectionsResponse, writeConnectionsUpdated, writeDatabaseSchemaRequest, writeDatabaseSchemaResponse, writeDatabaseTableRowsRequest, writeDatabaseTableRowsResponse, writeError, writeInit, writePatchStateRequest, writeQueueMessageSummary, writeQueueRequest, writeQueueResponse, writeQueueStatus, writeQueueUpdated, writeRpcsListRequest, writeRpcsListResponse, writeSchedule, writeScheduleDeleteRequest, writeScheduleDeleteResponse, writeScheduleError, writeScheduleFire, writeScheduleHistoryRequest, writeScheduleHistoryResponse, writeSchedulesRequest, writeSchedulesResponse, writeSchedulesUpdated, writeState, writeStateRequest, writeStateResponse, writeStateUpdated, writeTabConfigEntry, writeToClient, writeToClientBody, writeToServer, writeToServerBody, writeTraceQueryRequest, writeTraceQueryResponse, writeWorkflowHistory, writeWorkflowHistoryRequest, writeWorkflowHistoryResponse, writeWorkflowHistoryUpdated, writeWorkflowReplayRequest, writeWorkflowReplayResponse };
|