@medusajs/order 0.1.3-snapshot-20240521095428 → 0.1.3-snapshot-20240523094649

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.joinerConfig = exports.entityNameToLinkableKeysMap = exports.LinkableKeys = void 0;
7
7
  const modules_sdk_1 = require("@medusajs/modules-sdk");
8
+ const utils_1 = require("@medusajs/utils");
8
9
  const _models_1 = require("./models");
9
10
  const order_1 = __importDefault(require("./models/order"));
10
11
  exports.LinkableKeys = {
@@ -37,6 +38,7 @@ exports.joinerConfig = {
37
38
  name: ["return_reason", "return_reasons"],
38
39
  args: {
39
40
  entity: _models_1.ReturnReason.name,
41
+ methodSuffix: (0, utils_1.pluralize)(_models_1.ReturnReason.name),
40
42
  },
41
43
  },
42
44
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"joiner-config.js","sourceRoot":"","sources":["../src/joiner-config.ts"],"names":[],"mappings":";;;;;;AAAA,uDAA+C;AAG/C,qCAAgD;AAChD,2DAAkC;AAErB,QAAA,YAAY,GAA2B;IAClD,QAAQ,EAAE,eAAK,CAAC,IAAI;IACpB,aAAa,EAAE,kBAAQ,CAAC,IAAI;IAC5B,gBAAgB,EAAE,sBAAY,CAAC,IAAI;IACnC,mBAAmB,EAAE,sBAAY,CAAC,IAAI;CACvC,CAAA;AAED,MAAM,qBAAqB,GAAgB,EAAE,CAAA;AAC7C,MAAM,CAAC,OAAO,CAAC,oBAAY,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;IACpD,qBAAqB,CAAC,KAAK,CAAC,KAAK,EAAE,CAAA;IACnC,qBAAqB,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC;QAChC,KAAK,EAAE,GAAG;QACV,SAAS,EAAE,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAG;KACjC,CAAC,CAAA;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;AAEhE,QAAA,YAAY,GAAuB;IAC9C,WAAW,EAAE,qBAAO,CAAC,KAAK;IAC1B,WAAW,EAAE,CAAC,IAAI,CAAC;IACnB,YAAY,EAAE,oBAAY;IAC1B,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC;YACzB,IAAI,EAAE;gBACJ,MAAM,EAAE,eAAK,CAAC,IAAI;aACnB;SACF;QACD;YACE,IAAI,EAAE,CAAC,eAAe,EAAE,gBAAgB,CAAC;YACzC,IAAI,EAAE;gBACJ,MAAM,EAAE,sBAAY,CAAC,IAAI;gBACzB,YAAY,EAAE,IAAA,iBAAS,EAAC,sBAAY,CAAC,IAAI,CAAC;aAC3C;SACF;KACF;CACoB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/order",
3
- "version": "0.1.3-snapshot-20240521095428",
3
+ "version": "0.1.3-snapshot-20240523094649",
4
4
  "description": "Medusa Order module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -40,7 +40,7 @@
40
40
  "@mikro-orm/cli": "5.9.7",
41
41
  "cross-env": "^5.2.1",
42
42
  "jest": "^29.6.3",
43
- "medusa-test-utils": "1.1.45-snapshot-20240521095428",
43
+ "medusa-test-utils": "1.1.45-snapshot-20240523094649",
44
44
  "rimraf": "^3.0.2",
45
45
  "ts-jest": "^29.1.1",
46
46
  "ts-node": "^10.9.1",
@@ -48,9 +48,9 @@
48
48
  "typescript": "^5.1.6"
49
49
  },
50
50
  "dependencies": {
51
- "@medusajs/modules-sdk": "1.13.0-snapshot-20240521095428",
52
- "@medusajs/types": "1.12.0-snapshot-20240521095428",
53
- "@medusajs/utils": "1.12.0-snapshot-20240521095428",
51
+ "@medusajs/modules-sdk": "1.13.0-snapshot-20240523094649",
52
+ "@medusajs/types": "1.12.0-snapshot-20240523094649",
53
+ "@medusajs/utils": "1.12.0-snapshot-20240523094649",
54
54
  "@mikro-orm/core": "5.9.7",
55
55
  "@mikro-orm/migrations": "5.9.7",
56
56
  "@mikro-orm/postgresql": "5.9.7",