@medusajs/link-modules 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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getLinkModuleDefinition = getLinkModuleDefinition;
|
|
4
|
-
const _services_1 = require("../services");
|
|
4
|
+
const _services_1 = require("../services/index.js");
|
|
5
5
|
const loaders_1 = require("../loaders");
|
|
6
6
|
function getLinkModuleDefinition(joinerConfig, primary, foreign) {
|
|
7
7
|
return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.containerLoader = containerLoader;
|
|
4
|
-
const _repositories_1 = require("../repositories");
|
|
5
|
-
const _services_1 = require("../services");
|
|
4
|
+
const _repositories_1 = require("../repositories/index.js");
|
|
5
|
+
const _services_1 = require("../services/index.js");
|
|
6
6
|
const utils_1 = require("@medusajs/framework/utils");
|
|
7
7
|
const awilix_1 = require("@medusajs/framework/awilix");
|
|
8
8
|
function containerLoader(entity, joinerConfig) {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getModuleService = getModuleService;
|
|
4
4
|
exports.getReadOnlyModuleService = getReadOnlyModuleService;
|
|
5
5
|
const utils_1 = require("@medusajs/framework/utils");
|
|
6
|
-
const _services_1 = require(".");
|
|
6
|
+
const _services_1 = require("./index.js");
|
|
7
7
|
function getModuleService(joinerConfig) {
|
|
8
8
|
const joinerConfig_ = JSON.parse(JSON.stringify(joinerConfig));
|
|
9
9
|
const databaseConfig = joinerConfig_.databaseConfig;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Context, DAL, FindConfig, IEventBusModuleService, ILinkModule, InternalModuleDeclaration, ModuleJoinerConfig, RestoreReturn, SoftDeleteReturn } from "@medusajs/framework/types";
|
|
2
2
|
import { Modules } from "@medusajs/framework/utils";
|
|
3
|
-
import { LinkService } from ".";
|
|
3
|
+
import { LinkService } from "./index.js";
|
|
4
4
|
type InjectedDependencies = {
|
|
5
5
|
baseRepository: DAL.RepositoryService;
|
|
6
6
|
linkService: LinkService<any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/link-modules",
|
|
3
|
-
"version": "2.22.
|
|
3
|
+
"version": "2.22.2-preview-20261028132907",
|
|
4
4
|
"description": "Medusa Default Link Modules Package and Definitions",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:integration": "../../../node_modules/.bin/jest --passWithNoTests --forceExit --testPathPattern=\"integration-tests/__tests__/.*\\.ts\""
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@medusajs/framework": "2.22.
|
|
44
|
-
"@medusajs/test-utils": "2.22.
|
|
43
|
+
"@medusajs/framework": "2.22.2-preview-20261028132907",
|
|
44
|
+
"@medusajs/test-utils": "2.22.2-preview-20261028132907"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@medusajs/framework": "2.22.
|
|
47
|
+
"@medusajs/framework": "2.22.2-preview-20261028132907"
|
|
48
48
|
}
|
|
49
49
|
}
|