@sdux-vault/engine 0.2.0 → 0.4.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.
|
|
3
|
+
"version": "0.4.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.
|
|
15
|
-
"@sdux-vault/shared": "0.
|
|
14
|
+
"@sdux-vault/devtools": "0.4.0",
|
|
15
|
+
"@sdux-vault/shared": "0.3.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
|
|
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';
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
4
|
import { Subject } from 'rxjs';
|
|
5
5
|
|
|
@@ -254,6 +254,14 @@ interface FeatureCellConfig<T> {
|
|
|
254
254
|
insights?: InsightConfig;
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
+
/**
|
|
258
|
+
* Canonical license identifier for the SDuX Vault engine license.
|
|
259
|
+
*
|
|
260
|
+
* This value must match the `licenseId` field in the `VaultLicensingShape`
|
|
261
|
+
* payload supplied via `provideVault({ licenses: [...] })`.
|
|
262
|
+
*/
|
|
263
|
+
declare const VAULT_LICENSE_ID = "sdux-vault";
|
|
264
|
+
|
|
257
265
|
/**
|
|
258
266
|
* Represents a reference view of Vault-managed state, including loading, value, and error signals.
|
|
259
267
|
*/
|
|
@@ -366,25 +374,5 @@ declare function createFeatureCellToken(key: string): FeatureCellToken;
|
|
|
366
374
|
*/
|
|
367
375
|
declare function getFeatureCellToken(key: string): FeatureCellToken;
|
|
368
376
|
|
|
369
|
-
|
|
370
|
-
* Determines whether a pipeline result is terminal.
|
|
371
|
-
*
|
|
372
|
-
* Terminal values indicate that the pipeline must halt without applying
|
|
373
|
-
* a new state snapshot. This includes both no-op and stop signals.
|
|
374
|
-
*
|
|
375
|
-
* @typeParam T - The FeatureCell state value type.
|
|
376
|
-
* @param current - The final pipeline result value.
|
|
377
|
-
* @returns `true` when the pipeline should not apply state.
|
|
378
|
-
*/
|
|
379
|
-
declare const isPipelineTerminal: <T>(current: FinalState<T>) => boolean;
|
|
380
|
-
|
|
381
|
-
/**
|
|
382
|
-
* Canonical license identifier for the SDuX Vault engine license.
|
|
383
|
-
*
|
|
384
|
-
* This value must match the `licenseId` field in the `VaultLicensingShape`
|
|
385
|
-
* payload supplied via `provideVault({ licenses: [...] })`.
|
|
386
|
-
*/
|
|
387
|
-
declare const VAULT_LICENSE_ID = "sdux-vault";
|
|
388
|
-
|
|
389
|
-
export { Conductor, FeatureCellClass, LicensingAbstract, VAULT_LICENSE_ID, VaultCore, createFeatureCellToken, getFeatureCellToken, getLicensePayload, getVaultRegistryForTests, hasVaultLicense, isAuthorizedKey, isPipelineTerminal, registerFeatureCell, registerVaultSettled, resetFeatureCellRegistry, resetVaultForTests, vaultAllSettled, vaultSettled };
|
|
377
|
+
export { Conductor, FeatureCellClass, LicensingAbstract, VAULT_LICENSE_ID, VaultCore, createFeatureCellToken, getFeatureCellToken, getLicensePayload, getVaultRegistryForTests, hasVaultLicense, isAuthorizedKey, registerFeatureCell, registerVaultSettled, resetFeatureCellRegistry, resetVaultForTests, vaultAllSettled, vaultSettled };
|
|
390
378
|
export type { ConductorConfig, FeatureCellConfig, FeatureCellShape, VaultStateRef };
|