@medusajs/product 3.0.0-snapshot-20251208164410 → 3.0.0-snapshot-20251211173847
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.map +1 -1
- package/dist/migrations/Migration20250910154539.js +0 -1
- package/dist/migrations/Migration20250910154539.js.map +1 -1
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +1 -5
- package/dist/models/index.js.map +1 -1
- package/dist/models/product-category.d.ts +6 -155
- package/dist/models/product-category.d.ts.map +1 -1
- package/dist/models/product-collection.d.ts +6 -155
- package/dist/models/product-collection.d.ts.map +1 -1
- package/dist/models/product-image.d.ts +14 -418
- package/dist/models/product-image.d.ts.map +1 -1
- package/dist/models/product-option-value.d.ts +12 -369
- package/dist/models/product-option-value.d.ts.map +1 -1
- package/dist/models/product-option-value.js +3 -14
- package/dist/models/product-option-value.js.map +1 -1
- package/dist/models/product-option.d.ts +6 -233
- 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 -155
- package/dist/models/product-tag.d.ts.map +1 -1
- package/dist/models/product-type.d.ts +6 -155
- package/dist/models/product-type.d.ts.map +1 -1
- package/dist/models/product-variant-product-image.d.ts +26 -780
- package/dist/models/product-variant-product-image.d.ts.map +1 -1
- package/dist/models/product-variant.d.ts +12 -362
- package/dist/models/product-variant.d.ts.map +1 -1
- package/dist/models/product.d.ts +6 -155
- package/dist/models/product.d.ts.map +1 -1
- package/dist/models/product.js +2 -7
- package/dist/models/product.js.map +1 -1
- package/dist/repositories/product-category.d.ts +15 -621
- package/dist/repositories/product-category.d.ts.map +1 -1
- package/dist/repositories/product.d.ts +6 -171
- package/dist/repositories/product.d.ts.map +1 -1
- package/dist/repositories/product.js +5 -50
- package/dist/repositories/product.js.map +1 -1
- package/dist/services/product-module-service.d.ts +2 -35
- package/dist/services/product-module-service.d.ts.map +1 -1
- package/dist/services/product-module-service.js +76 -660
- 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/migrations/Migration20251110180907.d.ts +0 -6
- package/dist/migrations/Migration20251110180907.d.ts.map +0 -1
- package/dist/migrations/Migration20251110180907.js +0 -21
- package/dist/migrations/Migration20251110180907.js.map +0 -1
- package/dist/migrations/Migration20251113183352.d.ts +0 -6
- package/dist/migrations/Migration20251113183352.d.ts.map +0 -1
- package/dist/migrations/Migration20251113183352.js +0 -32
- package/dist/migrations/Migration20251113183352.js.map +0 -1
- package/dist/models/product-product-option-value.d.ts +0 -2213
- package/dist/models/product-product-option-value.d.ts.map +0 -1
- package/dist/models/product-product-option-value.js +0 -19
- package/dist/models/product-product-option-value.js.map +0 -1
- package/dist/models/product-product-option.d.ts +0 -1272
- package/dist/models/product-product-option.d.ts.map +0 -1
- package/dist/models/product-product-option.js +0 -24
- 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":"AAMA,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAWxB,CAAA;AAEF,eAAe,oBAAoB,CAAA"}
|
|
@@ -1,24 +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 product_option_value_1 = __importDefault(require("./product-option-value"));
|
|
10
|
-
const product_product_option_value_1 = __importDefault(require("./product-product-option-value"));
|
|
11
|
-
const ProductProductOption = utils_1.model.define("ProductProductOption", {
|
|
12
|
-
id: utils_1.model.id({ prefix: "prodopt" }).primaryKey(),
|
|
13
|
-
product: utils_1.model.belongsTo(() => product_1.default, {
|
|
14
|
-
mappedBy: "options",
|
|
15
|
-
}),
|
|
16
|
-
product_option: utils_1.model.belongsTo(() => product_option_1.default, {
|
|
17
|
-
mappedBy: "products",
|
|
18
|
-
}),
|
|
19
|
-
values: utils_1.model.manyToMany(() => product_option_value_1.default, {
|
|
20
|
-
pivotEntity: () => product_product_option_value_1.default,
|
|
21
|
-
}),
|
|
22
|
-
});
|
|
23
|
-
exports.default = ProductProductOption;
|
|
24
|
-
//# 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;AAC5C,kFAAuD;AACvD,kGAAsE;AAEtE,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;IACF,MAAM,EAAE,aAAK,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,8BAAkB,EAAE;QACjD,WAAW,EAAE,GAAG,EAAE,CAAC,sCAAyB;KAC7C,CAAC;CACH,CAAC,CAAA;AAEF,kBAAe,oBAAoB,CAAA"}
|