@dudousxd/nestjs-durable-core 0.35.0 → 0.37.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.cjs CHANGED
@@ -43,6 +43,7 @@ __export(index_exports, {
43
43
  STATE_STORE_CANONICAL: () => STATE_STORE_CANONICAL,
44
44
  SignalTimeoutError: () => SignalTimeoutError,
45
45
  SingletonQueueFullError: () => SingletonQueueFullError,
46
+ TERMINAL_RUN_STATUSES: () => TERMINAL_RUN_STATUSES,
46
47
  TRANSPORT: () => TRANSPORT,
47
48
  TRANSPORT_CANONICAL: () => TRANSPORT_CANONICAL,
48
49
  WORKFLOW_NAME_KEY: () => WORKFLOW_NAME_KEY,
@@ -3484,6 +3485,14 @@ var RemoteStepError = class extends Error {
3484
3485
  }
3485
3486
  };
3486
3487
 
3488
+ // src/interfaces.ts
3489
+ var TERMINAL_RUN_STATUSES = [
3490
+ "completed",
3491
+ "failed",
3492
+ "cancelled",
3493
+ "dead"
3494
+ ];
3495
+
3487
3496
  // src/remote-step-factory.ts
3488
3497
  function remoteStep(config) {
3489
3498
  return {
@@ -4297,6 +4306,7 @@ var InMemoryTransport = class {
4297
4306
  STATE_STORE_CANONICAL,
4298
4307
  SignalTimeoutError,
4299
4308
  SingletonQueueFullError,
4309
+ TERMINAL_RUN_STATUSES,
4300
4310
  TRANSPORT,
4301
4311
  TRANSPORT_CANONICAL,
4302
4312
  WORKFLOW_NAME_KEY,