@nagi-js/core 0.1.1-rc.21 → 0.1.1-rc.22
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/{chunk-VU2LG4VW.js → chunk-PUAV56FC.js} +850 -572
- package/dist/chunk-PUAV56FC.js.map +1 -0
- package/dist/index.d.ts +51 -120
- package/dist/index.js +651 -1407
- package/dist/index.js.map +1 -1
- package/dist/testing.d.ts +2 -1
- package/dist/testing.js +563 -216
- package/dist/testing.js.map +1 -1
- package/dist/{types-KjCWK9pN.d.ts → types-Ct5xHI4W.d.ts} +64 -124
- package/package.json +1 -1
- package/dist/chunk-VU2LG4VW.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type SkipReason = "when-false" | "transitive"
|
|
1
|
+
type SkipReason = "when-false" | "transitive";
|
|
2
2
|
type StepCancelCause = {
|
|
3
3
|
readonly kind: "run-canceled";
|
|
4
4
|
} | {
|
|
@@ -13,11 +13,6 @@ type RunCancelCause = {
|
|
|
13
13
|
readonly kind: "explicit";
|
|
14
14
|
readonly reason: string;
|
|
15
15
|
readonly note?: string;
|
|
16
|
-
} | {
|
|
17
|
-
readonly kind: "operator";
|
|
18
|
-
readonly actor: string;
|
|
19
|
-
readonly reason: string;
|
|
20
|
-
readonly note?: string;
|
|
21
16
|
};
|
|
22
17
|
type StepState = {
|
|
23
18
|
readonly tag: "pending";
|
|
@@ -79,11 +74,11 @@ interface RunState {
|
|
|
79
74
|
readonly input: Json;
|
|
80
75
|
readonly phase: RunPhase;
|
|
81
76
|
readonly steps: Readonly<Record<StepId, StepState>>;
|
|
82
|
-
readonly selectedArms: Readonly<Record<StepId, string>>;
|
|
83
77
|
readonly bufferedSignals: Readonly<Record<StepId, {
|
|
84
78
|
readonly payload: Json;
|
|
85
79
|
readonly signalName?: string;
|
|
86
80
|
}>>;
|
|
81
|
+
readonly resetCounts: Readonly<Record<StepId, number>>;
|
|
87
82
|
readonly facts: readonly Fact[];
|
|
88
83
|
readonly parent?: ParentLink;
|
|
89
84
|
readonly flowHash?: string;
|
|
@@ -134,37 +129,67 @@ type RowDelta = {
|
|
|
134
129
|
readonly stepId: StepId;
|
|
135
130
|
readonly attempt: AttemptNumber;
|
|
136
131
|
readonly startedAt: Date;
|
|
132
|
+
} | {
|
|
133
|
+
readonly row: "step";
|
|
134
|
+
readonly status: "backoff";
|
|
135
|
+
readonly stepId: StepId;
|
|
136
|
+
readonly attempt: AttemptNumber;
|
|
137
|
+
readonly error: SerializedError;
|
|
137
138
|
} | {
|
|
138
139
|
readonly row: "step";
|
|
139
140
|
readonly status: "completed";
|
|
140
141
|
readonly stepId: StepId;
|
|
141
142
|
readonly attempt: AttemptNumber;
|
|
142
143
|
readonly output: Json;
|
|
144
|
+
readonly completedAt: Date;
|
|
143
145
|
} | {
|
|
144
146
|
readonly row: "step";
|
|
145
147
|
readonly status: "failed";
|
|
146
148
|
readonly stepId: StepId;
|
|
147
149
|
readonly attempt: AttemptNumber;
|
|
148
150
|
readonly error: SerializedError;
|
|
151
|
+
readonly completedAt: Date;
|
|
149
152
|
} | {
|
|
150
153
|
readonly row: "step";
|
|
151
154
|
readonly status: "canceled";
|
|
152
155
|
readonly stepId: StepId;
|
|
153
156
|
readonly attempt: AttemptNumber;
|
|
154
157
|
readonly error: SerializedError | null;
|
|
158
|
+
readonly completedAt: Date;
|
|
155
159
|
} | {
|
|
156
160
|
readonly row: "step";
|
|
157
161
|
readonly status: "skipped";
|
|
158
162
|
readonly stepId: StepId;
|
|
163
|
+
readonly completedAt: Date;
|
|
159
164
|
} | {
|
|
160
165
|
readonly row: "step";
|
|
161
166
|
readonly status: "reset";
|
|
162
167
|
readonly stepId: StepId;
|
|
168
|
+
};
|
|
169
|
+
type Release = {
|
|
170
|
+
readonly tag: "release-step";
|
|
171
|
+
readonly stepId: StepId;
|
|
172
|
+
readonly timer: boolean;
|
|
163
173
|
} | {
|
|
164
|
-
readonly
|
|
174
|
+
readonly tag: "release-lease";
|
|
165
175
|
readonly stepId: StepId;
|
|
166
|
-
readonly
|
|
167
|
-
|
|
176
|
+
readonly attempt: AttemptNumber;
|
|
177
|
+
} | {
|
|
178
|
+
readonly tag: "release-run";
|
|
179
|
+
};
|
|
180
|
+
type StreamEffect = {
|
|
181
|
+
readonly tag: "close-ok";
|
|
182
|
+
readonly stepId: StepId;
|
|
183
|
+
} | {
|
|
184
|
+
readonly tag: "close-error";
|
|
185
|
+
readonly stepId: StepId;
|
|
186
|
+
readonly error: SerializedError;
|
|
187
|
+
} | {
|
|
188
|
+
readonly tag: "retry";
|
|
189
|
+
readonly stepId: StepId;
|
|
190
|
+
readonly nextAttempt: AttemptNumber;
|
|
191
|
+
} | {
|
|
192
|
+
readonly tag: "close-run";
|
|
168
193
|
};
|
|
169
194
|
|
|
170
195
|
interface FlowStartedFact extends FactBase {
|
|
@@ -195,17 +220,13 @@ interface FlowCanceledExplicitlyFact extends FactBase {
|
|
|
195
220
|
readonly reason: string;
|
|
196
221
|
readonly note?: string;
|
|
197
222
|
}
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
readonly
|
|
204
|
-
}
|
|
205
|
-
type FlowCanceledFact = FlowCanceledByConcurrencyFact | FlowCanceledExplicitlyFact | FlowCanceledByOperatorFact;
|
|
206
|
-
type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
207
|
-
type CancelArgs = DistributiveOmit<FlowCanceledExplicitlyFact | FlowCanceledByOperatorFact, "kind" | "runId" | "at">;
|
|
208
|
-
type FlowFact = FlowStartedFact | FlowCompletedFact | FlowFailedFact | FlowCanceledFact;
|
|
223
|
+
type FlowCanceledFact = FlowCanceledByConcurrencyFact | FlowCanceledExplicitlyFact;
|
|
224
|
+
type CancelArgs = Omit<FlowCanceledExplicitlyFact, "kind" | "runId" | "at">;
|
|
225
|
+
type RunEndFact = FlowCompletedFact | FlowFailedFact | FlowCanceledFact;
|
|
226
|
+
type FlowFact = FlowStartedFact | RunEndFact;
|
|
227
|
+
declare function isRunEnd(fact: {
|
|
228
|
+
readonly kind: string;
|
|
229
|
+
}): fact is RunEndFact;
|
|
209
230
|
interface FlowRefUpdatedFact {
|
|
210
231
|
readonly kind: "flow_ref.updated";
|
|
211
232
|
readonly flowId: string;
|
|
@@ -250,36 +271,19 @@ interface StepSkippedFact extends FactBase {
|
|
|
250
271
|
readonly kind: "step.skipped";
|
|
251
272
|
readonly stepId: StepId;
|
|
252
273
|
readonly reason: SkipReason;
|
|
253
|
-
readonly actor?: string;
|
|
254
|
-
readonly note?: string;
|
|
255
274
|
}
|
|
256
275
|
interface StepResetFact extends FactBase {
|
|
257
276
|
readonly kind: "step.reset";
|
|
258
277
|
readonly stepId: StepId;
|
|
259
278
|
readonly cascadedFrom?: StepId;
|
|
260
279
|
readonly scope?: ResetScope;
|
|
261
|
-
readonly actor?: string;
|
|
262
|
-
readonly note?: string;
|
|
263
280
|
}
|
|
264
281
|
interface StepAbortRequestedFact extends FactBase {
|
|
265
282
|
readonly kind: "step.abort-requested";
|
|
266
283
|
readonly stepId: StepId;
|
|
267
284
|
readonly attempt: AttemptNumber;
|
|
268
|
-
readonly actor: string;
|
|
269
|
-
readonly note?: string;
|
|
270
|
-
}
|
|
271
|
-
interface MatchArmSelectedFact extends FactBase {
|
|
272
|
-
readonly kind: "match.arm-selected";
|
|
273
|
-
readonly stepId: StepId;
|
|
274
|
-
readonly arm: string;
|
|
275
285
|
}
|
|
276
|
-
|
|
277
|
-
readonly kind: "once.recorded";
|
|
278
|
-
readonly stepId: StepId;
|
|
279
|
-
readonly scope: string;
|
|
280
|
-
readonly value: Json;
|
|
281
|
-
}
|
|
282
|
-
type StepFact = StepStartedFact | StepCompletedFact | StepFailedFact | StepCanceledFact | StepRetriedFact | StepSkippedFact | StepResetFact | StepAbortRequestedFact | MatchArmSelectedFact | OnceRecordedFact;
|
|
286
|
+
type StepFact = StepStartedFact | StepCompletedFact | StepFailedFact | StepCanceledFact | StepRetriedFact | StepSkippedFact | StepResetFact | StepAbortRequestedFact;
|
|
283
287
|
|
|
284
288
|
interface SignalReceivedFact extends FactBase {
|
|
285
289
|
readonly kind: "signal.received";
|
|
@@ -307,7 +311,13 @@ type LeaseFact = LeaseReapedFact;
|
|
|
307
311
|
type Fact = FlowFact | StepFact | SignalFact | LeaseFact;
|
|
308
312
|
type FactKind = Fact["kind"];
|
|
309
313
|
declare function foldRun(runId: RunId, facts: readonly Fact[]): RunState;
|
|
310
|
-
|
|
314
|
+
interface FactConsequences {
|
|
315
|
+
readonly rows: RowDelta | null;
|
|
316
|
+
readonly release: Release | null;
|
|
317
|
+
readonly stream: StreamEffect | null;
|
|
318
|
+
readonly event: RunEvent | null;
|
|
319
|
+
}
|
|
320
|
+
declare function factConsequences(fact: Fact): FactConsequences;
|
|
311
321
|
|
|
312
322
|
type StepRunStatus = StepStatus;
|
|
313
323
|
interface RunView {
|
|
@@ -350,6 +360,7 @@ type ReaperDecision = {
|
|
|
350
360
|
readonly reason: "terminal" | "still-live" | "child-active";
|
|
351
361
|
} | {
|
|
352
362
|
readonly tag: "reap";
|
|
363
|
+
readonly fact: LeaseReapedFact;
|
|
353
364
|
readonly nextAttempt: AttemptNumber;
|
|
354
365
|
readonly backoffMs: Millis;
|
|
355
366
|
};
|
|
@@ -418,7 +429,7 @@ interface Register {
|
|
|
418
429
|
type Tx = Register extends {
|
|
419
430
|
tx: infer T;
|
|
420
431
|
} ? T : unknown;
|
|
421
|
-
type StepKind = "task" | "activity" | "signal" | "
|
|
432
|
+
type StepKind = "task" | "activity" | "signal" | "subflow" | "streaming";
|
|
422
433
|
interface Step<Output = unknown> {
|
|
423
434
|
readonly kind: StepKind;
|
|
424
435
|
readonly id: StepId;
|
|
@@ -531,39 +542,6 @@ interface SignalConfig<Input, N extends NeedsMap, Schema extends StandardSchemaV
|
|
|
531
542
|
readonly names?: readonly [string, ...string[]];
|
|
532
543
|
readonly timeoutMs: Millis | "unbounded";
|
|
533
544
|
}
|
|
534
|
-
interface MatchArmGuard<Input, N extends NeedsMap, M extends StepMap> {
|
|
535
|
-
readonly when: (args: {
|
|
536
|
-
readonly input: NoInfer<Input>;
|
|
537
|
-
readonly needs: NoInfer<ResolvedNeeds<N>>;
|
|
538
|
-
}) => boolean;
|
|
539
|
-
readonly otherwise?: never;
|
|
540
|
-
readonly build: (b: Builder<Input>) => M;
|
|
541
|
-
}
|
|
542
|
-
interface MatchArmOtherwise<Input, M extends StepMap> {
|
|
543
|
-
readonly otherwise: true;
|
|
544
|
-
readonly when?: never;
|
|
545
|
-
readonly build: (b: Builder<Input>) => M;
|
|
546
|
-
}
|
|
547
|
-
type MatchArm<Input, N extends NeedsMap, M extends StepMap> = MatchArmGuard<Input, N, M> | MatchArmOtherwise<Input, M>;
|
|
548
|
-
type MatchArmShape<Input, N extends NeedsMap> = {
|
|
549
|
-
readonly when: (args: {
|
|
550
|
-
readonly input: NoInfer<Input>;
|
|
551
|
-
readonly needs: NoInfer<ResolvedNeeds<N>>;
|
|
552
|
-
}) => boolean;
|
|
553
|
-
readonly otherwise?: never;
|
|
554
|
-
readonly build: (b: Builder<Input>) => StepMap;
|
|
555
|
-
} | {
|
|
556
|
-
readonly otherwise: true;
|
|
557
|
-
readonly when?: never;
|
|
558
|
-
readonly build: (b: Builder<Input>) => StepMap;
|
|
559
|
-
};
|
|
560
|
-
interface MatchGuardConfig<Input, N extends NeedsMap, M extends StepMap> {
|
|
561
|
-
readonly needs?: N;
|
|
562
|
-
readonly arms: ReadonlyArray<MatchArm<Input, N, M>>;
|
|
563
|
-
}
|
|
564
|
-
type MatchArmOutput<M extends StepMap> = {
|
|
565
|
-
readonly [K in keyof M]: StepOutput<M[K]>;
|
|
566
|
-
};
|
|
567
545
|
interface SubflowConfig<Input, N extends NeedsMap, Child extends Flow> extends StepConfigBase<Input, N> {
|
|
568
546
|
readonly input: (args: {
|
|
569
547
|
readonly input: NoInfer<Input>;
|
|
@@ -580,10 +558,6 @@ interface Builder<Input = unknown> {
|
|
|
580
558
|
streamingTask<N extends NeedsMap, O, C = Json>(config: StreamingTaskConfig<Input, N, O, C>): Step<O>;
|
|
581
559
|
signal<N extends NeedsMap, S extends StandardSchemaV1>(config: SignalConfig<Input, N, S>): Step<InferSchemaOutput<S>>;
|
|
582
560
|
subflow<N extends NeedsMap, Child extends Flow>(child: Child, config: SubflowConfig<Input, N, Child>): Step<SubflowStepOutput<FlowOutput<Child>>>;
|
|
583
|
-
match<N extends NeedsMap, Arms extends ReadonlyArray<MatchArmShape<Input, N>>>(config: {
|
|
584
|
-
readonly needs?: N;
|
|
585
|
-
readonly arms: Arms;
|
|
586
|
-
}): Step<MatchArmOutput<ReturnType<Arms[number]["build"]>>>;
|
|
587
561
|
}
|
|
588
562
|
type ConcurrencyMode = "cancel-in-progress";
|
|
589
563
|
type StringKeyOf<Input> = {
|
|
@@ -681,6 +655,7 @@ interface WorkerConfig {
|
|
|
681
655
|
readonly pollIntervalMs?: Millis;
|
|
682
656
|
readonly signal?: AbortSignal;
|
|
683
657
|
readonly timerSweepIntervalMs?: Millis;
|
|
658
|
+
readonly reaperIntervalMs?: Millis;
|
|
684
659
|
readonly snapshotGonePolicy?: SnapshotGonePolicy;
|
|
685
660
|
readonly maxConcurrencyPerFlow?: number;
|
|
686
661
|
}
|
|
@@ -725,6 +700,12 @@ type SettleSignalResult = {
|
|
|
725
700
|
} | {
|
|
726
701
|
readonly tag: "noop";
|
|
727
702
|
};
|
|
703
|
+
type GetOnceResult = {
|
|
704
|
+
readonly tag: "hit";
|
|
705
|
+
readonly value: Json;
|
|
706
|
+
} | {
|
|
707
|
+
readonly tag: "miss";
|
|
708
|
+
};
|
|
728
709
|
interface TimedOutSignal {
|
|
729
710
|
readonly runId: RunId;
|
|
730
711
|
readonly stepId: StepId;
|
|
@@ -732,7 +713,8 @@ interface TimedOutSignal {
|
|
|
732
713
|
readonly fireAt: Date;
|
|
733
714
|
}
|
|
734
715
|
interface Store {
|
|
735
|
-
appendFact(runId: RunId, fact: Fact): Promise<void>;
|
|
716
|
+
appendFact(runId: RunId, fact: Exclude<Fact, RunEndFact>): Promise<void>;
|
|
717
|
+
endRun(runId: RunId, fact: RunEndFact): Promise<boolean>;
|
|
736
718
|
loadRunState(runId: RunId): Promise<RunState>;
|
|
737
719
|
settleSignal(args: {
|
|
738
720
|
readonly runId: RunId;
|
|
@@ -775,9 +757,8 @@ interface Store {
|
|
|
775
757
|
readonly now: Date;
|
|
776
758
|
readonly limit?: number;
|
|
777
759
|
}): Promise<readonly TimedOutSignal[]>;
|
|
778
|
-
settleStep(runId: RunId, stepId: StepId, fact: StepCompletedFact | StepFailedFact): Promise<void>;
|
|
779
760
|
recordOnce(runId: RunId, stepId: StepId, scope: string, value: Json): Promise<void>;
|
|
780
|
-
getOnce(runId: RunId, stepId: StepId, scope: string): Promise<
|
|
761
|
+
getOnce(runId: RunId, stepId: StepId, scope: string): Promise<GetOnceResult>;
|
|
781
762
|
runStep<T extends Json>(runId: RunId, stepId: StepId, attempt: AttemptNumber, body: (tx: Tx) => Promise<{
|
|
782
763
|
readonly output: T;
|
|
783
764
|
readonly fact: StepCompletedFact | StepFailedFact | StepCanceledFact;
|
|
@@ -794,7 +775,6 @@ interface Store {
|
|
|
794
775
|
readonly dag: Json;
|
|
795
776
|
} | null>;
|
|
796
777
|
appendGlobalFact(fact: GlobalFact): Promise<void>;
|
|
797
|
-
queryRuns(opts: QueryRunsOpts): Promise<QueryRunsResult>;
|
|
798
778
|
describe(runId: RunId): Promise<RunDescription>;
|
|
799
779
|
listChildren(parentRunId: RunId): Promise<ReadonlyArray<RunId>>;
|
|
800
780
|
pruneFacts(opts: Required<PruneOpts>): Promise<PruneResult>;
|
|
@@ -816,7 +796,7 @@ type RunEvent = {
|
|
|
816
796
|
readonly canceledByRunId: RunId;
|
|
817
797
|
} | {
|
|
818
798
|
readonly type: "flow.canceled";
|
|
819
|
-
readonly cause: "explicit"
|
|
799
|
+
readonly cause: "explicit";
|
|
820
800
|
} | {
|
|
821
801
|
readonly type: "step.started";
|
|
822
802
|
readonly stepId: StepId;
|
|
@@ -853,34 +833,6 @@ interface StreamTransport {
|
|
|
853
833
|
}): AsyncIterable<StreamEvent<Json>>;
|
|
854
834
|
publishChunk(runId: RunId, stepId: StepId, chunk: Json): void;
|
|
855
835
|
}
|
|
856
|
-
interface QueryRunsWhere<FlowId extends string = string> {
|
|
857
|
-
readonly flowId?: FlowId;
|
|
858
|
-
readonly status?: ReadonlyArray<RunStatus>;
|
|
859
|
-
readonly input?: Record<string, Json>;
|
|
860
|
-
}
|
|
861
|
-
type QueryRunsOpts<FlowId extends string = string> = {
|
|
862
|
-
readonly where?: QueryRunsWhere<FlowId>;
|
|
863
|
-
readonly latest: true;
|
|
864
|
-
readonly limit?: never;
|
|
865
|
-
readonly cursor?: never;
|
|
866
|
-
} | {
|
|
867
|
-
readonly where?: QueryRunsWhere<FlowId>;
|
|
868
|
-
readonly latest?: false;
|
|
869
|
-
readonly limit?: number;
|
|
870
|
-
readonly cursor?: string;
|
|
871
|
-
};
|
|
872
|
-
interface RunSummary<FlowId extends string = string> {
|
|
873
|
-
readonly runId: RunId;
|
|
874
|
-
readonly flowId: FlowId;
|
|
875
|
-
readonly status: RunStatus;
|
|
876
|
-
readonly startedAt: Date;
|
|
877
|
-
readonly completedAt: Date | null;
|
|
878
|
-
readonly input: Json;
|
|
879
|
-
}
|
|
880
|
-
interface QueryRunsResult<FlowId extends string = string> {
|
|
881
|
-
readonly runs: ReadonlyArray<RunSummary<FlowId>>;
|
|
882
|
-
readonly cursor: string | null;
|
|
883
|
-
}
|
|
884
836
|
type PrunableStatus = Extract<RunStatus, "completed" | "failed" | "canceled">;
|
|
885
837
|
interface PruneOpts {
|
|
886
838
|
readonly olderThan: Date;
|
|
@@ -944,17 +896,5 @@ interface ReplayOpts {
|
|
|
944
896
|
readonly from?: StepId;
|
|
945
897
|
readonly scope?: ResetScope;
|
|
946
898
|
}
|
|
947
|
-
interface OperatorAuditOpts {
|
|
948
|
-
readonly actor: string;
|
|
949
|
-
readonly note?: string;
|
|
950
|
-
}
|
|
951
|
-
interface OperatorRetryOpts extends OperatorAuditOpts {
|
|
952
|
-
readonly scope?: ResetScope;
|
|
953
|
-
}
|
|
954
|
-
interface Operator {
|
|
955
|
-
skip(runId: RunId, stepId: StepId, opts: OperatorAuditOpts): Promise<void>;
|
|
956
|
-
retry(runId: RunId, stepId: StepId, opts: OperatorRetryOpts): Promise<void>;
|
|
957
|
-
abort(runId: RunId, opts: OperatorAuditOpts): Promise<void>;
|
|
958
|
-
}
|
|
959
899
|
|
|
960
|
-
export { type
|
|
900
|
+
export { type QueueEnqueueOpts as $, type ActivityConfig as A, type BackoffStrategy as B, type CancelArgs as C, DEFAULT_REAPER_INTERVAL_MS as D, type FlowStartedFact as E, type Fact as F, type GetOnceResult as G, type GlobalFact as H, type InferSchemaInput as I, type InferSchemaOutput as J, type Json as K, type LeaseReapedFact as L, type LogEntry as M, type LogLevel as N, type Logger as O, type Millis as P, type NeedRef as Q, type NeedsMap as R, type NeedsOutputs as S, type Optional as T, type ParentLink as U, type ParentRef as V, type PrunableStatus as W, type PruneOpts as X, type PruneResult as Y, type Queue as Z, type QueueDequeueOpts as _, type ActivityCtx as a, type StreamTransport as a$, type QueueInspectEntry as a0, type QueueMessage as a1, type ReapedLease as a2, type ReaperDecision as a3, type Register as a4, type Release as a5, type ReplayMode as a6, type ReplayOpts as a7, type ResetScope as a8, type Resolved as a9, type StepAbortRequestedFact as aA, type StepCancelCause as aB, type StepCanceledFact as aC, type StepCompleteEvent as aD, type StepCompletedFact as aE, type StepCtx as aF, type StepErrorEvent as aG, type StepEvent as aH, type StepFailedFact as aI, type StepId as aJ, type StepKind as aK, type StepLifecycleHooks as aL, type StepMap as aM, type StepOutput as aN, type StepResetFact as aO, type StepRetriedFact as aP, type StepRetryEvent as aQ, type StepRunStatus as aR, type StepSkippedFact as aS, type StepStartEvent as aT, type StepStartedFact as aU, type StepState as aV, type StepStatus as aW, type StepView as aX, type Store as aY, type StreamEffect as aZ, type StreamEvent as a_, type ResolvedConcurrency as aa, type ResolvedNeeds as ab, type RetryPolicy as ac, type RowDelta as ad, type RunCancelCause as ae, type RunDescription as af, type RunEndFact as ag, type RunEvent as ah, type RunEventEnvelope as ai, type RunEventTransport as aj, type RunId as ak, type RunPhase as al, type RunState as am, type RunStatus as an, type RunView as ao, type SerializedError as ap, type SettleSignalResult as aq, type SignalBufferedFact as ar, type SignalConfig as as, type SignalReceivedEvent as at, type SignalReceivedFact as au, type SkipReason as av, type SnapshotGoneDisposition as aw, type SnapshotGonePolicy as ax, StandardSchemaV1 as ay, type Step as az, type AttemptNumber as b, type StreamingStepCtx as b0, type StreamingTaskConfig as b1, type StringKeyOf as b2, type SubflowConfig as b3, type SubflowStepOutput as b4, type TaskConfig as b5, type TimedOutSignal as b6, type Tx as b7, type Worker as b8, type WorkerConfig as b9, type WorkerRunOnceOpts as ba, type WorkerRunResult as bb, type WorkerRunUntilEmptyOpts as bc, attemptOf as bd, decideExpiredLeaseAction as be, errorOf as bf, factConsequences as bg, foldRun as bh, isRunEnd as bi, isStepTerminal as bj, isTerminalRun as bk, outputOf as bl, resolvedOf as bm, runStatusOf as bn, stepStateOf as bo, stepStatusOf as bp, unwrap as bq, type Builder as c, type ClaimToken as d, type Clock as e, type ConcurrencyMode as f, type DriftPolicy as g, type FactConsequences as h, type FactKind as i, type Flow as j, type FlowCanceledByConcurrencyFact as k, type FlowCanceledExplicitlyFact as l, type FlowCanceledFact as m, type FlowCompleteEvent as n, type FlowCompletedFact as o, type FlowConcurrency as p, type FlowConfig as q, type FlowErrorEvent as r, type FlowEvent as s, type FlowFailedFact as t, type FlowHooks as u, type FlowIdOf as v, type FlowInput as w, type FlowOutput as x, type FlowRefUpdatedFact as y, type FlowStartEvent as z };
|