@medusajs/link-modules 1.0.0-rc-20241015170251 → 1.0.0-rc-20241018141633

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/initialize/index.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,yBAAyB,EACzB,WAAW,EACX,yBAAyB,EAGzB,kBAAkB,EAClB,6CAA6C,EAC7C,8BAA8B,EAC/B,MAAM,2BAA2B,CAAA;AAWlC,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAA;AACzD,OAAO,EAAE,sCAAsC,EAAE,MAAM,UAAU,CAAA;AAIjE,eAAO,MAAM,UAAU,aAEjB,8BAA8B,GAC9B,6CAA6C,GAC7C,yBAAyB,GACzB,yBAAyB,2BACJ,kBAAkB,EAAE,yBACtB,sCAAsC,KAC5D,OAAO,CAAC;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,CAAA;CAAE,CA6IzC,CAAA;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,8BAA8B,EACvC,qBAAqB,CAAC,EAAE,kBAAkB,EAAE,8BA+C7C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/initialize/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,yBAAyB,EACzB,WAAW,EACX,yBAAyB,EAGzB,kBAAkB,EAClB,6CAA6C,EAC7C,8BAA8B,EAC/B,MAAM,2BAA2B,CAAA;AAWlC,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAA;AACzD,OAAO,EAAE,sCAAsC,EAAE,MAAM,UAAU,CAAA;AAIjE,eAAO,MAAM,UAAU,aAEjB,8BAA8B,GAC9B,6CAA6C,GAC7C,yBAAyB,GACzB,yBAAyB,2BACJ,kBAAkB,EAAE,yBACtB,sCAAsC,KAC5D,OAAO,CAAC;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,CAAA;CAAE,CAwIzC,CAAA;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,8BAA8B,EACvC,qBAAqB,CAAC,EAAE,kBAAkB,EAAE,8BA+C7C"}
@@ -100,9 +100,6 @@ const initialize = async (options, pluginLinksDefinitions, injectedDependencies)
100
100
  dependencies: [utils_1.Modules.EVENT_BUS],
101
101
  defaultModuleDeclaration: {
102
102
  scope: modules_sdk_1.MODULE_SCOPE.INTERNAL,
103
- resources: injectedDependencies?.[utils_1.ContainerRegistrationKeys.PG_CONNECTION]
104
- ? modules_sdk_1.MODULE_RESOURCE_TYPE.SHARED
105
- : modules_sdk_1.MODULE_RESOURCE_TYPE.ISOLATED,
106
103
  },
107
104
  };
108
105
  const loaded = await modules_sdk_1.MedusaModule.bootstrapLink({
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/initialize/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA6LA,kDAiDC;AA9OD,iEAIwC;AAWxC,qDAQkC;AAClC,gEAAiD;AACjD,4CAAyD;AAEzD,oCAAgD;AAChD,2DAA6D;AAEtD,MAAM,UAAU,GAAG,KAAK,EAC7B,OAI6B,EAC7B,sBAA6C,EAC7C,oBAA6D,EACnB,EAAE;IAC5C,MAAM,QAAQ,GAAG,EAAE,CAAA;IACnB,MAAM,iBAAiB,GAAG,0BAAY,CAAC,gBAAgB,EAAE,CAAC,GAAG,CAC3D,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAC7B,CAAA;IAED,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,MAAM,CAC1D,sBAAsB,IAAI,EAAE,CAC7B,CAAA;IAED,KAAK,MAAM,cAAc,IAAI,cAAc,EAAE,CAAC;QAC5C,MAAM,UAAU,GAAuB,IAAI,CAAC,KAAK,CAC/C,IAAI,CAAC,SAAS,CAAC,cAAc,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GAAQ,OAAO,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;aAkBuqC,CAAC;;;;;;0BA5B5uC,CAAN;oCACU,CAAC;uBACM,CAAC;;;;EAyBjB"}
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../src/repositories/link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAQ9C,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,YAAY;2BAInB;QAAE,YAAY,EAAE,kBAAkB,CAAA;KAAE;gCAF1C,kBAAkB;qBAQvB,GAAG,YAAW,OAAO,GAAQ,OAAO,CAAC,IAAI,CAAC;qBAY1C,MAAM,EAAE,YAAW,OAAO,GAAQ,OAAO,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;aAkB6qD,CAAC;;;;;;0BA9B/rD,CAAC;oCAElD,CAAC;uBACD,CAAA;;;;EA0BP"}
@@ -1 +1 @@
1
- {"version":3,"file":"link-module-service.d.ts","sourceRoot":"","sources":["../../src/services/link-module-service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,GAAG,EACH,UAAU,EACV,sBAAsB,EACtB,WAAW,EACX,yBAAyB,EACzB,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EACjB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EASL,OAAO,EAER,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAGvC,KAAK,oBAAoB,GAAG;IAC1B,cAAc,EAAE,GAAG,CAAC,iBAAiB,CAAA;IACrC,WAAW,EAAE,WAAW,CAAC,GAAG,CAAC,CAAA;IAC7B,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC7B,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,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C,MAAM,EAAE,OAAO,CAAC,EACpB,aAAa,GAAE,OAAY;IA0CxC,OAAO,CACX,oBAAoB,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,EAAE,EAAE,MAAM,CAAC,EAAE,EACvE,cAAc,CAAC,EAAE,MAAM,EACN,aAAa,GAAE,OAAY;IAsBxC,MAAM,CACV,IAAI,EAAE,GAAG,EACQ,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,IAAI,CAAC;IAoBV,UAAU,CACd,IAAI,EAAE,GAAG,EACT,EAAE,kBAAkB,EAAE,GAAE,gBAAqB,EAC5B,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,GAAG,IAAI,CAAC;cAgD5B,WAAW,CACzB,IAAI,EAAE,GAAG,EAAE,EACM,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;IAI1C,OAAO,CACX,IAAI,EAAE,GAAG,EACT,EAAE,kBAAkB,EAAE,GAAE,aAAkB,EACzB,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,GAAG,IAAI,CAAC;IA+CtC,QAAQ,CACZ,IAAI,EAAE,GAAG,EACQ,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;CAGjD"}
@@ -13,7 +13,6 @@ 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 utils_2 = require("../utils");
17
16
  class LinkModuleService {
18
17
  constructor({ baseRepository, linkService, primaryKey, foreignKey, extraFields, entityName, serviceName, [utils_1.Modules.EVENT_BUS]: eventBusModuleService, }, moduleDeclaration) {
19
18
  this.moduleDeclaration = moduleDeclaration;
@@ -223,21 +222,21 @@ __decorate([
223
222
  __metadata("design:returntype", Promise)
224
223
  ], LinkModuleService.prototype, "listAndCount", null);
225
224
  __decorate([
226
- (0, utils_1.InjectTransactionManager)(utils_2.shouldForceTransaction, "baseRepository_"),
225
+ (0, utils_1.InjectTransactionManager)(),
227
226
  __param(3, (0, utils_1.MedusaContext)()),
228
227
  __metadata("design:type", Function),
229
228
  __metadata("design:paramtypes", [Object, String, Object, Object]),
230
229
  __metadata("design:returntype", Promise)
231
230
  ], LinkModuleService.prototype, "create", null);
232
231
  __decorate([
233
- (0, utils_1.InjectTransactionManager)(utils_2.shouldForceTransaction, "baseRepository_"),
232
+ (0, utils_1.InjectTransactionManager)(),
234
233
  __param(2, (0, utils_1.MedusaContext)()),
235
234
  __metadata("design:type", Function),
236
235
  __metadata("design:paramtypes", [Object, String, Object]),
237
236
  __metadata("design:returntype", Promise)
238
237
  ], LinkModuleService.prototype, "dismiss", null);
239
238
  __decorate([
240
- (0, utils_1.InjectTransactionManager)(utils_2.shouldForceTransaction, "baseRepository_"),
239
+ (0, utils_1.InjectTransactionManager)(),
241
240
  __param(1, (0, utils_1.MedusaContext)()),
242
241
  __metadata("design:type", Function),
243
242
  __metadata("design:paramtypes", [Object, Object]),
@@ -250,7 +249,7 @@ __decorate([
250
249
  __metadata("design:returntype", Promise)
251
250
  ], LinkModuleService.prototype, "softDelete", null);
252
251
  __decorate([
253
- (0, utils_1.InjectTransactionManager)(utils_2.shouldForceTransaction, "baseRepository_"),
252
+ (0, utils_1.InjectTransactionManager)(),
254
253
  __param(1, (0, utils_1.MedusaContext)()),
255
254
  __metadata("design:type", Function),
256
255
  __metadata("design:paramtypes", [Array, Object]),
@@ -263,7 +262,7 @@ __decorate([
263
262
  __metadata("design:returntype", Promise)
264
263
  ], LinkModuleService.prototype, "restore", null);
265
264
  __decorate([
266
- (0, utils_1.InjectTransactionManager)(utils_2.shouldForceTransaction, "baseRepository_"),
265
+ (0, utils_1.InjectTransactionManager)(),
267
266
  __param(1, (0, utils_1.MedusaContext)()),
268
267
  __metadata("design:type", Function),
269
268
  __metadata("design:paramtypes", [Object, Object]),
@@ -1 +1 @@
1
- {"version":3,"file":"link-module-service.js","sourceRoot":"","sources":["../../src/services/link-module-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAWA,qDAWkC;AAElC,oCAAiD;AAajD,MAAqB,iBAAiB;IAUpC,YACE,EACE,cAAc,EACd,WAAW,EACX,UAAU,EACV,UAAU,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,CAAC,eAAO,CAAC,SAAS,CAAC,EAAE,qBAAqB,GACrB,EACd,iBAA4C;QAA5C,sBAAiB,GAAjB,iBAAiB,CAA2B;QAErD,IAAI,CAAC,eAAe,GAAG,cAAc,CAAA;QACrC,IAAI,CAAC,YAAY,GAAG,WAAW,CAAA;QAC/B,IAAI,CAAC,sBAAsB,GAAG,qBAAqB,CAAA;QACnD,IAAI,CAAC,WAAW,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAA;QACzE,IAAI,CAAC,WAAW,GAAG,UAAU,CAAA;QAC7B,IAAI,CAAC,YAAY,GAAG,WAAW,CAAA;QAC/B,IAAI,CAAC,WAAW,GAAG,UAAU,CAAA;QAC7B,IAAI,CAAC,YAAY,GAAG,WAAW,CAAA;IACjC,CAAC;IAED,cAAc;QACZ,OAAO,EAAwB,CAAA;IACjC,CAAC;IAEO,SAAS,CACf,cAAiC,EACjC,cAAsB,EACtB,QAAiC,EAAE;QAEnC,IAAI,IAAI,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAChC,IACE,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC;gBAC9B,cAAc,CAAC,MAAM,KAAK,IAAI,C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AAC;CACF;AAhWD,oCAgWC;AA9QO;IADL,IAAA,qBAAa,GAAE;IAIb,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;iDAiBjB;AAGK;IADL,IAAA,qBAAa,GAAE;IAIb,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;6CASjB;AAGK;IADL,IAAA,qBAAa,GAAE;IAIb,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;qDAajB;AAGK;IADL,IAAA,gCAAwB,EAAC,8BAAsB,EAAE,iBAAiB,CAAC;IAQjE,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;+CAuCjB;AAGK;IADL,IAAA,gCAAwB,EAAC,8BAAsB,EAAE,iBAAiB,CAAC;IAIjE,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;gDAmBjB;AAGK;IADL,IAAA,gCAAwB,EAAC,8BAAsB,EAAE,iBAAiB,CAAC;IAGjE,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;+CAmBjB;AAEK;IAGH,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;mDA8CjB;AAGe;IADf,IAAA,gCAAwB,EAAC,8BAAsB,EAAE,iBAAiB,CAAC;IAGjE,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;oDAGjB;AAEK;IAGH,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;gDA6CjB;AAGK;IADL,IAAA,gCAAwB,EAAC,8BAAsB,EAAE,iBAAiB,CAAC;IAGjE,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;iDAGjB"}
1
+ {"version":3,"file":"link-module-service.js","sourceRoot":"","sources":["../../src/services/link-module-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAWA,qDAWkC;AAclC,MAAqB,iBAAiB;IAUpC,YACE,EACE,cAAc,EACd,WAAW,EACX,UAAU,EACV,UAAU,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,CAAC,eAAO,CAAC,SAAS,CAAC,EAAE,qBAAqB,GACrB,EACd,iBAA4C;QAA5C,sBAAi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,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,IAAI,CAAC;IAOV,UAAU,CACd,IAAI,EAAE,GAAG,EAAE,EACM,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;IAqB1C,OAAO,CACX,IAAI,EAAE,GAAG,EACQ,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;CAmBjD"}
@@ -13,7 +13,6 @@ 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 utils_2 = require("../utils");
17
16
  class LinkService {
18
17
  constructor({ linkRepository }) {
19
18
  this.linkRepository_ = linkRepository;
@@ -103,35 +102,35 @@ __decorate([
103
102
  __metadata("design:returntype", Promise)
104
103
  ], LinkService.prototype, "listAndCount", null);
105
104
  __decorate([
106
- (0, utils_1.InjectTransactionManager)(utils_2.doNotForceTransaction, "linkRepository_"),
105
+ (0, utils_1.InjectTransactionManager)("linkRepository_"),
107
106
  __param(1, (0, utils_1.MedusaContext)()),
108
107
  __metadata("design:type", Function),
109
108
  __metadata("design:paramtypes", [Array, Object]),
110
109
  __metadata("design:returntype", Promise)
111
110
  ], LinkService.prototype, "create", null);
112
111
  __decorate([
113
- (0, utils_1.InjectTransactionManager)(utils_2.doNotForceTransaction, "linkRepository_"),
112
+ (0, utils_1.InjectTransactionManager)("linkRepository_"),
114
113
  __param(1, (0, utils_1.MedusaContext)()),
115
114
  __metadata("design:type", Function),
116
115
  __metadata("design:paramtypes", [Array, Object]),
117
116
  __metadata("design:returntype", Promise)
118
117
  ], LinkService.prototype, "dismiss", null);
119
118
  __decorate([
120
- (0, utils_1.InjectTransactionManager)(utils_2.doNotForceTransaction, "linkRepository_"),
119
+ (0, utils_1.InjectTransactionManager)("linkRepository_"),
121
120
  __param(1, (0, utils_1.MedusaContext)()),
122
121
  __metadata("design:type", Function),
123
122
  __metadata("design:paramtypes", [Object, Object]),
124
123
  __metadata("design:returntype", Promise)
125
124
  ], LinkService.prototype, "delete", null);
126
125
  __decorate([
127
- (0, utils_1.InjectTransactionManager)(utils_2.doNotForceTransaction, "linkRepository_"),
126
+ (0, utils_1.InjectTransactionManager)("linkRepository_"),
128
127
  __param(1, (0, utils_1.MedusaContext)()),
129
128
  __metadata("design:type", Function),
130
129
  __metadata("design:paramtypes", [Array, Object]),
131
130
  __metadata("design:returntype", Promise)
132
131
  ], LinkService.prototype, "softDelete", null);
133
132
  __decorate([
134
- (0, utils_1.InjectTransactionManager)(utils_2.doNotForceTransaction, "linkRepository_"),
133
+ (0, utils_1.InjectTransactionManager)("linkRepository_"),
135
134
  __param(1, (0, utils_1.MedusaContext)()),
136
135
  __metadata("design:type", Function),
137
136
  __metadata("design:paramtypes", [Object, Object]),
@@ -1 +1 @@
1
- {"version":3,"file":"link.js","sourceRoot":"","sources":["../../src/services/link.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,qDAKkC;AAClC,oCAAgD;AAMhD,MAAqB,WAAW;IAG9B,YAAY,EAAE,cAAc,EAAwB;QAClD,IAAI,CAAC,eAAe,GAAG,cAAc,CAAA;IACvC,CAAC;IAGK,AAAN,KAAK,CAAC,IAAI,CACR,UAAmB,EAAE,EACrB,SAA8B,EAAE,EACf,gBAAyB,EAAE;QAE5C,MAAM,YAAY,GAAG,uBAAe,CAAC,UAAU,CAC7C,OAAc,EACd,MAAM,CACP,CAAA;QACD,OAAO,MAAM,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,EAAE,aAAa,CAAC,CAAA;IACrE,CAAC;IAGK,AAAN,KAAK,CAAC,YAAY,CAChB,OAAO,GAAG,EAAE,EACZ,SAA8B,EAAE,EACf,gBAAyB,EAAE;QAE5C,MA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C;SACH,CAAA;QAED,OAAO,MAAM,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,cAAc,EAAE;YACxD,kBAAkB,EAAE,aAAa,CAAC,kBAAkB;SACrD,CAAC,CAAA;IACJ,CAAC;CACF;AAzHD,8BAyHC;AAjHO;IADL,IAAA,qBAAa,EAAC,iBAAiB,CAAC;IAI9B,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;uCAOjB;AAGK;IADL,IAAA,qBAAa,EAAC,iBAAiB,CAAC;IAI9B,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;+CAIjB;AAGK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAGzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;yCAKjB;AAGK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAGzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;0CAmBjB;AAGK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAGzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;yCAKjB;AAGK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAGzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;6CAmBjB;AAGK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAGzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;0CAmBjB"}
@@ -1,5 +1,3 @@
1
1
  export * from "./generate-entity";
2
2
  export * from "./generate-schema";
3
- export declare function shouldForceTransaction(target: any): boolean;
4
- export declare function doNotForceTransaction(): boolean;
5
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAEA,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AAEjC,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,GAAG,GAAG,OAAO,CAE3D;AAED,wBAAgB,qBAAqB,IAAI,OAAO,CAE/C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
@@ -14,15 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.shouldForceTransaction = shouldForceTransaction;
18
- exports.doNotForceTransaction = doNotForceTransaction;
19
- const modules_sdk_1 = require("@medusajs/framework/modules-sdk");
20
17
  __exportStar(require("./generate-entity"), exports);
21
18
  __exportStar(require("./generate-schema"), exports);
22
- function shouldForceTransaction(target) {
23
- return target.moduleDeclaration?.resources === modules_sdk_1.MODULE_RESOURCE_TYPE.ISOLATED;
24
- }
25
- function doNotForceTransaction() {
26
- return false;
27
- }
28
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAKA,wDAEC;AAED,sDAEC;AAXD,iEAAsE;AAEtE,oDAAiC;AACjC,oDAAiC;AAEjC,SAAgB,sBAAsB,CAAC,MAAW;IAChD,OAAO,MAAM,CAAC,iBAAiB,EAAE,SAAS,KAAK,kCAAoB,CAAC,QAAQ,CAAA;AAC9E,CAAC;AAED,SAAgB,qBAAqB;IACnC,OAAO,KAAK,CAAA;AACd,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,oDAAiC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/link-modules",
3
- "version": "1.0.0-rc-20241015170251",
3
+ "version": "1.0.0-rc-20241018141633",
4
4
  "description": "Medusa Default Link Modules Package and Definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -33,7 +33,8 @@
33
33
  "test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts"
34
34
  },
35
35
  "devDependencies": {
36
- "@medusajs/framework": "1.0.0-rc-20241015170251",
36
+ "@medusajs/framework": "1.0.0-rc-20241018141633",
37
+ "@medusajs/test-utils": "2.0.0-rc-20241018141633",
37
38
  "@mikro-orm/core": "5.9.7",
38
39
  "@mikro-orm/migrations": "5.9.7",
39
40
  "@mikro-orm/postgresql": "5.9.7",
@@ -41,13 +42,12 @@
41
42
  "@swc/jest": "^0.2.36",
42
43
  "cross-env": "^5.2.1",
43
44
  "jest": "^29.7.0",
44
- "medusa-test-utils": "2.0.0-rc-20241015170251",
45
45
  "rimraf": "^5.0.1",
46
46
  "tsc-alias": "^1.8.6",
47
47
  "typescript": "^5.6.2"
48
48
  },
49
49
  "peerDependencies": {
50
- "@medusajs/framework": "1.0.0-rc-20241015170251",
50
+ "@medusajs/framework": "1.0.0-rc-20241018141633",
51
51
  "@mikro-orm/core": "5.9.7",
52
52
  "@mikro-orm/migrations": "5.9.7",
53
53
  "@mikro-orm/postgresql": "5.9.7",