@medusajs/store 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,4 +1,4 @@
1
- import { StoreModuleService } from "./services";
1
+ import { StoreModuleService } from "./services/index.js";
2
2
  declare const _default: import("@medusajs/types").ModuleExports<typeof StoreModuleService> & {
3
3
  linkable: Record<string, any>;
4
4
  };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const _services_1 = require("./services");
3
+ const _services_1 = require("./services/index.js");
4
4
  const utils_1 = require("@medusajs/framework/utils");
5
5
  exports.default = (0, utils_1.Module)(utils_1.Modules.STORE, {
6
6
  service: _services_1.StoreModuleService,
@@ -1,6 +1,6 @@
1
1
  import { Context, DAL, InferEntityType, InternalModuleDeclaration, IStoreModuleService, ModulesSdkTypes, StoreTypes } from "@medusajs/framework/types";
2
- import { Store } from "../models";
3
- import { UpdateStoreInput } from "../types";
2
+ import { Store } from "../models/index.js";
3
+ import { UpdateStoreInput } from "../types/index.js";
4
4
  type InjectedDependencies = {
5
5
  baseRepository: DAL.RepositoryService;
6
6
  storeService: ModulesSdkTypes.IMedusaInternalService<any>;
@@ -14,7 +14,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
14
14
  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
- const _models_1 = require("../models");
17
+ const _models_1 = require("../models/index.js");
18
18
  class StoreModuleService extends (0, utils_1.MedusaService)({ Store: _models_1.Store, StoreCurrency: _models_1.StoreCurrency, StoreLocale: _models_1.StoreLocale }) {
19
19
  constructor({ baseRepository, storeService }, moduleDeclaration) {
20
20
  // @ts-ignore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/store",
3
- "version": "2.22.1",
3
+ "version": "2.22.2-preview-20261028132907",
4
4
  "description": "Medusa Store 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.1",
47
- "@medusajs/test-utils": "2.22.1"
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.1"
50
+ "@medusajs/framework": "2.22.2-preview-20261028132907"
51
51
  }
52
52
  }