@dudousxd/nestjs-durable-testing 0.17.0 → 0.19.0

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 CHANGED
@@ -273,4 +273,19 @@ type HandleableTransport = Transport & {
273
273
  */
274
274
  declare function assertTransportConformance(transport: HandleableTransport, idPrefix?: string): Promise<void>;
275
275
 
276
- export { type AdmissionBackendFactory, DURABLE_CANONICAL_COLUMNS, type DurableColumnMap, type DurableColumnMismatch, type HandleableTransport, MutableClock, type RunHistory, type StateStoreContext, type StateStoreFactory, StateStoreUnavailableError, type TestEngine, assertDurableColumns, assertOutput, assertReplayable, assertRunStatus, assertStepAttempts, assertStepsRan, assertTransportConformance, createTestEngine, failOnce, failTimes, preserveColumnExpectation, recordedSteps, runAdmissionBackendContract, runStateStoreContract };
276
+ /**
277
+ * One run carrying every shape a run detail has to summarize: ungrouped steps and a spawn edge, a
278
+ * step fan wide by rows, a narrow step fan, a step fan sent in partial waves (wide by its declared
279
+ * size), a failFast fan with mixed step names, a child fan in flight with failed children of both
280
+ * kinds plus a folded wave, a child fan that is mostly folded (one fold standing for no child), a
281
+ * narrow child fan with a failure, and a child fan whose group predates the declared size.
282
+ */
283
+ declare function aggregationFixture(): StepCheckpoint[];
284
+ /**
285
+ * The contract of the optional checkpoint aggregation pair (`checkpointStats` + `queryCheckpoints`):
286
+ * each agrees with its in-memory reference, and the run detail built on them is identical to the
287
+ * one `summarizeTimeline` / `pageFan` build from the whole checkpoint list.
288
+ */
289
+ declare function registerCheckpointAggregationCases(t: (label: string, fn: () => Promise<void>) => void, getStore: () => StateStore, run: (over?: Partial<WorkflowRun>) => WorkflowRun): void;
290
+
291
+ export { type AdmissionBackendFactory, DURABLE_CANONICAL_COLUMNS, type DurableColumnMap, type DurableColumnMismatch, type HandleableTransport, MutableClock, type RunHistory, type StateStoreContext, type StateStoreFactory, StateStoreUnavailableError, type TestEngine, aggregationFixture, assertDurableColumns, assertOutput, assertReplayable, assertRunStatus, assertStepAttempts, assertStepsRan, assertTransportConformance, createTestEngine, failOnce, failTimes, preserveColumnExpectation, recordedSteps, registerCheckpointAggregationCases, runAdmissionBackendContract, runStateStoreContract };