@medusajs/workflow-engine-inmemory 2.22.1 → 2.22.2-preview-20261028132907
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.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const utils_1 = require("@medusajs/framework/utils");
|
|
4
|
-
const _services_1 = require("./services");
|
|
4
|
+
const _services_1 = require("./services/index.js");
|
|
5
5
|
const loaders_1 = require("./loaders");
|
|
6
6
|
exports.default = (0, utils_1.Module)(utils_1.Modules.WORKFLOW_ENGINE, {
|
|
7
7
|
service: _services_1.WorkflowsModuleService,
|
|
@@ -2,7 +2,7 @@ import { DistributedTransactionEvents, DistributedTransactionType, TransactionSt
|
|
|
2
2
|
import { ContainerLike, Context, MedusaContainer } from "@medusajs/framework/types";
|
|
3
3
|
import { TransactionState } from "@medusajs/framework/utils";
|
|
4
4
|
import { type FlowRunOptions, ReturnWorkflow } from "@medusajs/framework/workflows-sdk";
|
|
5
|
-
import { WorkflowOrchestratorCancelOptions } from "../types";
|
|
5
|
+
import { WorkflowOrchestratorCancelOptions } from "../types/index.js";
|
|
6
6
|
import { InMemoryDistributedTransactionStorage } from "../utils";
|
|
7
7
|
export type WorkflowOrchestratorRunOptions<T> = Omit<FlowRunOptions<T>, "container"> & {
|
|
8
8
|
transactionId?: string;
|
|
@@ -2,9 +2,9 @@ import { Context, DAL, FilterableWorkflowExecutionProps, FindConfig, Idempotency
|
|
|
2
2
|
import { ModulesSdkUtils } from "@medusajs/framework/utils";
|
|
3
3
|
import type { ReturnWorkflow, UnwrapWorkflowInputDataType } from "@medusajs/framework/workflows-sdk";
|
|
4
4
|
import { SqlEntityManager } from "@medusajs/framework/mikro-orm/postgresql";
|
|
5
|
-
import { WorkflowExecution } from "../models";
|
|
6
|
-
import { WorkflowOrchestratorService } from ".";
|
|
7
|
-
import { WorkflowOrchestratorCancelOptions } from "../types";
|
|
5
|
+
import { WorkflowExecution } from "../models/index.js";
|
|
6
|
+
import { WorkflowOrchestratorService } from "./index.js";
|
|
7
|
+
import { WorkflowOrchestratorCancelOptions } from "../types/index.js";
|
|
8
8
|
type InjectedDependencies = {
|
|
9
9
|
manager: SqlEntityManager;
|
|
10
10
|
baseRepository: DAL.RepositoryService;
|
|
@@ -16,7 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.WorkflowsModuleService = void 0;
|
|
17
17
|
const types_1 = require("@medusajs/framework/types");
|
|
18
18
|
const utils_1 = require("@medusajs/framework/utils");
|
|
19
|
-
const _models_1 = require("../models");
|
|
19
|
+
const _models_1 = require("../models/index.js");
|
|
20
20
|
class WorkflowsModuleService extends utils_1.ModulesSdkUtils.MedusaService({ WorkflowExecution: _models_1.WorkflowExecution }) {
|
|
21
21
|
constructor({ manager, baseRepository, workflowExecutionService, workflowOrchestratorService, }, moduleDeclaration) {
|
|
22
22
|
// @ts-ignore
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/workflow-engine-inmemory",
|
|
3
|
-
"version": "2.22.
|
|
3
|
+
"version": "2.22.2-preview-20261028132907",
|
|
4
4
|
"description": "Medusa Workflow Orchestrator module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
"orm:cache:clear": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm cache:clear"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@medusajs/framework": "2.22.
|
|
47
|
-
"@medusajs/test-utils": "2.22.
|
|
46
|
+
"@medusajs/framework": "2.22.2-preview-20261028132907",
|
|
47
|
+
"@medusajs/test-utils": "2.22.2-preview-20261028132907"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"cron-parser": "^4.9.0",
|
|
51
51
|
"ulid": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@medusajs/framework": "2.22.
|
|
54
|
+
"@medusajs/framework": "2.22.2-preview-20261028132907"
|
|
55
55
|
}
|
|
56
56
|
}
|