@medusajs/product 3.0.0-snapshot-20251106181920 → 3.0.0-snapshot-20251126221441
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/Migration20250911092221.d.ts +1 -1
- package/dist/migrations/Migration20250911092221.d.ts.map +1 -1
- package/dist/migrations/Migration20250911092221.js +1 -1
- package/dist/migrations/Migration20250911092221.js.map +1 -1
- package/dist/migrations/Migration20251011090511.d.ts +1 -1
- package/dist/migrations/Migration20251011090511.d.ts.map +1 -1
- package/dist/migrations/Migration20251011090511.js +1 -1
- package/dist/migrations/Migration20251011090511.js.map +1 -1
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +1 -3
- package/dist/models/index.js.map +1 -1
- package/dist/models/product-category.d.ts +6 -14
- package/dist/models/product-category.d.ts.map +1 -1
- package/dist/models/product-collection.d.ts +6 -14
- package/dist/models/product-collection.d.ts.map +1 -1
- package/dist/models/product-image.d.ts +14 -26
- package/dist/models/product-image.d.ts.map +1 -1
- package/dist/models/product-option-value.d.ts +12 -18
- package/dist/models/product-option-value.d.ts.map +1 -1
- package/dist/models/product-option-value.js +0 -1
- package/dist/models/product-option-value.js.map +1 -1
- package/dist/models/product-option.d.ts +6 -10
- package/dist/models/product-option.d.ts.map +1 -1
- package/dist/models/product-option.js +12 -4
- package/dist/models/product-option.js.map +1 -1
- package/dist/models/product-tag.d.ts +6 -14
- package/dist/models/product-tag.d.ts.map +1 -1
- package/dist/models/product-type.d.ts +6 -14
- package/dist/models/product-type.d.ts.map +1 -1
- package/dist/models/product-variant-product-image.d.ts +26 -47
- package/dist/models/product-variant-product-image.d.ts.map +1 -1
- package/dist/models/product-variant.d.ts +12 -21
- package/dist/models/product-variant.d.ts.map +1 -1
- package/dist/models/product.d.ts +6 -14
- package/dist/models/product.d.ts.map +1 -1
- package/dist/models/product.js +3 -5
- package/dist/models/product.js.map +1 -1
- package/dist/repositories/product-category.d.ts +18 -36
- package/dist/repositories/product-category.d.ts.map +1 -1
- package/dist/repositories/product.d.ts +6 -14
- package/dist/repositories/product.d.ts.map +1 -1
- package/dist/repositories/product.js +5 -2
- package/dist/repositories/product.js.map +1 -1
- package/dist/schema/index.d.ts +1 -1
- package/dist/schema/index.d.ts.map +1 -1
- package/dist/schema/index.js +1 -0
- package/dist/schema/index.js.map +1 -1
- package/dist/services/product-module-service.d.ts +4 -20
- package/dist/services/product-module-service.d.ts.map +1 -1
- package/dist/services/product-module-service.js +90 -312
- package/dist/services/product-module-service.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/dist/migrations/Migration20251022153442.d.ts +0 -6
- package/dist/migrations/Migration20251022153442.d.ts.map +0 -1
- package/dist/migrations/Migration20251022153442.js +0 -104
- package/dist/migrations/Migration20251022153442.js.map +0 -1
- package/dist/migrations/Migration20251029150809.d.ts +0 -6
- package/dist/migrations/Migration20251029150809.d.ts.map +0 -1
- package/dist/migrations/Migration20251029150809.js +0 -14
- package/dist/migrations/Migration20251029150809.js.map +0 -1
- package/dist/models/product-product-option.d.ts +0 -668
- package/dist/models/product-product-option.d.ts.map +0 -1
- package/dist/models/product-product-option.js +0 -19
- package/dist/models/product-product-option.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"product-product-option.d.ts","sourceRoot":"","sources":["../../src/models/product-product-option.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAQxB,CAAA;AAEF,eAAe,oBAAoB,CAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const utils_1 = require("@medusajs/framework/utils");
|
|
7
|
-
const product_1 = __importDefault(require("./product"));
|
|
8
|
-
const product_option_1 = __importDefault(require("./product-option"));
|
|
9
|
-
const ProductProductOption = utils_1.model.define("ProductProductOption", {
|
|
10
|
-
id: utils_1.model.id({ prefix: "prodopt" }).primaryKey(),
|
|
11
|
-
product: utils_1.model.belongsTo(() => product_1.default, {
|
|
12
|
-
mappedBy: "options",
|
|
13
|
-
}),
|
|
14
|
-
product_option: utils_1.model.belongsTo(() => product_option_1.default, {
|
|
15
|
-
mappedBy: "products",
|
|
16
|
-
}),
|
|
17
|
-
});
|
|
18
|
-
exports.default = ProductProductOption;
|
|
19
|
-
//# sourceMappingURL=product-product-option.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"product-product-option.js","sourceRoot":"","sources":["../../src/models/product-product-option.ts"],"names":[],"mappings":";;;;;AAAA,qDAAiD;AACjD,wDAA+B;AAC/B,sEAA4C;AAE5C,MAAM,oBAAoB,GAAG,aAAK,CAAC,MAAM,CAAC,sBAAsB,EAAE;IAChE,EAAE,EAAE,aAAK,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC,UAAU,EAAE;IAChD,OAAO,EAAE,aAAK,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,iBAAO,EAAE;QACtC,QAAQ,EAAE,SAAS;KACpB,CAAC;IACF,cAAc,EAAE,aAAK,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,wBAAa,EAAE;QACnD,QAAQ,EAAE,UAAU;KACrB,CAAC;CACH,CAAC,CAAA;AAEF,kBAAe,oBAAoB,CAAA"}
|