@medusajs/product 3.0.0-snapshot-20251202221811 → 3.0.0-snapshot-20251208164410
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/Migration20251022153442.d.ts +6 -0
- package/dist/migrations/Migration20251022153442.d.ts.map +1 -0
- package/dist/migrations/Migration20251022153442.js +104 -0
- package/dist/migrations/Migration20251022153442.js.map +1 -0
- package/dist/migrations/Migration20251029150809.d.ts +6 -0
- package/dist/migrations/Migration20251029150809.d.ts.map +1 -0
- package/dist/migrations/Migration20251029150809.js +14 -0
- package/dist/migrations/Migration20251029150809.js.map +1 -0
- package/dist/migrations/Migration20251110180907.d.ts +6 -0
- package/dist/migrations/Migration20251110180907.d.ts.map +1 -0
- package/dist/migrations/Migration20251110180907.js +21 -0
- package/dist/migrations/Migration20251110180907.js.map +1 -0
- package/dist/migrations/Migration20251113183352.d.ts +6 -0
- package/dist/migrations/Migration20251113183352.d.ts.map +1 -0
- package/dist/migrations/Migration20251113183352.js +32 -0
- package/dist/migrations/Migration20251113183352.js.map +1 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +5 -1
- package/dist/models/index.js.map +1 -1
- package/dist/models/product-category.d.ts +155 -6
- package/dist/models/product-category.d.ts.map +1 -1
- package/dist/models/product-collection.d.ts +155 -6
- package/dist/models/product-collection.d.ts.map +1 -1
- package/dist/models/product-image.d.ts +418 -14
- package/dist/models/product-image.d.ts.map +1 -1
- package/dist/models/product-option-value.d.ts +369 -12
- package/dist/models/product-option-value.d.ts.map +1 -1
- package/dist/models/product-option-value.js +14 -3
- package/dist/models/product-option-value.js.map +1 -1
- package/dist/models/product-option.d.ts +233 -6
- package/dist/models/product-option.d.ts.map +1 -1
- package/dist/models/product-option.js +4 -12
- package/dist/models/product-option.js.map +1 -1
- package/dist/models/product-product-option-value.d.ts +2213 -0
- package/dist/models/product-product-option-value.d.ts.map +1 -0
- package/dist/models/product-product-option-value.js +19 -0
- package/dist/models/product-product-option-value.js.map +1 -0
- package/dist/models/product-product-option.d.ts +1272 -0
- package/dist/models/product-product-option.d.ts.map +1 -0
- package/dist/models/product-product-option.js +24 -0
- package/dist/models/product-product-option.js.map +1 -0
- package/dist/models/product-tag.d.ts +155 -6
- package/dist/models/product-tag.d.ts.map +1 -1
- package/dist/models/product-type.d.ts +155 -6
- package/dist/models/product-type.d.ts.map +1 -1
- package/dist/models/product-variant-product-image.d.ts +780 -26
- package/dist/models/product-variant-product-image.d.ts.map +1 -1
- package/dist/models/product-variant.d.ts +362 -12
- package/dist/models/product-variant.d.ts.map +1 -1
- package/dist/models/product.d.ts +155 -6
- package/dist/models/product.d.ts.map +1 -1
- package/dist/models/product.js +7 -2
- package/dist/models/product.js.map +1 -1
- package/dist/repositories/product-category.d.ts +621 -15
- package/dist/repositories/product-category.d.ts.map +1 -1
- package/dist/repositories/product.d.ts +171 -6
- package/dist/repositories/product.d.ts.map +1 -1
- package/dist/repositories/product.js +50 -5
- package/dist/repositories/product.js.map +1 -1
- package/dist/services/product-module-service.d.ts +35 -2
- package/dist/services/product-module-service.d.ts.map +1 -1
- package/dist/services/product-module-service.js +660 -76
- package/dist/services/product-module-service.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-product-option-value.d.ts","sourceRoot":"","sources":["../../src/models/product-product-option-value.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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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_option_value_1 = __importDefault(require("./product-option-value"));
|
|
8
|
+
const product_product_option_1 = __importDefault(require("./product-product-option"));
|
|
9
|
+
const ProductProductOptionValue = utils_1.model.define("ProductProductOptionValue", {
|
|
10
|
+
id: utils_1.model.id({ prefix: "prodoptval" }).primaryKey(),
|
|
11
|
+
product_product_option: utils_1.model.belongsTo(() => product_product_option_1.default, {
|
|
12
|
+
mappedBy: "values",
|
|
13
|
+
}),
|
|
14
|
+
product_option_value: utils_1.model.belongsTo(() => product_option_value_1.default, {
|
|
15
|
+
mappedBy: "product_options",
|
|
16
|
+
}),
|
|
17
|
+
});
|
|
18
|
+
exports.default = ProductProductOptionValue;
|
|
19
|
+
//# sourceMappingURL=product-product-option-value.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-product-option-value.js","sourceRoot":"","sources":["../../src/models/product-product-option-value.ts"],"names":[],"mappings":";;;;;AAAA,qDAAiD;AACjD,kFAAuD;AACvD,sFAA2D;AAE3D,MAAM,yBAAyB,GAAG,aAAK,CAAC,MAAM,CAAC,2BAA2B,EAAE;IAC1E,EAAE,EAAE,aAAK,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC,UAAU,EAAE;IACnD,sBAAsB,EAAE,aAAK,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,gCAAoB,EAAE;QAClE,QAAQ,EAAE,QAAQ;KACnB,CAAC;IACF,oBAAoB,EAAE,aAAK,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,8BAAkB,EAAE;QAC9D,QAAQ,EAAE,iBAAiB;KAC5B,CAAC;CACH,CAAC,CAAA;AAEF,kBAAe,yBAAyB,CAAA"}
|