@sdux-vault/engine 0.4.0 → 0.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sdux-vault/engine",
3
- "version": "0.4.0",
3
+ "version": "0.9.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,8 +11,8 @@
11
11
  },
12
12
  "homepage": "https://www.sdux-vault.com",
13
13
  "dependencies": {
14
- "@sdux-vault/devtools": "0.4.0",
15
- "@sdux-vault/shared": "0.3.0",
14
+ "@sdux-vault/devtools": "0.5.0",
15
+ "@sdux-vault/shared": "0.4.0",
16
16
  "tslib": "^2.3.0"
17
17
  },
18
18
  "peerDependencies": {
@@ -1,5 +1,5 @@
1
1
  import * as _sdux_vault_shared from '@sdux-vault/shared';
2
- import { TapCallback, BehaviorClassContract, FeatureCellBaseShape, CoreEmitStateCallback, VaultErrorCallback, FilterFunction, DeferredType, ReducerFunction, InterceptorBehaviorClassContract, OperatorsBehaviorClassContract, ControllerClassContract, ControllerContract, ControllerContext, VaultErrorShape, BehaviorContext, VaultPrivateErrorServiceContract, StateInputType, DecisionOutcomeType, OperationType, VAULT_NOOP, VAULT_CLEAR_STATE, InsightConfig, PipelineValue, StateEmitSnapshotShape, CellBuilderContract, VaultConfig, VaultRegistrationShape, BehaviorClassContext } from '@sdux-vault/shared';
2
+ import { TapCallback, BehaviorClassContract, FeatureCellBaseShape, CoreEmitStateCallback, VaultErrorCallback, FilterFunction, DeferredType, ReducerFunction, InterceptorBehaviorClassContract, OperatorsBehaviorClassContract, ControllerClassContract, ControllerContract, ControllerContext, VaultErrorShape, BehaviorContext, VaultPrivateErrorServiceContract, StateInputType, DecisionOutcomeType, OperationType, VAULT_NOOP, VAULT_CLEAR_STATE, InsightConfig, PipelineValue, StateEmitSnapshotShape, CellBuilderContract, VaultConfig, VaultRegistrationShape, BehaviorClassContext, FinalState } from '@sdux-vault/shared';
3
3
  import * as rxjs from 'rxjs';
4
4
  import { Subject } from 'rxjs';
5
5
 
@@ -374,5 +374,17 @@ declare function createFeatureCellToken(key: string): FeatureCellToken;
374
374
  */
375
375
  declare function getFeatureCellToken(key: string): FeatureCellToken;
376
376
 
377
- export { Conductor, FeatureCellClass, LicensingAbstract, VAULT_LICENSE_ID, VaultCore, createFeatureCellToken, getFeatureCellToken, getLicensePayload, getVaultRegistryForTests, hasVaultLicense, isAuthorizedKey, registerFeatureCell, registerVaultSettled, resetFeatureCellRegistry, resetVaultForTests, vaultAllSettled, vaultSettled };
377
+ /**
378
+ * Determines whether a pipeline result is terminal.
379
+ *
380
+ * Terminal values indicate that the pipeline must halt without applying
381
+ * a new state snapshot. This includes both no-op and stop signals.
382
+ *
383
+ * @typeParam T - The FeatureCell state value type.
384
+ * @param current - The final pipeline result value.
385
+ * @returns `true` when the pipeline should not apply state.
386
+ */
387
+ declare const isPipelineTerminal: <T>(current: FinalState<T>) => boolean;
388
+
389
+ export { Conductor, FeatureCellClass, LicensingAbstract, VAULT_LICENSE_ID, VaultCore, createFeatureCellToken, getFeatureCellToken, getLicensePayload, getVaultRegistryForTests, hasVaultLicense, isAuthorizedKey, isPipelineTerminal, registerFeatureCell, registerVaultSettled, resetFeatureCellRegistry, resetVaultForTests, vaultAllSettled, vaultSettled };
378
390
  export type { ConductorConfig, FeatureCellConfig, FeatureCellShape, VaultStateRef };