@medusajs/region 1.0.0-rc-20241001083650 → 1.0.0-rc-20241014083213

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -1,16 +1,15 @@
1
1
  import { RegionModuleService } from "./services";
2
- import { Modules } from "@medusajs/framework/utils";
3
2
  declare const _default: import("@medusajs/types").ModuleExports<typeof RegionModuleService> & {
4
3
  linkable: {
5
4
  region: {
6
5
  id: {
7
- serviceName: Modules.REGION;
6
+ serviceName: "region";
8
7
  field: "region";
9
8
  linkable: "region_id";
10
9
  primaryKey: "id";
11
10
  };
12
11
  toJSON: () => {
13
- serviceName: Modules.REGION;
12
+ serviceName: "region";
14
13
  field: "region";
15
14
  linkable: "region_id";
16
15
  primaryKey: "id";
@@ -18,13 +17,13 @@ declare const _default: import("@medusajs/types").ModuleExports<typeof RegionMod
18
17
  };
19
18
  country: {
20
19
  iso_2: {
21
- serviceName: Modules.REGION;
20
+ serviceName: "region";
22
21
  field: "country";
23
22
  linkable: "country_iso_2";
24
23
  primaryKey: "iso_2";
25
24
  };
26
25
  toJSON: () => {
27
- serviceName: Modules.REGION;
26
+ serviceName: "region";
28
27
  field: "country";
29
28
  linkable: "country_iso_2";
30
29
  primaryKey: "iso_2";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAEhD,OAAO,EAAU,OAAO,EAAE,MAAM,2BAA2B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE3D,wBAGE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIhD,wBAGE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,iBAAiB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":";;;;;;AAAA,iDAAiE;AAAxD,qIAAA,OAAO,OAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":";;;;;;AAAA,iDAAgE;AAAvD,qIAAA,OAAO,OAAuB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/region",
3
- "version": "1.0.0-rc-20241001083650",
3
+ "version": "1.0.0-rc-20241014083213",
4
4
  "description": "Medusa Region module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -30,14 +30,14 @@
30
30
  "build": "rimraf dist && tsc --build && npm run resolve:aliases",
31
31
  "test": "jest --runInBand --passWithNoTests --bail --forceExit -- src",
32
32
  "test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
33
- "migration:generate": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm migration:generate",
34
- "migration:initial": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm migration:create --initial",
35
- "migration:create": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm migration:create",
36
- "migration:up": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm migration:up",
37
- "orm:cache:clear": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm cache:clear"
33
+ "migration:generate": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts medusa-mikro-orm migration:generate",
34
+ "migration:initial": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts medusa-mikro-orm migration:create --initial",
35
+ "migration:create": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts medusa-mikro-orm migration:create",
36
+ "migration:up": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts medusa-mikro-orm migration:up",
37
+ "orm:cache:clear": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts medusa-mikro-orm cache:clear"
38
38
  },
39
39
  "devDependencies": {
40
- "@medusajs/framework": "1.0.0-rc-20241001083650",
40
+ "@medusajs/framework": "1.0.0-rc-20241014083213",
41
41
  "@mikro-orm/cli": "5.9.7",
42
42
  "@mikro-orm/core": "5.9.7",
43
43
  "@mikro-orm/migrations": "5.9.7",
@@ -45,13 +45,13 @@
45
45
  "@swc/core": "^1.7.28",
46
46
  "@swc/jest": "^0.2.36",
47
47
  "jest": "^29.7.0",
48
- "medusa-test-utils": "2.0.0-rc-20241001083650",
48
+ "medusa-test-utils": "2.0.0-rc-20241014083213",
49
49
  "rimraf": "^3.0.2",
50
50
  "tsc-alias": "^1.8.6",
51
51
  "typescript": "^5.6.2"
52
52
  },
53
53
  "peerDependencies": {
54
- "@medusajs/framework": "1.0.0-rc-20241001083650",
54
+ "@medusajs/framework": "1.0.0-rc-20241014083213",
55
55
  "@mikro-orm/core": "5.9.7",
56
56
  "@mikro-orm/migrations": "5.9.7",
57
57
  "@mikro-orm/postgresql": "5.9.7",