@medusajs/stock-location 2.12.0-preview-20251103180145 → 2.12.0

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.
@@ -13,7 +13,7 @@ declare const StockLocationAddress: import("@medusajs/framework/utils").DmlEntit
13
13
  id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
14
14
  name: import("@medusajs/framework/utils").TextProperty;
15
15
  metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
16
- address: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "StockLocationAddress">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "StockLocationAddress">, undefined>, true>;
16
+ address: import("@medusajs/framework/utils").RelationNullableModifier<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "StockLocationAddress">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "StockLocationAddress">, undefined>, true>;
17
17
  }>, "StockLocation">>;
18
18
  }>, "StockLocationAddress">;
19
19
  export default StockLocationAddress;
@@ -13,7 +13,7 @@ declare const StockLocation: import("@medusajs/framework/utils").DmlEntity<impor
13
13
  province: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
14
14
  postal_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
15
15
  metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
16
- stock_locations: import("@medusajs/framework/utils").HasOne<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "StockLocation">>;
16
+ stock_locations: import("@medusajs/framework/utils").HasOne<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "StockLocation">>;
17
17
  }>, "StockLocationAddress">, import("@medusajs/framework/utils").BelongsTo<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<{
18
18
  id: import("@medusajs/framework/utils").PrimaryKeyModifier<string, import("@medusajs/framework/utils").IdProperty>;
19
19
  address_1: import("@medusajs/framework/utils").TextProperty;
@@ -25,7 +25,7 @@ declare const StockLocation: import("@medusajs/framework/utils").DmlEntity<impor
25
25
  province: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
26
26
  postal_code: import("@medusajs/framework/utils").NullableModifier<string, import("@medusajs/framework/utils").TextProperty>;
27
27
  metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
28
- stock_locations: import("@medusajs/framework/utils").HasOne<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "StockLocation">>;
28
+ stock_locations: import("@medusajs/framework/utils").HasOne<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder</*elided*/ any>, "StockLocation">>;
29
29
  }>, "StockLocationAddress">, undefined>, true>;
30
30
  }>, "StockLocation">;
31
31
  export default StockLocation;
@@ -46,7 +46,7 @@ export default class StockLocationModuleService extends StockLocationModuleServi
46
46
  province: string | null;
47
47
  postal_code: string | null;
48
48
  metadata: Record<string, unknown> | null;
49
- stock_locations: any;
49
+ stock_locations: /*elided*/ any;
50
50
  created_at: Date;
51
51
  updated_at: Date;
52
52
  deleted_at: Date | null;
@@ -86,7 +86,7 @@ export default class StockLocationModuleService extends StockLocationModuleServi
86
86
  id: string;
87
87
  name: string;
88
88
  metadata: Record<string, unknown> | null;
89
- address: any;
89
+ address: /*elided*/ any;
90
90
  created_at: Date;
91
91
  updated_at: Date;
92
92
  deleted_at: Date | null;
@@ -1 +1 @@
1
- {"root":["../src/index.ts","../src/joiner-config.ts","../src/migrations/Migration20240307161216.ts","../src/migrations/Migration20241210073813.ts","../src/migrations/Migration20250106142624.ts","../src/migrations/Migration20250120110820.ts","../src/models/index.ts","../src/models/stock-location-address.ts","../src/models/stock-location.ts","../src/schema/index.ts","../src/services/index.ts","../src/services/stock-location-module.ts","../src/services/__tests__/noop.ts"],"version":"5.6.2"}
1
+ {"root":["../src/index.ts","../src/joiner-config.ts","../src/migrations/migration20240307161216.ts","../src/migrations/migration20241210073813.ts","../src/migrations/migration20250106142624.ts","../src/migrations/migration20250120110820.ts","../src/models/index.ts","../src/models/stock-location-address.ts","../src/models/stock-location.ts","../src/schema/index.ts","../src/services/index.ts","../src/services/stock-location-module.ts","../src/services/__tests__/noop.ts"],"version":"5.9.3"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/stock-location",
3
- "version": "2.12.0-preview-20251103180145",
3
+ "version": "2.12.0",
4
4
  "description": "Stock Location Module for Medusa",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -23,25 +23,19 @@
23
23
  "author": "Medusa",
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@medusajs/framework": "2.12.0-preview-20251103180145",
27
- "@medusajs/test-utils": "2.12.0-preview-20251103180145",
28
- "@swc/core": "^1.7.28",
29
- "@swc/jest": "^0.2.36",
30
- "jest": "^29.7.0",
31
- "rimraf": "^5.0.1",
32
- "tsc-alias": "^1.8.7",
33
- "typescript": "^5.6.2"
26
+ "@medusajs/framework": "2.12.0",
27
+ "@medusajs/test-utils": "2.12.0"
34
28
  },
35
29
  "peerDependencies": {
36
- "@medusajs/framework": "2.12.0-preview-20251103180145"
30
+ "@medusajs/framework": "2.12.0"
37
31
  },
38
32
  "scripts": {
39
- "watch": "tsc --build --watch",
40
- "watch:test": "tsc --build tsconfig.spec.json --watch",
41
- "resolve:aliases": "tsc --showConfig -p tsconfig.json > tsconfig.resolved.json && tsc-alias -p tsconfig.resolved.json && rimraf tsconfig.resolved.json",
42
- "build": "rimraf dist && tsc --build && npm run resolve:aliases",
43
- "test": "jest --bail --forceExit -- src/**/__tests__/**/*.ts",
44
- "test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.spec.ts",
33
+ "watch": "yarn run -T tsc --build --watch",
34
+ "watch:test": "yarn run -T tsc --build tsconfig.spec.json --watch",
35
+ "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",
36
+ "build": "yarn run -T rimraf dist && yarn run -T tsc --build && npm run resolve:aliases",
37
+ "test": "../../../node_modules/.bin/jest --bail --forceExit --testPathPattern=src",
38
+ "test:integration": "../../../node_modules/.bin/jest --passWithNoTests --forceExit --testPathPattern=\"integration-tests/__tests__/.*\\.spec\\.ts\"",
45
39
  "migration:initial": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm migration:create --initial -n InitialSetupMigration",
46
40
  "migration:create": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm migration:create",
47
41
  "migration:up": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm migration:up",