@medusajs/store 0.1.2-snapshot-20240701122250 → 0.1.2-snapshot-20240704061641

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1 @@
1
- import { MapToConfig } from "@medusajs/utils";
2
1
  export declare const joinerConfig: Omit<import("@medusajs/types").ModuleJoinerConfig, "serviceName" | "primaryKeys" | "alias" | "linkableKeys"> & Required<Pick<import("@medusajs/types").ModuleJoinerConfig, "serviceName" | "primaryKeys" | "alias" | "linkableKeys">>;
3
- export declare const entityNameToLinkableKeysMap: MapToConfig;
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.entityNameToLinkableKeysMap = exports.joinerConfig = void 0;
3
+ exports.joinerConfig = void 0;
4
4
  const utils_1 = require("@medusajs/utils");
5
5
  exports.joinerConfig = (0, utils_1.defineJoinerConfig)(utils_1.Modules.STORE);
6
- exports.entityNameToLinkableKeysMap = (0, utils_1.buildEntitiesNameToLinkableKeysMap)(exports.joinerConfig.linkableKeys);
@@ -5,7 +5,7 @@ type InjectedDependencies = {
5
5
  baseRepository: DAL.RepositoryService;
6
6
  storeService: ModulesSdkTypes.IMedusaInternalService<any>;
7
7
  };
8
- declare const StoreModuleService_base: new (...args: any[]) => import("@medusajs/utils").AbstractModuleService<{
8
+ declare const StoreModuleService_base: import("@medusajs/utils/dist/modules-sdk/types/medusa-service").MedusaServiceReturnType<{
9
9
  Store: {
10
10
  dto: StoreTypes.StoreDTO;
11
11
  };
@@ -16,7 +16,7 @@ const types_1 = require("@medusajs/types");
16
16
  const utils_1 = require("@medusajs/utils");
17
17
  const _models_1 = require("../models");
18
18
  const joiner_config_1 = require("../joiner-config");
19
- class StoreModuleService extends (0, utils_1.MedusaService)({ Store: _models_1.Store, StoreCurrency: _models_1.StoreCurrency }, joiner_config_1.entityNameToLinkableKeysMap) {
19
+ class StoreModuleService extends (0, utils_1.MedusaService)({ Store: _models_1.Store, StoreCurrency: _models_1.StoreCurrency }) {
20
20
  constructor({ baseRepository, storeService }, moduleDeclaration) {
21
21
  // @ts-ignore
22
22
  super(...arguments);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/store",
3
- "version": "0.1.2-snapshot-20240701122250",
3
+ "version": "0.1.2-snapshot-20240704061641",
4
4
  "description": "Medusa Store module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -34,7 +34,7 @@
34
34
  "orm:cache:clear": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm cache:clear"
35
35
  },
36
36
  "devDependencies": {
37
- "@medusajs/types": "1.12.0-snapshot-20240701122250",
37
+ "@medusajs/types": "1.12.0-snapshot-20240704061641",
38
38
  "@mikro-orm/cli": "5.9.7",
39
39
  "cross-env": "^5.2.1",
40
40
  "jest": "^29.7.0",
@@ -45,8 +45,8 @@
45
45
  "typescript": "^5.1.6"
46
46
  },
47
47
  "dependencies": {
48
- "@medusajs/modules-sdk": "1.13.0-snapshot-20240701122250",
49
- "@medusajs/utils": "1.12.0-snapshot-20240701122250",
48
+ "@medusajs/modules-sdk": "1.13.0-snapshot-20240704061641",
49
+ "@medusajs/utils": "1.12.0-snapshot-20240704061641",
50
50
  "@mikro-orm/core": "5.9.7",
51
51
  "@mikro-orm/migrations": "5.9.7",
52
52
  "@mikro-orm/postgresql": "5.9.7",