@moostjs/event-wf 0.7.3 → 0.7.4
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 +6 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -368,6 +368,12 @@ Object.defineProperty(exports, 'handleWfOutletRequest', {
|
|
|
368
368
|
return _wooksjs_event_wf.handleWfOutletRequest;
|
|
369
369
|
}
|
|
370
370
|
});
|
|
371
|
+
Object.defineProperty(exports, 'hashWfHandle', {
|
|
372
|
+
enumerable: true,
|
|
373
|
+
get: function () {
|
|
374
|
+
return _prostojs_wf_outlets.hashWfHandle;
|
|
375
|
+
}
|
|
376
|
+
});
|
|
371
377
|
Object.defineProperty(exports, 'mintWfToken', {
|
|
372
378
|
enumerable: true,
|
|
373
379
|
get: function () {
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { StepRetriableError, TFlowOutput, TWorkflowSchema } from '@prostojs/wf';
|
|
|
3
3
|
import { WooksWf, TWooksWfOptions, WfOutletTriggerConfig, WfMintTokenOptions, WfMintTokenResult, TWfRunOptions } from '@wooksjs/event-wf';
|
|
4
4
|
export { WF_TRIGGER_ERRORS, WfFinishedResponse, WfMintTokenOptions, WfMintTokenResult, WfOutletTokenConfig, WfOutletTriggerConfig, WfOutletTriggerDeps, WfPauseRequest, WfStartRunner, WfTriggerErrorBody, WfTriggerErrorCode, createEmailOutlet, createHttpOutlet, createOutletHandler, handleWfOutletRequest, mintWfToken, normalizeWfId, swapStrategy, useWfFinished, useWfOutlet, useWfState, useWfStrategy, wfKind } from '@wooksjs/event-wf';
|
|
5
5
|
import { TMoostAdapter, MOOST_ADAPTER_BRAND, Moost, EventContext, TMoostAdapterOptions } from 'moost';
|
|
6
|
-
export { EncapsulatedStateStrategy, HandleStateStrategy, WfOutlet, WfOutletRequest, WfOutletResult, WfState, WfStateStore, WfStateStoreMemory, WfStateStrategy, outlet, outletEmail, outletHttp } from '@prostojs/wf/outlets';
|
|
6
|
+
export { EncapsulatedStateStrategy, HandleStateStrategy, WfHandleHashOptions, WfOutlet, WfOutletRequest, WfOutletResult, WfState, WfStateStore, WfStateStoreMemory, WfStateStrategy, hashWfHandle, outlet, outletEmail, outletHttp } from '@prostojs/wf/outlets';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Registers a method as a workflow step handler.
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { WF_TRIGGER_ERRORS, WooksWf, createEmailOutlet, createHttpOutlet, createOutletHandler, createWfApp, handleWfOutletRequest, handleWfOutletRequest as handleWfOutletRequest$1, mintWfToken, mintWfToken as mintWfToken$1, normalizeWfId, swapStrategy, useWfFinished, useWfOutlet, useWfState, useWfState as useWfState$1, useWfStrategy, wfKind } from "@wooksjs/event-wf";
|
|
2
2
|
import { MOOST_ADAPTER_BRAND, Resolve, defineMoostEventHandler, getMoostInfact, getMoostMate, setControllerContext, useScopeId } from "moost";
|
|
3
3
|
import { StepRetriableError } from "@prostojs/wf";
|
|
4
|
-
import { EncapsulatedStateStrategy, HandleStateStrategy, WfStateStoreMemory, outlet, outletEmail, outletHttp } from "@prostojs/wf/outlets";
|
|
4
|
+
import { EncapsulatedStateStrategy, HandleStateStrategy, WfStateStoreMemory, hashWfHandle, outlet, outletEmail, outletHttp } from "@prostojs/wf/outlets";
|
|
5
5
|
|
|
6
6
|
//#region packages/event-wf/src/meta-types.ts
|
|
7
7
|
function getWfMate() {
|
|
@@ -307,4 +307,4 @@ const LOGGER_TITLE = "moost-wf";
|
|
|
307
307
|
/** Names this adapter for DI independently of class identity (see `MOOST_ADAPTER_BRAND`). */ _define_property(MoostWf, MOOST_ADAPTER_BRAND, "@moostjs/event-wf/MoostWf");
|
|
308
308
|
|
|
309
309
|
//#endregion
|
|
310
|
-
export { EncapsulatedStateStrategy, HandleStateStrategy, MoostWf, Step, StepRetriableError, StepTTL, WF_TRIGGER_ERRORS, WfStateStoreMemory, Workflow, WorkflowParam, WorkflowSchema, createEmailOutlet, createHttpOutlet, createOutletHandler, handleWfOutletRequest, mintWfToken, normalizeWfId, outlet, outletEmail, outletHttp, swapStrategy, useWfFinished, useWfOutlet, useWfState, useWfStrategy, wfKind };
|
|
310
|
+
export { EncapsulatedStateStrategy, HandleStateStrategy, MoostWf, Step, StepRetriableError, StepTTL, WF_TRIGGER_ERRORS, WfStateStoreMemory, Workflow, WorkflowParam, WorkflowSchema, createEmailOutlet, createHttpOutlet, createOutletHandler, handleWfOutletRequest, hashWfHandle, mintWfToken, normalizeWfId, 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.7.
|
|
3
|
+
"version": "0.7.4",
|
|
4
4
|
"description": "@moostjs/event-wf",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"composables",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@prostojs/mate": "^0.5.1",
|
|
50
50
|
"@wooksjs/event-core": "^0.8.1",
|
|
51
51
|
"wooks": "^0.8.1",
|
|
52
|
-
"moost": "^0.7.
|
|
52
|
+
"moost": "^0.7.4"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"pub": "pnpm publish --access public",
|