@moostjs/event-wf 0.6.42 → 0.6.44
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 +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +2 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -276,6 +276,7 @@ const LOGGER_TITLE = "moost-wf";
|
|
|
276
276
|
else this.wfApp = (0, _wooksjs_event_wf.createWfApp)();
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
|
+
/** Names this adapter for DI independently of class identity (see `MOOST_ADAPTER_BRAND`). */ _define_property(MoostWf, moost.MOOST_ADAPTER_BRAND, "@moostjs/event-wf/MoostWf");
|
|
279
280
|
|
|
280
281
|
//#endregion
|
|
281
282
|
Object.defineProperty(exports, 'EncapsulatedStateStrategy', {
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { TWorkflowSchema, TWorkflowSpy, TFlowOutput } from '@prostojs/wf';
|
|
|
2
2
|
export { StepRetriableError, TFlowOutput, TWorkflowSchema } from '@prostojs/wf';
|
|
3
3
|
import { WooksWf, TWooksWfOptions, WfOutletTriggerConfig, TWfRunOptions } from '@wooksjs/event-wf';
|
|
4
4
|
export { WfFinishedResponse, WfOutletTokenConfig, WfOutletTriggerConfig, WfOutletTriggerDeps, WfPauseRequest, createEmailOutlet, createHttpOutlet, createOutletHandler, handleWfOutletRequest, swapStrategy, useWfFinished, useWfOutlet, useWfState, useWfStrategy, wfKind } from '@wooksjs/event-wf';
|
|
5
|
-
import { TMoostAdapter, Moost, TMoostAdapterOptions } from 'moost';
|
|
5
|
+
import { TMoostAdapter, MOOST_ADAPTER_BRAND, Moost, TMoostAdapterOptions } from 'moost';
|
|
6
6
|
export { EncapsulatedStateStrategy, HandleStateStrategy, WfOutlet, WfOutletRequest, WfOutletResult, WfState, WfStateStore, WfStateStoreMemory, WfStateStrategy, outlet, outletEmail, outletHttp } from '@prostojs/wf/outlets';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -97,6 +97,8 @@ interface TWfHandlerMeta {
|
|
|
97
97
|
declare class MoostWf<T = any, IR = any> implements TMoostAdapter<TWfHandlerMeta> {
|
|
98
98
|
protected opts?: (WooksWf<T, IR> | TWooksWfOptions) | undefined;
|
|
99
99
|
private readonly debug?;
|
|
100
|
+
/** Names this adapter for DI independently of class identity (see `MOOST_ADAPTER_BRAND`). */
|
|
101
|
+
static readonly [MOOST_ADAPTER_BRAND] = "@moostjs/event-wf/MoostWf";
|
|
100
102
|
readonly name = "workflow";
|
|
101
103
|
protected wfApp: WooksWf<T, IR>;
|
|
102
104
|
constructor(opts?: (WooksWf<T, IR> | TWooksWfOptions) | undefined, debug?: boolean | undefined);
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WooksWf, createEmailOutlet, createHttpOutlet, createOutletHandler, createWfApp, handleWfOutletRequest, handleWfOutletRequest as handleWfOutletRequest$1, swapStrategy, useWfFinished, useWfOutlet, useWfState, useWfState as useWfState$1, useWfStrategy, wfKind } from "@wooksjs/event-wf";
|
|
2
|
-
import { Resolve, defineMoostEventHandler, getMoostInfact, getMoostMate, setControllerContext, useScopeId } from "moost";
|
|
2
|
+
import { MOOST_ADAPTER_BRAND, Resolve, defineMoostEventHandler, getMoostInfact, getMoostMate, setControllerContext, useScopeId } from "moost";
|
|
3
3
|
import { StepRetriableError } from "@prostojs/wf";
|
|
4
4
|
import { EncapsulatedStateStrategy, HandleStateStrategy, WfStateStoreMemory, outlet, outletEmail, outletHttp } from "@prostojs/wf/outlets";
|
|
5
5
|
|
|
@@ -275,6 +275,7 @@ const LOGGER_TITLE = "moost-wf";
|
|
|
275
275
|
else this.wfApp = createWfApp();
|
|
276
276
|
}
|
|
277
277
|
};
|
|
278
|
+
/** Names this adapter for DI independently of class identity (see `MOOST_ADAPTER_BRAND`). */ _define_property(MoostWf, MOOST_ADAPTER_BRAND, "@moostjs/event-wf/MoostWf");
|
|
278
279
|
|
|
279
280
|
//#endregion
|
|
280
281
|
export { EncapsulatedStateStrategy, HandleStateStrategy, MoostWf, Step, StepRetriableError, StepTTL, WfStateStoreMemory, Workflow, WorkflowParam, WorkflowSchema, createEmailOutlet, createHttpOutlet, createOutletHandler, handleWfOutletRequest, outlet, outletEmail, outletHttp, swapStrategy, useWfFinished, useWfOutlet, useWfState, useWfStrategy, wfKind };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moostjs/event-wf",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.44",
|
|
4
4
|
"description": "@moostjs/event-wf",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"composables",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@prostojs/wf": "^0.2.1",
|
|
42
|
-
"@wooksjs/event-wf": "^0.7.
|
|
42
|
+
"@wooksjs/event-wf": "^0.7.26"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"vitest": "3.2.7"
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@prostojs/infact": "^0.6.0",
|
|
49
49
|
"@prostojs/mate": "^0.5.0",
|
|
50
|
-
"@wooksjs/event-core": "^0.7.
|
|
51
|
-
"wooks": "^0.7.
|
|
52
|
-
"moost": "^0.6.
|
|
50
|
+
"@wooksjs/event-core": "^0.7.26",
|
|
51
|
+
"wooks": "^0.7.26",
|
|
52
|
+
"moost": "^0.6.44"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"pub": "pnpm publish --access public",
|