@medusajs/settings 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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./types";
|
|
2
|
-
import { SettingsModuleService } from "./services";
|
|
2
|
+
import { SettingsModuleService } from "./services/index.js";
|
|
3
3
|
declare const _default: import("@medusajs/types").ModuleExports<typeof SettingsModuleService> & {
|
|
4
4
|
linkable: Record<string, any>;
|
|
5
5
|
};
|
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
require("./types");
|
|
18
|
-
const services_1 = require("./services");
|
|
18
|
+
const services_1 = require("./services/index.js");
|
|
19
19
|
const utils_1 = require("@medusajs/framework/utils");
|
|
20
20
|
const utils_2 = require("@medusajs/utils");
|
|
21
21
|
exports.default = (0, utils_1.Module)(utils_2.Modules.SETTINGS, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Context, DAL, HttpTypes, InferEntityType, InternalModuleDeclaration, ModulesSdkTypes, SettingsTypes } from "@medusajs/framework/types";
|
|
2
|
-
import { ViewConfiguration, PropertyLabel, LayoutConfiguration } from "../models";
|
|
3
|
-
import { EntityDiscoveryService } from "../utils";
|
|
4
|
-
import { SettingsModuleOptions } from "../types";
|
|
2
|
+
import { ViewConfiguration, PropertyLabel, LayoutConfiguration } from "../models/index.js";
|
|
3
|
+
import { EntityDiscoveryService } from "../utils/index.js";
|
|
4
|
+
import { SettingsModuleOptions } from "../types/index.js";
|
|
5
5
|
type InjectedDependencies = {
|
|
6
6
|
baseRepository: DAL.RepositoryService;
|
|
7
7
|
viewConfigurationService: ModulesSdkTypes.IMedusaInternalService<any>;
|
|
@@ -15,8 +15,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
15
15
|
const types_1 = require("@medusajs/framework/types");
|
|
16
16
|
const utils_1 = require("@medusajs/framework/utils");
|
|
17
17
|
const modules_sdk_1 = require("@medusajs/framework/modules-sdk");
|
|
18
|
-
const models_1 = require("../models");
|
|
19
|
-
const utils_2 = require("../utils");
|
|
18
|
+
const models_1 = require("../models/index.js");
|
|
19
|
+
const utils_2 = require("../utils/index.js");
|
|
20
20
|
class SettingsModuleService extends (0, utils_1.MedusaService)({ ViewConfiguration: models_1.ViewConfiguration, UserPreference: models_1.UserPreference, PropertyLabel: models_1.PropertyLabel, LayoutConfiguration: models_1.LayoutConfiguration }) {
|
|
21
21
|
constructor({ baseRepository, viewConfigurationService, propertyLabelService, layoutConfigurationService, }, options = {}, moduleDeclaration) {
|
|
22
22
|
super(...arguments);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/settings",
|
|
3
|
-
"version": "2.22.
|
|
3
|
+
"version": "2.22.2-preview-20261028132907",
|
|
4
4
|
"description": "Medusa Settings module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -43,10 +43,10 @@
|
|
|
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
|
"peerDependencies": {
|
|
50
|
-
"@medusajs/framework": "2.22.
|
|
50
|
+
"@medusajs/framework": "2.22.2-preview-20261028132907"
|
|
51
51
|
}
|
|
52
52
|
}
|