@medusajs/product 2.12.2 → 2.12.3-preview-20251217000306
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/migrations/Migration20250910154539.d.ts +1 -1
- package/dist/migrations/Migration20250910154539.d.ts.map +1 -1
- package/dist/migrations/Migration20250910154539.js +1 -1
- package/dist/migrations/Migration20250910154539.js.map +1 -1
- package/dist/migrations/Migration20250929204438.d.ts +1 -1
- package/dist/migrations/Migration20250929204438.d.ts.map +1 -1
- package/dist/migrations/Migration20250929204438.js +1 -1
- package/dist/migrations/Migration20250929204438.js.map +1 -1
- package/dist/migrations/Migration20251008132218.d.ts +1 -1
- package/dist/migrations/Migration20251008132218.d.ts.map +1 -1
- package/dist/migrations/Migration20251008132218.js +1 -1
- package/dist/migrations/Migration20251008132218.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Migration20250910154539.d.ts","sourceRoot":"","sources":["../../src/migrations/Migration20250910154539.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Migration20250910154539.d.ts","sourceRoot":"","sources":["../../src/migrations/Migration20250910154539.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAA;AAEpE,qBAAa,uBAAwB,SAAQ,SAAS;IACrC,EAAE,IAAI,OAAO,CAAC,IAAI,CAAC;IAqBnB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAQrC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Migration20250910154539 = void 0;
|
|
4
|
-
const migrations_1 = require("@mikro-orm/migrations");
|
|
4
|
+
const migrations_1 = require("@medusajs/framework/mikro-orm/migrations");
|
|
5
5
|
class Migration20250910154539 extends migrations_1.Migration {
|
|
6
6
|
async up() {
|
|
7
7
|
this.addSql(`CREATE INDEX IF NOT EXISTS "IDX_image_product_id" ON "image" (product_id) WHERE deleted_at IS NULL;`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Migration20250910154539.js","sourceRoot":"","sources":["../../src/migrations/Migration20250910154539.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"Migration20250910154539.js","sourceRoot":"","sources":["../../src/migrations/Migration20250910154539.ts"],"names":[],"mappings":";;;AAAA,yEAAoE;AAEpE,MAAa,uBAAwB,SAAQ,sBAAS;IAC3C,KAAK,CAAC,EAAE;QACf,IAAI,CAAC,MAAM,CACT,qGAAqG,CACtG,CAAA;QACD,IAAI,CAAC,MAAM,CACT,qGAAqG,CACtG,CAAA;QACD,IAAI,CAAC,MAAM,CACT,+FAA+F,CAChG,CAAA;QACD,IAAI,CAAC,MAAM,CACT,iGAAiG,CAClG,CAAA;QACD,IAAI,CAAC,MAAM,CACT,iIAAiI,CAClI,CAAA;QACD,IAAI,CAAC,MAAM,CACT,wHAAwH,CACzH,CAAA;IACH,CAAC;IAEQ,KAAK,CAAC,IAAI;QACjB,IAAI,CAAC,MAAM,CAAC,8CAA8C,CAAC,CAAA;QAC3D,IAAI,CAAC,MAAM,CAAC,8CAA8C,CAAC,CAAA;QAC3D,IAAI,CAAC,MAAM,CAAC,+CAA+C,CAAC,CAAA;QAC5D,IAAI,CAAC,MAAM,CAAC,gDAAgD,CAAC,CAAA;QAC7D,IAAI,CAAC,MAAM,CAAC,+DAA+D,CAAC,CAAA;QAC5E,IAAI,CAAC,MAAM,CAAC,2DAA2D,CAAC,CAAA;IAC1E,CAAC;CACF;AA9BD,0DA8BC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Migration20250929204438.d.ts","sourceRoot":"","sources":["../../src/migrations/Migration20250929204438.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Migration20250929204438.d.ts","sourceRoot":"","sources":["../../src/migrations/Migration20250929204438.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAA;AAEpE,qBAAa,uBAAwB,SAAQ,SAAS;IACrC,EAAE,IAAI,OAAO,CAAC,IAAI,CAAC;IAyBnB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAGrC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Migration20250929204438 = void 0;
|
|
4
|
-
const migrations_1 = require("@mikro-orm/migrations");
|
|
4
|
+
const migrations_1 = require("@medusajs/framework/mikro-orm/migrations");
|
|
5
5
|
class Migration20250929204438 extends migrations_1.Migration {
|
|
6
6
|
async up() {
|
|
7
7
|
this.addSql(`create table if not exists "product_variant_product_image" (
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Migration20250929204438.js","sourceRoot":"","sources":["../../src/migrations/Migration20250929204438.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"Migration20250929204438.js","sourceRoot":"","sources":["../../src/migrations/Migration20250929204438.ts"],"names":[],"mappings":";;;AAAA,yEAAoE;AAEpE,MAAa,uBAAwB,SAAQ,sBAAS;IAC3C,KAAK,CAAC,EAAE;QACf,IAAI,CAAC,MAAM,CACT;;;;;;;;;;SAUG,CACJ,CAAA;QACD,IAAI,CAAC,MAAM,CACT,qJAAqJ,CACtJ,CAAA;QACD,IAAI,CAAC,MAAM,CACT,iJAAiJ,CAClJ,CAAA;QACD,IAAI,CAAC,MAAM,CACT,qJAAqJ,CACtJ,CAAA;IACH,CAAC;IAEQ,KAAK,CAAC,IAAI;QACjB,IAAI,CAAC,MAAM,CAAC,+DAA+D,CAAC,CAAA;IAC9E,CAAC;CACF;AA7BD,0DA6BC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Migration20251008132218.d.ts","sourceRoot":"","sources":["../../src/migrations/Migration20251008132218.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Migration20251008132218.d.ts","sourceRoot":"","sources":["../../src/migrations/Migration20251008132218.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAA;AAEpE,qBAAa,uBAAwB,SAAQ,SAAS;IACrC,EAAE,IAAI,OAAO,CAAC,IAAI,CAAC;IAMnB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAKrC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Migration20251008132218 = void 0;
|
|
4
|
-
const migrations_1 = require("@mikro-orm/migrations");
|
|
4
|
+
const migrations_1 = require("@medusajs/framework/mikro-orm/migrations");
|
|
5
5
|
class Migration20251008132218 extends migrations_1.Migration {
|
|
6
6
|
async up() {
|
|
7
7
|
this.addSql(`alter table if exists "product_variant" add column if not exists "thumbnail" text null;`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Migration20251008132218.js","sourceRoot":"","sources":["../../src/migrations/Migration20251008132218.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"Migration20251008132218.js","sourceRoot":"","sources":["../../src/migrations/Migration20251008132218.ts"],"names":[],"mappings":";;;AAAA,yEAAoE;AAEpE,MAAa,uBAAwB,SAAQ,sBAAS;IAC3C,KAAK,CAAC,EAAE;QACf,IAAI,CAAC,MAAM,CACT,yFAAyF,CAC1F,CAAA;IACH,CAAC;IAEQ,KAAK,CAAC,IAAI;QACjB,IAAI,CAAC,MAAM,CACT,4EAA4E,CAC7E,CAAA;IACH,CAAC;CACF;AAZD,0DAYC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../src/index.ts","../src/joiner-config.ts","../src/migrations/
|
|
1
|
+
{"root":["../src/index.ts","../src/joiner-config.ts","../src/migrations/InitialSetup20240401153642.ts","../src/migrations/Migration20240601111544.ts","../src/migrations/Migration202408271511.ts","../src/migrations/Migration20241122120331.ts","../src/migrations/Migration20241125090957.ts","../src/migrations/Migration20250411073236.ts","../src/migrations/Migration20250516081326.ts","../src/migrations/Migration20250910154539.ts","../src/migrations/Migration20250911092221.ts","../src/migrations/Migration20250929204438.ts","../src/migrations/Migration20251008132218.ts","../src/migrations/Migration20251011090511.ts","../src/models/index.ts","../src/models/product-category.ts","../src/models/product-collection.ts","../src/models/product-image.ts","../src/models/product-option-value.ts","../src/models/product-option.ts","../src/models/product-tag.ts","../src/models/product-type.ts","../src/models/product-variant-product-image.ts","../src/models/product-variant.ts","../src/models/product.ts","../src/repositories/index.ts","../src/repositories/product-category.ts","../src/repositories/product.ts","../src/schema/index.ts","../src/services/index.ts","../src/services/product-category.ts","../src/services/product-module-service.ts","../src/services/__tests__/index.ts","../src/types/index.ts","../src/utils/events.ts","../src/utils/index.ts"],"version":"5.9.3"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/product",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.3-preview-20251217000306",
|
|
4
4
|
"description": "Medusa Product module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -36,10 +36,10 @@
|
|
|
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.
|
|
40
|
-
"@medusajs/test-utils": "2.12.
|
|
39
|
+
"@medusajs/framework": "2.12.3-preview-20251217000306",
|
|
40
|
+
"@medusajs/test-utils": "2.12.3-preview-20251217000306"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@medusajs/framework": "2.12.
|
|
43
|
+
"@medusajs/framework": "2.12.3-preview-20251217000306"
|
|
44
44
|
}
|
|
45
45
|
}
|