@vendure/core 1.9.3 → 1.9.5
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/common/constants.d.ts +1 -2
- package/dist/config/auth/native-authentication-strategy.js +5 -5
- package/dist/data-import/providers/importer/fast-importer.service.js +15 -3
- package/dist/data-import/providers/importer/fast-importer.service.js.map +1 -1
- package/dist/entity/administrator/administrator.entity.js +3 -1
- package/dist/entity/administrator/administrator.entity.js.map +1 -1
- package/dist/entity/asset/asset.entity.js +4 -2
- package/dist/entity/asset/asset.entity.js.map +1 -1
- package/dist/entity/asset/orderable-asset.entity.js +3 -1
- package/dist/entity/asset/orderable-asset.entity.js.map +1 -1
- package/dist/entity/authentication-method/external-authentication-method.entity.js +3 -1
- package/dist/entity/authentication-method/external-authentication-method.entity.js.map +1 -1
- package/dist/entity/authentication-method/native-authentication-method.entity.js +3 -1
- package/dist/entity/authentication-method/native-authentication-method.entity.js.map +1 -1
- package/dist/entity/channel/channel.entity.js +5 -3
- package/dist/entity/channel/channel.entity.js.map +1 -1
- package/dist/entity/collection/collection-asset.entity.js +4 -2
- package/dist/entity/collection/collection-asset.entity.js.map +1 -1
- package/dist/entity/collection/collection-translation.entity.js +4 -2
- package/dist/entity/collection/collection-translation.entity.js.map +1 -1
- package/dist/entity/collection/collection.entity.js +3 -1
- package/dist/entity/collection/collection.entity.js.map +1 -1
- package/dist/entity/country/country-translation.entity.js +4 -2
- package/dist/entity/country/country-translation.entity.js.map +1 -1
- package/dist/entity/country/country.entity.js +3 -1
- package/dist/entity/country/country.entity.js.map +1 -1
- package/dist/entity/customer-group/customer-group.entity.js +3 -1
- package/dist/entity/customer-group/customer-group.entity.js.map +1 -1
- package/dist/entity/facet/facet-translation.entity.js +4 -2
- package/dist/entity/facet/facet-translation.entity.js.map +1 -1
- package/dist/entity/facet/facet.entity.js +3 -1
- package/dist/entity/facet/facet.entity.js.map +1 -1
- package/dist/entity/facet-value/facet-value-translation.entity.js +4 -2
- package/dist/entity/facet-value/facet-value-translation.entity.js.map +1 -1
- package/dist/entity/facet-value/facet-value.entity.js +3 -1
- package/dist/entity/facet-value/facet-value.entity.js.map +1 -1
- package/dist/entity/product/product-asset.entity.js +4 -2
- package/dist/entity/product/product-asset.entity.js.map +1 -1
- package/dist/entity/product/product-translation.entity.js +4 -2
- package/dist/entity/product/product-translation.entity.js.map +1 -1
- package/dist/entity/product/product.entity.js +3 -1
- package/dist/entity/product/product.entity.js.map +1 -1
- package/dist/entity/product-option/product-option-translation.entity.js +4 -2
- package/dist/entity/product-option/product-option-translation.entity.js.map +1 -1
- package/dist/entity/product-option-group/product-option-group-translation.entity.js +4 -2
- package/dist/entity/product-option-group/product-option-group-translation.entity.js.map +1 -1
- package/dist/entity/product-option-group/product-option-group.entity.js +3 -1
- package/dist/entity/product-option-group/product-option-group.entity.js.map +1 -1
- package/dist/entity/product-variant/product-variant-asset.entity.js +4 -2
- package/dist/entity/product-variant/product-variant-asset.entity.js.map +1 -1
- package/dist/entity/product-variant/product-variant-translation.entity.js +4 -2
- package/dist/entity/product-variant/product-variant-translation.entity.js.map +1 -1
- package/dist/entity/role/role.entity.js +3 -1
- package/dist/entity/role/role.entity.js.map +1 -1
- package/dist/entity/stock-movement/stock-movement.entity.js +2 -1
- package/dist/entity/stock-movement/stock-movement.entity.js.map +1 -1
- package/dist/entity/tag/tag.entity.js +3 -1
- package/dist/entity/tag/tag.entity.js.map +1 -1
- package/dist/entity/tax-category/tax-category.entity.js +3 -1
- package/dist/entity/tax-category/tax-category.entity.js.map +1 -1
- package/dist/entity/tax-rate/tax-rate.entity.js +3 -1
- package/dist/entity/tax-rate/tax-rate.entity.js.map +1 -1
- package/dist/entity/user/user.entity.js +3 -1
- package/dist/entity/user/user.entity.js.map +1 -1
- package/dist/entity/zone/zone.entity.js +3 -1
- package/dist/entity/zone/zone.entity.js.map +1 -1
- package/dist/event-bus/events/change-channel-event.d.ts +3 -3
- package/dist/event-bus/events/customer-address-event.d.ts +2 -2
- package/dist/job-queue/in-memory-job-queue-strategy.d.ts +1 -1
- package/dist/service/helpers/list-query-builder/list-query-builder.d.ts +1 -0
- package/dist/service/helpers/list-query-builder/list-query-builder.js +22 -1
- package/dist/service/helpers/list-query-builder/list-query-builder.js.map +1 -1
- package/dist/service/services/payment.service.js +1 -2
- package/dist/service/services/payment.service.js.map +1 -1
- package/dist/service/services/product-variant.service.js +1 -1
- package/dist/service/services/product-variant.service.js.map +1 -1
- package/dist/service/services/promotion.service.js +2 -1
- package/dist/service/services/promotion.service.js.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facet-value-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/facet-value/facet-value-translation.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"facet-value-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/facet-value/facet-value-translation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAmE;AACnE,mEAA+D;AAC/D,qCAAoD;AAGpD,qDAAoD;AACpD,kEAA4E;AAE5E,6DAAkD;AAGlD,IAAa,qBAAqB,GAAlC,MAAa,qBAAsB,SAAQ,2BAAa;IACpD,YAAY,KAA4C;QACpD,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAWJ,CAAA;AATsB;IAAlB,gBAAM,CAAC,SAAS,CAAC;kDAAe,8BAAY,oBAAZ,8BAAY;2DAAC;AAEpC;IAAT,gBAAM,EAAE;;mDAAc;AAGvB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,+BAAU,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC5E,+BAAU;mDAAC;AAGjB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,wDAAiC,CAAC;8BACpC,wDAAiC;2DAAC;AAbvC,qBAAqB;IADjC,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,qBAAqB,CAcjC;AAdY,sDAAqB"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.FacetValue = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const base_entity_1 = require("../base/base.entity");
|
|
15
17
|
const channel_entity_1 = require("../channel/channel.entity");
|
|
@@ -50,7 +52,7 @@ __decorate([
|
|
|
50
52
|
], FacetValue.prototype, "channels", void 0);
|
|
51
53
|
FacetValue = __decorate([
|
|
52
54
|
typeorm_1.Entity(),
|
|
53
|
-
__metadata("design:paramtypes", [Object])
|
|
55
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
54
56
|
], FacetValue);
|
|
55
57
|
exports.FacetValue = FacetValue;
|
|
56
58
|
//# sourceMappingURL=facet-value.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facet-value.entity.js","sourceRoot":"","sources":["../../../src/entity/facet-value/facet-value.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"facet-value.entity.js","sourceRoot":"","sources":["../../../src/entity/facet-value/facet-value.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAAsF;AAKtF,qDAAoD;AACpD,8DAAoD;AACpD,kEAAiE;AACjE,wDAA8C;AAE9C,qFAAyE;AAEzE;;;;;GAKG;AAEH,IAAa,UAAU,GAAvB,MAAa,UAAW,SAAQ,2BAAa;IACzC,YAAY,KAA+B;QACvC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAiBJ,CAAA;AAda;IAAT,gBAAM,EAAE;;wCAAc;AAGvB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,sDAAqB,EAAE,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;8BAC7E,KAAK;gDAA0B;AAG7C;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,oBAAK,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAClE,oBAAK;yCAAC;AAGb;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,6CAAsB,CAAC;8BACzB,6CAAsB;gDAAC;AAIrC;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,CAAC;IAC3B,mBAAS,EAAE;;4CACQ;AAnBX,UAAU;IADtB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,UAAU,CAoBtB;AApBY,gCAAU"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a, _b;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.ProductAsset = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const orderable_asset_entity_1 = require("../asset/orderable-asset.entity");
|
|
15
17
|
const product_entity_1 = require("./product.entity");
|
|
@@ -20,7 +22,7 @@ let ProductAsset = class ProductAsset extends orderable_asset_entity_1.Orderable
|
|
|
20
22
|
};
|
|
21
23
|
__decorate([
|
|
22
24
|
typeorm_1.Column(),
|
|
23
|
-
__metadata("design:type", Object)
|
|
25
|
+
__metadata("design:type", typeof (_a = typeof shared_types_1.ID !== "undefined" && shared_types_1.ID) === "function" ? _a : Object)
|
|
24
26
|
], ProductAsset.prototype, "productId", void 0);
|
|
25
27
|
__decorate([
|
|
26
28
|
typeorm_1.ManyToOne((type) => product_entity_1.Product, (product) => product.assets, { onDelete: 'CASCADE' }),
|
|
@@ -28,7 +30,7 @@ __decorate([
|
|
|
28
30
|
], ProductAsset.prototype, "product", void 0);
|
|
29
31
|
ProductAsset = __decorate([
|
|
30
32
|
typeorm_1.Entity(),
|
|
31
|
-
__metadata("design:paramtypes", [Object])
|
|
33
|
+
__metadata("design:paramtypes", [typeof (_b = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _b : Object])
|
|
32
34
|
], ProductAsset);
|
|
33
35
|
exports.ProductAsset = ProductAsset;
|
|
34
36
|
//# sourceMappingURL=product-asset.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-asset.entity.js","sourceRoot":"","sources":["../../../src/entity/product/product-asset.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-asset.entity.js","sourceRoot":"","sources":["../../../src/entity/product/product-asset.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAAmE;AACnE,qCAAoD;AAEpD,4EAAiE;AAEjE,qDAA2C;AAG3C,IAAa,YAAY,GAAzB,MAAa,YAAa,SAAQ,uCAAc;IAC5C,YAAY,KAAiC;QACzC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAMJ,CAAA;AAJG;IADC,gBAAM,EAAE;kDACE,iBAAE,oBAAF,iBAAE;+CAAC;AAGd;IADC,mBAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,wBAAO,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC1E,wBAAO;6CAAC;AARR,YAAY;IADxB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,YAAY,CASxB;AATY,oCAAY"}
|
|
@@ -8,9 +8,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a, _b;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.ProductTranslation = void 0;
|
|
13
14
|
const generated_types_1 = require("@vendure/common/lib/generated-types");
|
|
15
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
14
16
|
const typeorm_1 = require("typeorm");
|
|
15
17
|
const base_entity_1 = require("../base/base.entity");
|
|
16
18
|
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
@@ -22,7 +24,7 @@ let ProductTranslation = class ProductTranslation extends base_entity_1.VendureE
|
|
|
22
24
|
};
|
|
23
25
|
__decorate([
|
|
24
26
|
typeorm_1.Column('varchar'),
|
|
25
|
-
__metadata("design:type",
|
|
27
|
+
__metadata("design:type", typeof (_a = typeof generated_types_1.LanguageCode !== "undefined" && generated_types_1.LanguageCode) === "function" ? _a : Object)
|
|
26
28
|
], ProductTranslation.prototype, "languageCode", void 0);
|
|
27
29
|
__decorate([
|
|
28
30
|
typeorm_1.Column(),
|
|
@@ -46,7 +48,7 @@ __decorate([
|
|
|
46
48
|
], ProductTranslation.prototype, "customFields", void 0);
|
|
47
49
|
ProductTranslation = __decorate([
|
|
48
50
|
typeorm_1.Entity(),
|
|
49
|
-
__metadata("design:paramtypes", [Object])
|
|
51
|
+
__metadata("design:paramtypes", [typeof (_b = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _b : Object])
|
|
50
52
|
], ProductTranslation);
|
|
51
53
|
exports.ProductTranslation = ProductTranslation;
|
|
52
54
|
//# sourceMappingURL=product-translation.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/product/product-translation.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/product/product-translation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAmE;AACnE,mEAA+D;AAC/D,qCAA2D;AAI3D,qDAAoD;AACpD,kEAAyE;AAEzE,qDAA2C;AAG3C,IAAa,kBAAkB,GAA/B,MAAa,kBAAmB,SAAQ,2BAAa;IACjD,YAAY,KAAyC;QACjD,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAeJ,CAAA;AAbsB;IAAlB,gBAAM,CAAC,SAAS,CAAC;kDAAe,8BAAY,oBAAZ,8BAAY;wDAAC;AAEpC;IAAT,gBAAM,EAAE;;gDAAc;AAEb;IAAT,gBAAM,EAAE;;gDAAc;AAEP;IAAf,gBAAM,CAAC,MAAM,CAAC;;uDAAqB;AAGpC;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;8BAChD,wBAAO;gDAAC;AAGd;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,qDAA8B,CAAC;8BACjC,qDAA8B;wDAAC;AAjBpC,kBAAkB;IAD9B,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,kBAAkB,CAkB9B;AAlBY,gDAAkB"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.Product = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const asset_entity_1 = require("../asset/asset.entity");
|
|
15
17
|
const base_entity_1 = require("../base/base.entity");
|
|
@@ -76,7 +78,7 @@ __decorate([
|
|
|
76
78
|
], Product.prototype, "channels", void 0);
|
|
77
79
|
Product = __decorate([
|
|
78
80
|
typeorm_1.Entity(),
|
|
79
|
-
__metadata("design:paramtypes", [Object])
|
|
81
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
80
82
|
], Product);
|
|
81
83
|
exports.Product = Product;
|
|
82
84
|
//# sourceMappingURL=product.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.entity.js","sourceRoot":"","sources":["../../../src/entity/product/product.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product.entity.js","sourceRoot":"","sources":["../../../src/entity/product/product.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAAsF;AAKtF,wDAA8C;AAC9C,qDAAoD;AACpD,8DAAoD;AACpD,kEAA8D;AAC9D,0EAA+D;AAC/D,qGAAyF;AACzF,sFAA2E;AAE3E,iEAAsD;AACtD,6EAAkE;AAElE;;;;;;GAMG;AAEH,IAAa,OAAO,GAApB,MAAa,OACT,SAAQ,2BAAa;IAErB,YAAY,KAA4B;QACpC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAuCJ,CAAA;AApCG;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CAChB;AASvB;IADC,gBAAM,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;wCACT;AAGjB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,oBAAK,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;8BACpC,oBAAK;8CAAC;AAGrB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,mCAAY,EAAE,YAAY,CAAC,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC;;uCAC/C;AAGvB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,+CAAkB,EAAE,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;8BAC1E,KAAK;6CAAuB;AAG1C;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,uCAAc,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC;;yCACnC;AAG3B;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,gDAAkB,EAAE,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC;;6CACvC;AAInC;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,+BAAU,CAAC;IAC9B,mBAAS,EAAE;;4CACc;AAG1B;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,0CAAmB,CAAC;8BACtB,0CAAmB;6CAAC;AAIlC;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,CAAC;IAC3B,mBAAS,EAAE;;yCACQ;AA3CX,OAAO;IADnB,gBAAM,EAAE;yDAIe,0BAAW,oBAAX,0BAAW;GAHtB,OAAO,CA4CnB;AA5CY,0BAAO"}
|
|
@@ -8,9 +8,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a, _b;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.ProductOptionTranslation = void 0;
|
|
13
14
|
const generated_types_1 = require("@vendure/common/lib/generated-types");
|
|
15
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
14
16
|
const typeorm_1 = require("typeorm");
|
|
15
17
|
const base_entity_1 = require("../base/base.entity");
|
|
16
18
|
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
@@ -22,7 +24,7 @@ let ProductOptionTranslation = class ProductOptionTranslation extends base_entit
|
|
|
22
24
|
};
|
|
23
25
|
__decorate([
|
|
24
26
|
typeorm_1.Column('varchar'),
|
|
25
|
-
__metadata("design:type",
|
|
27
|
+
__metadata("design:type", typeof (_a = typeof generated_types_1.LanguageCode !== "undefined" && generated_types_1.LanguageCode) === "function" ? _a : Object)
|
|
26
28
|
], ProductOptionTranslation.prototype, "languageCode", void 0);
|
|
27
29
|
__decorate([
|
|
28
30
|
typeorm_1.Column(),
|
|
@@ -38,7 +40,7 @@ __decorate([
|
|
|
38
40
|
], ProductOptionTranslation.prototype, "customFields", void 0);
|
|
39
41
|
ProductOptionTranslation = __decorate([
|
|
40
42
|
typeorm_1.Entity(),
|
|
41
|
-
__metadata("design:paramtypes", [Object])
|
|
43
|
+
__metadata("design:paramtypes", [typeof (_b = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _b : Object])
|
|
42
44
|
], ProductOptionTranslation);
|
|
43
45
|
exports.ProductOptionTranslation = ProductOptionTranslation;
|
|
44
46
|
//# sourceMappingURL=product-option-translation.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-option-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/product-option/product-option-translation.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-option-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/product-option/product-option-translation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAmE;AACnE,mEAA+D;AAC/D,qCAAoD;AAIpD,qDAAoD;AACpD,kEAA+E;AAE/E,mEAAwD;AAGxD,IAAa,wBAAwB,GAArC,MAAa,wBACT,SAAQ,2BAAa;IAGrB,YAAY,KAA+C;QACvD,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAYJ,CAAA;AAVsB;IAAlB,gBAAM,CAAC,SAAS,CAAC;kDAAe,8BAAY,oBAAZ,8BAAY;8DAAC;AAEpC;IAAT,gBAAM,EAAE;;sDAAc;AAIvB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,qCAAa,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;8BACtD,qCAAa;sDAAC;AAGpB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,2DAAoC,CAAC;8BACvC,2DAAoC;8DAAC;AAjB1C,wBAAwB;IADpC,gBAAM,EAAE;yDAKe,0BAAW,oBAAX,0BAAW;GAJtB,wBAAwB,CAkBpC;AAlBY,4DAAwB"}
|
|
@@ -8,9 +8,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a, _b;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.ProductOptionGroupTranslation = void 0;
|
|
13
14
|
const generated_types_1 = require("@vendure/common/lib/generated-types");
|
|
15
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
14
16
|
const typeorm_1 = require("typeorm");
|
|
15
17
|
const base_entity_1 = require("../base/base.entity");
|
|
16
18
|
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
@@ -22,7 +24,7 @@ let ProductOptionGroupTranslation = class ProductOptionGroupTranslation extends
|
|
|
22
24
|
};
|
|
23
25
|
__decorate([
|
|
24
26
|
typeorm_1.Column('varchar'),
|
|
25
|
-
__metadata("design:type",
|
|
27
|
+
__metadata("design:type", typeof (_a = typeof generated_types_1.LanguageCode !== "undefined" && generated_types_1.LanguageCode) === "function" ? _a : Object)
|
|
26
28
|
], ProductOptionGroupTranslation.prototype, "languageCode", void 0);
|
|
27
29
|
__decorate([
|
|
28
30
|
typeorm_1.Column(),
|
|
@@ -38,7 +40,7 @@ __decorate([
|
|
|
38
40
|
], ProductOptionGroupTranslation.prototype, "customFields", void 0);
|
|
39
41
|
ProductOptionGroupTranslation = __decorate([
|
|
40
42
|
typeorm_1.Entity(),
|
|
41
|
-
__metadata("design:paramtypes", [Object])
|
|
43
|
+
__metadata("design:paramtypes", [typeof (_b = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _b : Object])
|
|
42
44
|
], ProductOptionGroupTranslation);
|
|
43
45
|
exports.ProductOptionGroupTranslation = ProductOptionGroupTranslation;
|
|
44
46
|
//# sourceMappingURL=product-option-group-translation.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-option-group-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/product-option-group/product-option-group-translation.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-option-group-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/product-option-group/product-option-group-translation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAmE;AACnE,mEAA+D;AAC/D,qCAAoD;AAIpD,qDAAoD;AACpD,kEAAoF;AAEpF,+EAAmE;AAGnE,IAAa,6BAA6B,GAA1C,MAAa,6BACT,SAAQ,2BAAa;IAGrB,YAAY,KAAoD;QAC5D,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAYJ,CAAA;AAVsB;IAAlB,gBAAM,CAAC,SAAS,CAAC;kDAAe,8BAAY,oBAAZ,8BAAY;mEAAC;AAEpC;IAAT,gBAAM,EAAE;;2DAAc;AAIvB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,gDAAkB,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;8BAC3D,gDAAkB;2DAAC;AAGzB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,gEAAyC,CAAC;8BAC5C,gEAAyC;mEAAC;AAjB/C,6BAA6B;IADzC,gBAAM,EAAE;yDAKe,0BAAW,oBAAX,0BAAW;GAJtB,6BAA6B,CAkBzC;AAlBY,sEAA6B"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.ProductOptionGroup = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const base_entity_1 = require("../base/base.entity");
|
|
15
17
|
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
@@ -53,7 +55,7 @@ __decorate([
|
|
|
53
55
|
], ProductOptionGroup.prototype, "customFields", void 0);
|
|
54
56
|
ProductOptionGroup = __decorate([
|
|
55
57
|
typeorm_1.Entity(),
|
|
56
|
-
__metadata("design:paramtypes", [Object])
|
|
58
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
57
59
|
], ProductOptionGroup);
|
|
58
60
|
exports.ProductOptionGroup = ProductOptionGroup;
|
|
59
61
|
//# sourceMappingURL=product-option-group.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-option-group.entity.js","sourceRoot":"","sources":["../../../src/entity/product-option-group/product-option-group.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-option-group.entity.js","sourceRoot":"","sources":["../../../src/entity/product-option-group/product-option-group.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAA+D;AAK/D,qDAAoD;AACpD,kEAAyE;AACzE,mFAAwE;AACxE,8DAAoD;AAEpD,uGAA0F;AAE1F;;;;;GAKG;AAEH,IAAa,kBAAkB,GAA/B,MAAa,kBACT,SAAQ,2BAAa;IAErB,YAAY,KAAuC;QAC/C,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAoBJ,CAAA;AAlBG;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDAChB;AAKvB;IADC,gBAAM,EAAE;;gDACI;AAGb;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,uEAA6B,EAAE,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;8BACrF,KAAK;wDAAkC;AAGrD;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,qCAAa,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC;;mDAChC;AAGzB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,CAAC;8BAClB,wBAAO;mDAAC;AAGjB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,qDAA8B,CAAC;8BACjC,qDAA8B;wDAAC;AAxBpC,kBAAkB;IAD9B,gBAAM,EAAE;yDAIe,0BAAW,oBAAX,0BAAW;GAHtB,kBAAkB,CAyB9B;AAzBY,gDAAkB"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a, _b;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.ProductVariantAsset = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const orderable_asset_entity_1 = require("../asset/orderable-asset.entity");
|
|
15
17
|
const product_variant_entity_1 = require("./product-variant.entity");
|
|
@@ -20,7 +22,7 @@ let ProductVariantAsset = class ProductVariantAsset extends orderable_asset_enti
|
|
|
20
22
|
};
|
|
21
23
|
__decorate([
|
|
22
24
|
typeorm_1.Column(),
|
|
23
|
-
__metadata("design:type", Object)
|
|
25
|
+
__metadata("design:type", typeof (_a = typeof shared_types_1.ID !== "undefined" && shared_types_1.ID) === "function" ? _a : Object)
|
|
24
26
|
], ProductVariantAsset.prototype, "productVariantId", void 0);
|
|
25
27
|
__decorate([
|
|
26
28
|
typeorm_1.ManyToOne((type) => product_variant_entity_1.ProductVariant, (variant) => variant.assets, { onDelete: 'CASCADE' }),
|
|
@@ -28,7 +30,7 @@ __decorate([
|
|
|
28
30
|
], ProductVariantAsset.prototype, "productVariant", void 0);
|
|
29
31
|
ProductVariantAsset = __decorate([
|
|
30
32
|
typeorm_1.Entity(),
|
|
31
|
-
__metadata("design:paramtypes", [Object])
|
|
33
|
+
__metadata("design:paramtypes", [typeof (_b = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _b : Object])
|
|
32
34
|
], ProductVariantAsset);
|
|
33
35
|
exports.ProductVariantAsset = ProductVariantAsset;
|
|
34
36
|
//# sourceMappingURL=product-variant-asset.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-variant-asset.entity.js","sourceRoot":"","sources":["../../../src/entity/product-variant/product-variant-asset.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-variant-asset.entity.js","sourceRoot":"","sources":["../../../src/entity/product-variant/product-variant-asset.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAAmE;AACnE,qCAAoD;AAEpD,4EAAiE;AAEjE,qEAA0D;AAG1D,IAAa,mBAAmB,GAAhC,MAAa,mBAAoB,SAAQ,uCAAc;IACnD,YAAY,KAAwC;QAChD,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAMJ,CAAA;AAJG;IADC,gBAAM,EAAE;kDACS,iBAAE,oBAAF,iBAAE;6DAAC;AAGrB;IADC,mBAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,uCAAc,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC1E,uCAAc;2DAAC;AARtB,mBAAmB;IAD/B,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,mBAAmB,CAS/B;AATY,kDAAmB"}
|
|
@@ -8,9 +8,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a, _b;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.ProductVariantTranslation = void 0;
|
|
13
14
|
const generated_types_1 = require("@vendure/common/lib/generated-types");
|
|
15
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
14
16
|
const typeorm_1 = require("typeorm");
|
|
15
17
|
const base_entity_1 = require("../base/base.entity");
|
|
16
18
|
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
@@ -22,7 +24,7 @@ let ProductVariantTranslation = class ProductVariantTranslation extends base_ent
|
|
|
22
24
|
};
|
|
23
25
|
__decorate([
|
|
24
26
|
typeorm_1.Column('varchar'),
|
|
25
|
-
__metadata("design:type",
|
|
27
|
+
__metadata("design:type", typeof (_a = typeof generated_types_1.LanguageCode !== "undefined" && generated_types_1.LanguageCode) === "function" ? _a : Object)
|
|
26
28
|
], ProductVariantTranslation.prototype, "languageCode", void 0);
|
|
27
29
|
__decorate([
|
|
28
30
|
typeorm_1.Column(),
|
|
@@ -38,7 +40,7 @@ __decorate([
|
|
|
38
40
|
], ProductVariantTranslation.prototype, "customFields", void 0);
|
|
39
41
|
ProductVariantTranslation = __decorate([
|
|
40
42
|
typeorm_1.Entity(),
|
|
41
|
-
__metadata("design:paramtypes", [Object])
|
|
43
|
+
__metadata("design:paramtypes", [typeof (_b = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _b : Object])
|
|
42
44
|
], ProductVariantTranslation);
|
|
43
45
|
exports.ProductVariantTranslation = ProductVariantTranslation;
|
|
44
46
|
//# sourceMappingURL=product-variant-translation.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-variant-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/product-variant/product-variant-translation.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-variant-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/product-variant/product-variant-translation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAmE;AACnE,mEAA+D;AAC/D,qCAAoD;AAIpD,qDAAoD;AACpD,kEAAgF;AAEhF,qEAA0D;AAG1D,IAAa,yBAAyB,GAAtC,MAAa,yBAA0B,SAAQ,2BAAa;IAExD,YAAY,KAAgD;QACxD,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAWJ,CAAA;AATsB;IAAlB,gBAAM,CAAC,SAAS,CAAC;kDAAe,8BAAY,oBAAZ,8BAAY;+DAAC;AAEpC;IAAT,gBAAM,EAAE;;uDAAc;AAGvB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,uCAAc,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;8BACvD,uCAAc;uDAAC;AAGrB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,4DAAqC,CAAC;8BACxC,4DAAqC;+DAAC;AAd3C,yBAAyB;IADrC,gBAAM,EAAE;yDAGe,0BAAW,oBAAX,0BAAW;GAFtB,yBAAyB,CAerC;AAfY,8DAAyB"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.Role = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const base_entity_1 = require("../base/base.entity");
|
|
15
17
|
const channel_entity_1 = require("../channel/channel.entity");
|
|
@@ -44,7 +46,7 @@ __decorate([
|
|
|
44
46
|
], Role.prototype, "channels", void 0);
|
|
45
47
|
Role = __decorate([
|
|
46
48
|
typeorm_1.Entity(),
|
|
47
|
-
__metadata("design:paramtypes", [Object])
|
|
49
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
48
50
|
], Role);
|
|
49
51
|
exports.Role = Role;
|
|
50
52
|
//# sourceMappingURL=role.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role.entity.js","sourceRoot":"","sources":["../../../src/entity/role/role.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"role.entity.js","sourceRoot":"","sources":["../../../src/entity/role/role.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AACA,mEAA+D;AAC/D,qCAAgE;AAGhE,qDAAoD;AACpD,8DAAoD;AAEpD;;;;;;GAMG;AAEH,IAAa,IAAI,GAAjB,MAAa,IAAK,SAAQ,2BAAa;IACnC,YAAY,KAAyB;QACjC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAWJ,CAAA;AATa;IAAT,gBAAM,EAAE;;kCAAc;AAEb;IAAT,gBAAM,EAAE;;yCAAqB;AAEN;IAAvB,gBAAM,CAAC,cAAc,CAAC;;yCAA2B;AAIlD;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,CAAC;IAC3B,mBAAS,EAAE;;sCACQ;AAbX,IAAI;IADhB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,IAAI,CAchB;AAdY,oBAAI"}
|
|
@@ -8,6 +8,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.StockMovement = void 0;
|
|
13
14
|
const generated_types_1 = require("@vendure/common/lib/generated-types");
|
|
@@ -27,7 +28,7 @@ let StockMovement = class StockMovement extends base_entity_1.VendureEntity {
|
|
|
27
28
|
};
|
|
28
29
|
__decorate([
|
|
29
30
|
typeorm_1.Column({ nullable: false, type: 'varchar' }),
|
|
30
|
-
__metadata("design:type",
|
|
31
|
+
__metadata("design:type", typeof (_a = typeof generated_types_1.StockMovementType !== "undefined" && generated_types_1.StockMovementType) === "function" ? _a : Object)
|
|
31
32
|
], StockMovement.prototype, "type", void 0);
|
|
32
33
|
__decorate([
|
|
33
34
|
typeorm_1.ManyToOne(type => product_variant_entity_1.ProductVariant, variant => variant.stockMovements),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stock-movement.entity.js","sourceRoot":"","sources":["../../../src/entity/stock-movement/stock-movement.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stock-movement.entity.js","sourceRoot":"","sources":["../../../src/entity/stock-movement/stock-movement.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAwE;AACxE,qCAAsE;AAEtE,qDAAoD;AACpD,sFAA2E;AAE3E;;;;;;;;GAQG;AAGH,IAAsB,aAAa,GAAnC,MAAsB,aAAc,SAAQ,2BAAa;CASxD,CAAA;AAPG;IADC,gBAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;kDAC9B,mCAAiB,oBAAjB,mCAAiB;2CAAC;AAGjC;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,uCAAc,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC;8BACrD,uCAAc;qDAAC;AAG/B;IADC,gBAAM,EAAE;;+CACQ;AARC,aAAa;IAFlC,gBAAM,EAAE;IACR,0BAAgB,CAAC,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,CAAC;GACnD,aAAa,CASlC;AATqB,sCAAa"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.Tag = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const base_entity_1 = require("../base/base.entity");
|
|
15
17
|
/**
|
|
@@ -30,7 +32,7 @@ __decorate([
|
|
|
30
32
|
], Tag.prototype, "value", void 0);
|
|
31
33
|
Tag = __decorate([
|
|
32
34
|
typeorm_1.Entity(),
|
|
33
|
-
__metadata("design:paramtypes", [Object])
|
|
35
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
34
36
|
], Tag);
|
|
35
37
|
exports.Tag = Tag;
|
|
36
38
|
//# sourceMappingURL=tag.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.entity.js","sourceRoot":"","sources":["../../../src/entity/tag/tag.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tag.entity.js","sourceRoot":"","sources":["../../../src/entity/tag/tag.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAAyC;AAEzC,qDAAoD;AAEpD;;;;;;GAMG;AAEH,IAAa,GAAG,GAAhB,MAAa,GAAI,SAAQ,2BAAa;IAClC,YAAY,KAAwB;QAChC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAIJ,CAAA;AADG;IADC,gBAAM,EAAE;;kCACK;AANL,GAAG;IADf,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,GAAG,CAOf;AAPY,kBAAG"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.TaxCategory = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const base_entity_1 = require("../base/base.entity");
|
|
15
17
|
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
@@ -38,7 +40,7 @@ __decorate([
|
|
|
38
40
|
], TaxCategory.prototype, "customFields", void 0);
|
|
39
41
|
TaxCategory = __decorate([
|
|
40
42
|
typeorm_1.Entity(),
|
|
41
|
-
__metadata("design:paramtypes", [Object])
|
|
43
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
42
44
|
], TaxCategory);
|
|
43
45
|
exports.TaxCategory = TaxCategory;
|
|
44
46
|
//# sourceMappingURL=tax-category.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tax-category.entity.js","sourceRoot":"","sources":["../../../src/entity/tax-category/tax-category.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tax-category.entity.js","sourceRoot":"","sources":["../../../src/entity/tax-category/tax-category.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAAyC;AAGzC,qDAAoD;AACpD,kEAAkE;AAElE;;;;;GAKG;AAEH,IAAa,WAAW,GAAxB,MAAa,WAAY,SAAQ,2BAAa;IAC1C,YAAY,KAAgC;QACxC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAQJ,CAAA;AANa;IAAT,gBAAM,EAAE;;yCAAc;AAEK;IAA3B,gBAAM,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;8CAAoB;AAG/C;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,8CAAuB,CAAC;8BAC1B,8CAAuB;iDAAC;AAV7B,WAAW;IADvB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,WAAW,CAWvB;AAXY,kCAAW"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.TaxRate = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const tax_utils_1 = require("../../common/tax-utils");
|
|
15
17
|
const utils_1 = require("../../common/utils");
|
|
@@ -97,7 +99,7 @@ __decorate([
|
|
|
97
99
|
], TaxRate.prototype, "customFields", void 0);
|
|
98
100
|
TaxRate = __decorate([
|
|
99
101
|
typeorm_1.Entity(),
|
|
100
|
-
__metadata("design:paramtypes", [Object])
|
|
102
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
101
103
|
], TaxRate);
|
|
102
104
|
exports.TaxRate = TaxRate;
|
|
103
105
|
//# sourceMappingURL=tax-rate.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tax-rate.entity.js","sourceRoot":"","sources":["../../../src/entity/tax-rate/tax-rate.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tax-rate.entity.js","sourceRoot":"","sources":["../../../src/entity/tax-rate/tax-rate.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AACA,mEAA+D;AAC/D,qCAAoD;AAEpD,sDAAgG;AAChG,8CAAiD;AAEjD,qDAAoD;AACpD,kEAA8D;AAC9D,mFAAwE;AACxE,6EAAkE;AAClE,8DAA2D;AAC3D,qDAA2C;AAE3C;;;;;;;;;GASG;AAEH,IAAa,OAAO,GAApB,MAAa,OAAQ,SAAQ,2BAAa;IACtC,YAAY,KAA4B;QACpC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;IAoBD;;OAEG;IACH,cAAc,CAAC,UAAkB;QAC7B,OAAO,0BAAc,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IAClD,CAAC;IAED;;OAEG;IACH,UAAU,CAAC,UAAkB;QACzB,OAAO,sBAAU,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IAC9C,CAAC;IAED;;OAEG;IACH,YAAY,CAAC,QAAgB;QACzB,OAAO,wBAAY,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IAC9C,CAAC;IAED;;OAEG;IACH,YAAY,CAAC,QAAgB;QACzB,OAAO,wBAAY,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IAC9C,CAAC;IAED,KAAK,CAAC,KAAa;QACf,OAAO;YACH,WAAW,EAAE,IAAI,CAAC,IAAI;YACtB,OAAO,EAAE,IAAI,CAAC,KAAK;SACtB,CAAC;IACN,CAAC;IAED,IAAI,CAAC,IAAU,EAAE,WAAwB;QACrC,OAAO,mBAAW,CAAC,WAAW,CAAC,EAAE,EAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,mBAAW,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC/F,CAAC;CACJ,CAAA;AAxDa;IAAT,gBAAM,EAAE;;qCAAc;AAEb;IAAT,gBAAM,EAAE;;wCAAkB;AAEiE;IAA3F,gBAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,WAAW,EAAE,IAAI,uCAAkB,EAAE,EAAE,CAAC;;sCAAe;AAG1G;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,iCAAW,CAAC;8BACrB,iCAAW;yCAAC;AAGtB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,kBAAI,CAAC;8BAClB,kBAAI;qCAAC;AAGX;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,qCAAa,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACrC,qCAAa;8CAAC;AAG9B;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,0CAAmB,CAAC;8BACtB,0CAAmB;6CAAC;AArBzB,OAAO;IADnB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,OAAO,CA6DnB;AA7DY,0BAAO"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.User = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const errors_1 = require("../../common/error/errors");
|
|
15
17
|
const authentication_method_entity_1 = require("../authentication-method/authentication-method.entity");
|
|
@@ -70,7 +72,7 @@ __decorate([
|
|
|
70
72
|
], User.prototype, "customFields", void 0);
|
|
71
73
|
User = __decorate([
|
|
72
74
|
typeorm_1.Entity(),
|
|
73
|
-
__metadata("design:paramtypes", [Object])
|
|
75
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
74
76
|
], User);
|
|
75
77
|
exports.User = User;
|
|
76
78
|
//# sourceMappingURL=user.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../../src/entity/user/user.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../../src/entity/user/user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAA2E;AAE3E,sDAAgE;AAGhE,wGAA6F;AAC7F,sHAA0G;AAC1G,qDAAoD;AACpD,kEAA2D;AAC3D,qDAA2C;AAE3C;;;;;;GAMG;AAEH,IAAa,IAAI,GAAjB,MAAa,IAAK,SAAQ,2BAAa;IACnC,YAAY,KAAyB;QACjC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;IA8BD,6BAA6B,CAAC,MAAiB;QAC3C,IAAI,CAAC,IAAI,CAAC,qBAAqB,EAAE;YAC7B,MAAM,IAAI,4BAAmB,CAAC,8CAA8C,CAAC,CAAC;SACjF;QACD,MAAM,KAAK,GAAG,IAAI,CAAC,qBAAqB,CAAC,IAAI,CACzC,CAAC,CAAC,EAAmC,EAAE,CAAC,CAAC,YAAY,gEAA0B,CAClF,CAAC;QACF,IAAI,CAAC,KAAK,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,MAAM,CAAC,EAAE;YAC5C,MAAM,IAAI,4BAAmB,CAAC,+CAA+C,CAAC,CAAC;SAClF;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ,CAAA;AAvCG;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCAChB;AAGvB;IADC,gBAAM,EAAE;;wCACU;AAMnB;IAJC,mBAAS,CACN,IAAI,CAAC,EAAE,CAAC,mDAAoB,EAC5B,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,CACxB;;mDAC6C;AAG9C;IADC,gBAAM,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;sCACT;AAIlB;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,kBAAI,CAAC;IACxB,mBAAS,EAAE;;mCACE;AAGd;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCAChB;AAGvB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,uCAAgB,CAAC;8BACnB,uCAAgB;0CAAC;AA5BtB,IAAI;IADhB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,IAAI,CA6ChB;AA7CY,oBAAI"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.Zone = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const base_entity_1 = require("../base/base.entity");
|
|
15
17
|
const country_entity_1 = require("../country/country.entity");
|
|
@@ -41,7 +43,7 @@ __decorate([
|
|
|
41
43
|
], Zone.prototype, "customFields", void 0);
|
|
42
44
|
Zone = __decorate([
|
|
43
45
|
typeorm_1.Entity(),
|
|
44
|
-
__metadata("design:paramtypes", [Object])
|
|
46
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
45
47
|
], Zone);
|
|
46
48
|
exports.Zone = Zone;
|
|
47
49
|
//# sourceMappingURL=zone.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zone.entity.js","sourceRoot":"","sources":["../../../src/entity/zone/zone.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"zone.entity.js","sourceRoot":"","sources":["../../../src/entity/zone/zone.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAAgE;AAGhE,qDAAoD;AACpD,8DAAoD;AACpD,kEAA2D;AAE3D;;;;;;GAMG;AAEH,IAAa,IAAI,GAAjB,MAAa,IAAK,SAAQ,2BAAa;IACnC,YAAY,KAAyB;QACjC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAUJ,CAAA;AARa;IAAT,gBAAM,EAAE;;kCAAc;AAIvB;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,CAAC;IAC3B,mBAAS,EAAE;;qCACO;AAGnB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,uCAAgB,CAAC;8BACnB,uCAAgB;0CAAC;AAZtB,IAAI;IADhB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,IAAI,CAahB;AAbY,oBAAI"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ID
|
|
1
|
+
import { ID } from '@vendure/common/lib/shared-types';
|
|
2
2
|
import { RequestContext } from '../../api';
|
|
3
3
|
import { ChannelAware } from '../../common';
|
|
4
4
|
import { VendureEntity } from '../../entity';
|
|
@@ -17,6 +17,6 @@ export declare class ChangeChannelEvent<T extends ChannelAware & VendureEntity>
|
|
|
17
17
|
entity: T;
|
|
18
18
|
channelIds: ID[];
|
|
19
19
|
type: 'assigned' | 'removed';
|
|
20
|
-
entityType?:
|
|
21
|
-
constructor(ctx: RequestContext, entity: T, channelIds: ID[], type: 'assigned' | 'removed', entityType?:
|
|
20
|
+
entityType?: any;
|
|
21
|
+
constructor(ctx: RequestContext, entity: T, channelIds: ID[], type: 'assigned' | 'removed', entityType?: any);
|
|
22
22
|
}
|
|
@@ -20,8 +20,8 @@ export declare class CustomerAddressEvent extends VendureEntityEvent<Address, Cu
|
|
|
20
20
|
ctx: RequestContext;
|
|
21
21
|
entity: Address;
|
|
22
22
|
type: 'created' | 'updated' | 'deleted';
|
|
23
|
-
input?:
|
|
24
|
-
constructor(ctx: RequestContext, entity: Address, type: 'created' | 'updated' | 'deleted', input?:
|
|
23
|
+
input?: any;
|
|
24
|
+
constructor(ctx: RequestContext, entity: Address, type: 'created' | 'updated' | 'deleted', input?: any);
|
|
25
25
|
/**
|
|
26
26
|
* Return an address field to become compatible with the
|
|
27
27
|
* deprecated old version of CustomerAddressEvent
|
|
@@ -26,7 +26,7 @@ import { JobData } from './types';
|
|
|
26
26
|
* @docsCategory JobQueue
|
|
27
27
|
*/
|
|
28
28
|
export declare class InMemoryJobQueueStrategy extends PollingJobQueueStrategy implements InspectableJobQueueStrategy {
|
|
29
|
-
protected jobs: Map<
|
|
29
|
+
protected jobs: Map<any, Job<any>>;
|
|
30
30
|
protected unsettledJobs: {
|
|
31
31
|
[queueName: string]: Array<{
|
|
32
32
|
job: Job;
|
|
@@ -204,6 +204,7 @@ export declare class ListQueryBuilder implements OnApplicationBootstrap {
|
|
|
204
204
|
*/
|
|
205
205
|
private optimizeGetManyMethod;
|
|
206
206
|
private parallelLoadRelations;
|
|
207
|
+
private assignDeep;
|
|
207
208
|
/**
|
|
208
209
|
* If a customPropertyMap is provided, we need to take the path provided and convert it to the actual
|
|
209
210
|
* relation aliases being used by the SelectQueryBuilder.
|
|
@@ -330,11 +330,32 @@ let ListQueryBuilder = class ListQueryBuilder {
|
|
|
330
330
|
for (const entry of entitiesIdsWithRelations) {
|
|
331
331
|
const finalEntity = entityMap.get(entry.entity.id);
|
|
332
332
|
if (finalEntity) {
|
|
333
|
-
|
|
333
|
+
this.assignDeep(entry.relation, entry.entity, finalEntity);
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
return Array.from(entityMap.values());
|
|
337
337
|
}
|
|
338
|
+
assignDeep(relation, source, target) {
|
|
339
|
+
if (typeof relation === 'string') {
|
|
340
|
+
const parts = relation.split('.');
|
|
341
|
+
let resolvedTarget = target;
|
|
342
|
+
let resolvedSource = source;
|
|
343
|
+
for (const part of parts.slice(0, parts.length - 1)) {
|
|
344
|
+
if (!resolvedTarget[part]) {
|
|
345
|
+
resolvedTarget[part] = {};
|
|
346
|
+
}
|
|
347
|
+
if (!resolvedSource[part]) {
|
|
348
|
+
return;
|
|
349
|
+
}
|
|
350
|
+
resolvedTarget = resolvedTarget[part];
|
|
351
|
+
resolvedSource = resolvedSource[part];
|
|
352
|
+
}
|
|
353
|
+
resolvedTarget[parts[parts.length - 1]] = resolvedSource[parts[parts.length - 1]];
|
|
354
|
+
}
|
|
355
|
+
else {
|
|
356
|
+
target[relation] = source[relation];
|
|
357
|
+
}
|
|
358
|
+
}
|
|
338
359
|
/**
|
|
339
360
|
* If a customPropertyMap is provided, we need to take the path provided and convert it to the actual
|
|
340
361
|
* relation aliases being used by the SelectQueryBuilder.
|