@medusajs/store 2.11.3-snapshot-20251103115905 → 2.12.0-preview-20251103150145
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.
- package/dist/models/currency.d.ts +2 -2
- package/dist/models/store.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +16 -10
|
@@ -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
|
|
12
|
+
supported_currencies: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<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
|
|
20
|
+
supported_currencies: import("@medusajs/framework/utils").HasMany<() => import("@medusajs/framework/utils").DmlEntity<import("@medusajs/framework/utils").DMLEntitySchemaBuilder<any>, "StoreCurrency">>;
|
|
21
21
|
}>, "Store">, undefined>, true>;
|
|
22
22
|
}>, "StoreCurrency">;
|
|
23
23
|
export default StoreCurrency;
|
package/dist/models/store.d.ts
CHANGED
|
@@ -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
|
|
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>;
|
|
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.
|
|
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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/store",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.0-preview-20251103150145",
|
|
4
4
|
"description": "Medusa Store module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -24,22 +24,28 @@
|
|
|
24
24
|
"author": "Medusa",
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"scripts": {
|
|
27
|
-
"watch": "
|
|
28
|
-
"watch:test": "
|
|
29
|
-
"resolve:aliases": "
|
|
30
|
-
"build": "
|
|
31
|
-
"test": "
|
|
32
|
-
"test:integration": "
|
|
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",
|
|
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.
|
|
40
|
-
"@medusajs/test-utils": "2.
|
|
39
|
+
"@medusajs/framework": "2.12.0-preview-20251103150145",
|
|
40
|
+
"@medusajs/test-utils": "2.12.0-preview-20251103150145",
|
|
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"
|
|
41
47
|
},
|
|
42
48
|
"peerDependencies": {
|
|
43
|
-
"@medusajs/framework": "2.
|
|
49
|
+
"@medusajs/framework": "2.12.0-preview-20251103150145"
|
|
44
50
|
}
|
|
45
51
|
}
|