@medusajs/region 2.22.1 → 2.22.2-preview-20261029135257

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,6 +1,6 @@
1
1
  import { Context, CreateRegionDTO, DAL, FilterableRegionProps, InferEntityType, InternalModuleDeclaration, IRegionModuleService, ModulesSdkTypes, RegionCountryDTO, RegionDTO, SoftDeleteReturn, UpdateRegionDTO, UpsertRegionDTO } from "@medusajs/framework/types";
2
- import { Country, Region } from "../models";
3
- import { UpdateRegionInput } from "../types";
2
+ import { Country, Region } from "../models/index.js";
3
+ import { UpdateRegionInput } from "../types/index.js";
4
4
  type InjectedDependencies = {
5
5
  baseRepository: DAL.RepositoryService;
6
6
  regionService: ModulesSdkTypes.IMedusaInternalService<any>;
@@ -13,7 +13,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
13
13
  };
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  const utils_1 = require("@medusajs/framework/utils");
16
- const _models_1 = require("../models");
16
+ const _models_1 = require("../models/index.js");
17
17
  class RegionModuleService extends (0, utils_1.MedusaService)({ Region: _models_1.Region, Country: _models_1.Country }) {
18
18
  constructor({ baseRepository, regionService, countryService }, moduleDeclaration) {
19
19
  // @ts-ignore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/region",
3
- "version": "2.22.1",
3
+ "version": "2.22.2-preview-20261029135257",
4
4
  "description": "Medusa Region 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-20261029135257",
47
+ "@medusajs/test-utils": "2.22.2-preview-20261029135257"
48
48
  },
49
49
  "peerDependencies": {
50
- "@medusajs/framework": "2.22.1"
50
+ "@medusajs/framework": "2.22.2-preview-20261029135257"
51
51
  }
52
52
  }