@medusajs/store 2.12.0-preview-20251103180145 → 2.12.1

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.
@@ -9,7 +9,7 @@ declare const StoreCurrency: import("@medusajs/framework/utils").DmlEntity<impor
9
9
  default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
10
10
  default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
11
11
  metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
12
- supported_currencies: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "StoreCurrency">>;
12
+ supported_currencies: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "StoreCurrency">>;
13
13
  }>, "Store">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
14
14
  id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
15
15
  name: import("@medusajs/framework/utils").TextProperty;
@@ -17,7 +17,7 @@ declare const StoreCurrency: import("@medusajs/framework/utils").DmlEntity<impor
17
17
  default_region_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
18
18
  default_location_id: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
19
19
  metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
20
- supported_currencies: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "StoreCurrency">>;
20
+ supported_currencies: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "StoreCurrency">>;
21
21
  }>, "Store">, undefined>, true>;
22
22
  }>, "StoreCurrency">;
23
23
  export default StoreCurrency;
@@ -9,7 +9,7 @@ declare const Store: import("@medusajs/framework/utils").DmlEntity<import("@medu
9
9
  id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
10
10
  currency_code: import("@medusajs/framework/utils").TextProperty;
11
11
  is_default: import("@medusajs/framework/utils").BooleanProperty;
12
- store: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "Store">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "Store">, undefined>, true>;
12
+ store: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Store">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "Store">, undefined>, true>;
13
13
  }>, "StoreCurrency">>;
14
14
  }>, "Store">;
15
15
  export default Store;
@@ -1 +1 @@
1
- {"root":["../src/index.ts","../src/migrations/InitialSetup20240227075933.ts","../src/migrations/Migration20240621145944.ts","../src/migrations/Migration20241206083313.ts","../src/models/currency.ts","../src/models/index.ts","../src/models/store.ts","../src/services/index.ts","../src/services/store-module-service.ts","../src/services/__tests__/noop.ts","../src/types/index.ts"],"version":"5.6.2"}
1
+ {"root":["../src/index.ts","../src/migrations/initialsetup20240227075933.ts","../src/migrations/migration20240621145944.ts","../src/migrations/migration20241206083313.ts","../src/models/currency.ts","../src/models/index.ts","../src/models/store.ts","../src/services/index.ts","../src/services/store-module-service.ts","../src/services/__tests__/noop.ts","../src/types/index.ts"],"version":"5.9.3"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/store",
3
- "version": "2.12.0-preview-20251103180145",
3
+ "version": "2.12.1",
4
4
  "description": "Medusa Store module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -24,28 +24,22 @@
24
24
  "author": "Medusa",
25
25
  "license": "MIT",
26
26
  "scripts": {
27
- "watch": "tsc --build --watch",
28
- "watch:test": "tsc --build tsconfig.spec.json --watch",
29
- "resolve:aliases": "tsc --showConfig -p tsconfig.json > tsconfig.resolved.json && tsc-alias -p tsconfig.resolved.json && rimraf tsconfig.resolved.json",
30
- "build": "rimraf dist && tsc --build && npm run resolve:aliases",
31
- "test": "jest --bail --forceExit -- src/**/__tests__/**/*.ts",
32
- "test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
27
+ "watch": "yarn run -T tsc --build --watch",
28
+ "watch:test": "yarn run -T tsc --build tsconfig.spec.json --watch",
29
+ "resolve:aliases": "yarn run -T tsc --showConfig -p tsconfig.json > tsconfig.resolved.json && yarn run -T tsc-alias -p tsconfig.resolved.json && yarn run -T rimraf tsconfig.resolved.json",
30
+ "build": "yarn run -T rimraf dist && yarn run -T tsc --build && npm run resolve:aliases",
31
+ "test": "../../../node_modules/.bin/jest --bail --forceExit --testPathPattern=src",
32
+ "test:integration": "../../../node_modules/.bin/jest --passWithNoTests --forceExit --testPathPattern=\"integration-tests/__tests__/.*\\.ts\"",
33
33
  "migration:initial": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm migration:create --initial",
34
34
  "migration:create": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm migration:create",
35
35
  "migration:up": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm migration:up",
36
36
  "orm:cache:clear": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm cache:clear"
37
37
  },
38
38
  "devDependencies": {
39
- "@medusajs/framework": "2.12.0-preview-20251103180145",
40
- "@medusajs/test-utils": "2.12.0-preview-20251103180145",
41
- "@swc/core": "^1.7.28",
42
- "@swc/jest": "^0.2.36",
43
- "jest": "^29.7.0",
44
- "rimraf": "^5.0.1",
45
- "tsc-alias": "^1.8.7",
46
- "typescript": "^5.6.2"
39
+ "@medusajs/framework": "2.12.1",
40
+ "@medusajs/test-utils": "2.12.1"
47
41
  },
48
42
  "peerDependencies": {
49
- "@medusajs/framework": "2.12.0-preview-20251103180145"
43
+ "@medusajs/framework": "2.12.1"
50
44
  }
51
45
  }