@nagi-js/core 0.1.1-rc.21 → 0.1.1-rc.23
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-DPTPJZEG.js} +861 -575
- package/dist/chunk-DPTPJZEG.js.map +1 -0
- package/dist/index.d.ts +51 -120
- package/dist/index.js +657 -1409
- package/dist/index.js.map +1 -1
- package/dist/testing.d.ts +2 -1
- package/dist/testing.js +637 -216
- package/dist/testing.js.map +1 -1
- package/dist/{types-KjCWK9pN.d.ts → types-CezUTCly.d.ts} +65 -128
- 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> = {
|
|
@@ -626,9 +600,6 @@ interface ParentLink {
|
|
|
626
600
|
readonly runId: RunId;
|
|
627
601
|
readonly stepId: StepId;
|
|
628
602
|
}
|
|
629
|
-
interface ParentRef extends ParentLink {
|
|
630
|
-
readonly attempt: AttemptNumber;
|
|
631
|
-
}
|
|
632
603
|
interface FlowEvent {
|
|
633
604
|
readonly runId: RunId;
|
|
634
605
|
readonly flowId: string;
|
|
@@ -636,7 +607,7 @@ interface FlowEvent {
|
|
|
636
607
|
}
|
|
637
608
|
interface FlowStartEvent extends FlowEvent {
|
|
638
609
|
readonly input: Json;
|
|
639
|
-
readonly parent?:
|
|
610
|
+
readonly parent?: ParentLink;
|
|
640
611
|
}
|
|
641
612
|
interface FlowCompleteEvent extends FlowEvent {
|
|
642
613
|
readonly output: Json;
|
|
@@ -681,6 +652,7 @@ interface WorkerConfig {
|
|
|
681
652
|
readonly pollIntervalMs?: Millis;
|
|
682
653
|
readonly signal?: AbortSignal;
|
|
683
654
|
readonly timerSweepIntervalMs?: Millis;
|
|
655
|
+
readonly reaperIntervalMs?: Millis;
|
|
684
656
|
readonly snapshotGonePolicy?: SnapshotGonePolicy;
|
|
685
657
|
readonly maxConcurrencyPerFlow?: number;
|
|
686
658
|
}
|
|
@@ -725,6 +697,12 @@ type SettleSignalResult = {
|
|
|
725
697
|
} | {
|
|
726
698
|
readonly tag: "noop";
|
|
727
699
|
};
|
|
700
|
+
type GetOnceResult = {
|
|
701
|
+
readonly tag: "hit";
|
|
702
|
+
readonly value: Json;
|
|
703
|
+
} | {
|
|
704
|
+
readonly tag: "miss";
|
|
705
|
+
};
|
|
728
706
|
interface TimedOutSignal {
|
|
729
707
|
readonly runId: RunId;
|
|
730
708
|
readonly stepId: StepId;
|
|
@@ -732,7 +710,8 @@ interface TimedOutSignal {
|
|
|
732
710
|
readonly fireAt: Date;
|
|
733
711
|
}
|
|
734
712
|
interface Store {
|
|
735
|
-
appendFact(runId: RunId, fact: Fact): Promise<void>;
|
|
713
|
+
appendFact(runId: RunId, fact: Exclude<Fact, RunEndFact>): Promise<void>;
|
|
714
|
+
endRun(runId: RunId, fact: RunEndFact): Promise<boolean>;
|
|
736
715
|
loadRunState(runId: RunId): Promise<RunState>;
|
|
737
716
|
settleSignal(args: {
|
|
738
717
|
readonly runId: RunId;
|
|
@@ -775,9 +754,8 @@ interface Store {
|
|
|
775
754
|
readonly now: Date;
|
|
776
755
|
readonly limit?: number;
|
|
777
756
|
}): Promise<readonly TimedOutSignal[]>;
|
|
778
|
-
settleStep(runId: RunId, stepId: StepId, fact: StepCompletedFact | StepFailedFact): Promise<void>;
|
|
779
757
|
recordOnce(runId: RunId, stepId: StepId, scope: string, value: Json): Promise<void>;
|
|
780
|
-
getOnce(runId: RunId, stepId: StepId, scope: string): Promise<
|
|
758
|
+
getOnce(runId: RunId, stepId: StepId, scope: string): Promise<GetOnceResult>;
|
|
781
759
|
runStep<T extends Json>(runId: RunId, stepId: StepId, attempt: AttemptNumber, body: (tx: Tx) => Promise<{
|
|
782
760
|
readonly output: T;
|
|
783
761
|
readonly fact: StepCompletedFact | StepFailedFact | StepCanceledFact;
|
|
@@ -794,7 +772,6 @@ interface Store {
|
|
|
794
772
|
readonly dag: Json;
|
|
795
773
|
} | null>;
|
|
796
774
|
appendGlobalFact(fact: GlobalFact): Promise<void>;
|
|
797
|
-
queryRuns(opts: QueryRunsOpts): Promise<QueryRunsResult>;
|
|
798
775
|
describe(runId: RunId): Promise<RunDescription>;
|
|
799
776
|
listChildren(parentRunId: RunId): Promise<ReadonlyArray<RunId>>;
|
|
800
777
|
pruneFacts(opts: Required<PruneOpts>): Promise<PruneResult>;
|
|
@@ -816,7 +793,7 @@ type RunEvent = {
|
|
|
816
793
|
readonly canceledByRunId: RunId;
|
|
817
794
|
} | {
|
|
818
795
|
readonly type: "flow.canceled";
|
|
819
|
-
readonly cause: "explicit"
|
|
796
|
+
readonly cause: "explicit";
|
|
820
797
|
} | {
|
|
821
798
|
readonly type: "step.started";
|
|
822
799
|
readonly stepId: StepId;
|
|
@@ -853,34 +830,6 @@ interface StreamTransport {
|
|
|
853
830
|
}): AsyncIterable<StreamEvent<Json>>;
|
|
854
831
|
publishChunk(runId: RunId, stepId: StepId, chunk: Json): void;
|
|
855
832
|
}
|
|
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
833
|
type PrunableStatus = Extract<RunStatus, "completed" | "failed" | "canceled">;
|
|
885
834
|
interface PruneOpts {
|
|
886
835
|
readonly olderThan: Date;
|
|
@@ -944,17 +893,5 @@ interface ReplayOpts {
|
|
|
944
893
|
readonly from?: StepId;
|
|
945
894
|
readonly scope?: ResetScope;
|
|
946
895
|
}
|
|
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
896
|
|
|
960
|
-
export { type
|
|
897
|
+
export { type QueueInspectEntry 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 PrunableStatus as V, type PruneOpts as W, type PruneResult as X, type Queue as Y, type QueueDequeueOpts as Z, type QueueEnqueueOpts as _, type ActivityCtx as a, type StreamingStepCtx as a$, type QueueMessage as a0, type ReapedLease as a1, type ReaperDecision as a2, type Register as a3, type Release as a4, type ReplayMode as a5, type ReplayOpts as a6, type ResetScope as a7, type Resolved as a8, type ResolvedConcurrency as a9, type StepCancelCause as aA, type StepCanceledFact as aB, type StepCompleteEvent as aC, type StepCompletedFact as aD, type StepCtx as aE, type StepErrorEvent as aF, type StepEvent as aG, type StepFailedFact as aH, type StepId as aI, type StepKind as aJ, type StepLifecycleHooks as aK, type StepMap as aL, type StepOutput as aM, type StepResetFact as aN, type StepRetriedFact as aO, type StepRetryEvent as aP, type StepRunStatus as aQ, type StepSkippedFact as aR, type StepStartEvent as aS, type StepStartedFact as aT, type StepState as aU, type StepStatus as aV, type StepView as aW, type Store as aX, type StreamEffect as aY, type StreamEvent as aZ, type StreamTransport as a_, type ResolvedNeeds as aa, type RetryPolicy as ab, type RowDelta as ac, type RunCancelCause as ad, type RunDescription as ae, type RunEndFact as af, type RunEvent as ag, type RunEventEnvelope as ah, type RunEventTransport as ai, type RunId as aj, type RunPhase as ak, type RunState as al, type RunStatus as am, type RunView as an, type SerializedError as ao, type SettleSignalResult as ap, type SignalBufferedFact as aq, type SignalConfig as ar, type SignalReceivedEvent as as, type SignalReceivedFact as at, type SkipReason as au, type SnapshotGoneDisposition as av, type SnapshotGonePolicy as aw, StandardSchemaV1 as ax, type Step as ay, type StepAbortRequestedFact as az, type AttemptNumber as b, type StreamingTaskConfig as b0, type StringKeyOf as b1, type SubflowConfig as b2, type SubflowStepOutput as b3, type TaskConfig as b4, type TimedOutSignal as b5, type Tx as b6, type Worker as b7, type WorkerConfig as b8, type WorkerRunOnceOpts as b9, type WorkerRunResult as ba, type WorkerRunUntilEmptyOpts as bb, attemptOf as bc, decideExpiredLeaseAction as bd, errorOf as be, factConsequences as bf, foldRun as bg, isRunEnd as bh, isStepTerminal as bi, isTerminalRun as bj, outputOf as bk, resolvedOf as bl, runStatusOf as bm, stepStateOf as bn, stepStatusOf as bo, unwrap as bp, 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 };
|