@vendure/core 1.9.4 → 1.9.6
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/catalog/default-collection-filters.d.ts +18 -19
- 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/global-settings/global-settings.entity.js +3 -1
- package/dist/entity/global-settings/global-settings.entity.js.map +1 -1
- package/dist/entity/history-entry/customer-history-entry.entity.js +3 -1
- package/dist/entity/history-entry/customer-history-entry.entity.js.map +1 -1
- package/dist/entity/history-entry/order-history-entry.entity.js +3 -1
- package/dist/entity/history-entry/order-history-entry.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/allocation.entity.d.ts +1 -2
- package/dist/entity/stock-movement/allocation.entity.js +3 -1
- package/dist/entity/stock-movement/allocation.entity.js.map +1 -1
- package/dist/entity/stock-movement/cancellation.entity.d.ts +1 -2
- package/dist/entity/stock-movement/cancellation.entity.js +3 -1
- package/dist/entity/stock-movement/cancellation.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/i18n/i18n.service.js +1 -0
- package/dist/i18n/i18n.service.js.map +1 -1
- package/dist/job-queue/in-memory-job-queue-strategy.d.ts +1 -1
- package/dist/plugin/default-job-queue-plugin/default-job-queue-plugin.d.ts +1 -1
- package/package.json +3 -3
|
@@ -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.FacetValueTranslation = 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 FacetValueTranslation = class FacetValueTranslation extends base_entity_1.Ve
|
|
|
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
|
], FacetValueTranslation.prototype, "languageCode", void 0);
|
|
27
29
|
__decorate([
|
|
28
30
|
typeorm_1.Column(),
|
|
@@ -38,7 +40,7 @@ __decorate([
|
|
|
38
40
|
], FacetValueTranslation.prototype, "customFields", void 0);
|
|
39
41
|
FacetValueTranslation = __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
|
], FacetValueTranslation);
|
|
43
45
|
exports.FacetValueTranslation = FacetValueTranslation;
|
|
44
46
|
//# sourceMappingURL=facet-value-translation.entity.js.map
|
|
@@ -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;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.GlobalSettings = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const __1 = require("..");
|
|
15
17
|
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
@@ -36,7 +38,7 @@ __decorate([
|
|
|
36
38
|
], GlobalSettings.prototype, "customFields", void 0);
|
|
37
39
|
GlobalSettings = __decorate([
|
|
38
40
|
typeorm_1.Entity(),
|
|
39
|
-
__metadata("design:paramtypes", [Object])
|
|
41
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
40
42
|
], GlobalSettings);
|
|
41
43
|
exports.GlobalSettings = GlobalSettings;
|
|
42
44
|
//# sourceMappingURL=global-settings.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-settings.entity.js","sourceRoot":"","sources":["../../../src/entity/global-settings/global-settings.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"global-settings.entity.js","sourceRoot":"","sources":["../../../src/entity/global-settings/global-settings.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AACA,mEAA+D;AAC/D,qCAAyC;AAEzC,0BAAmC;AAEnC,kEAAqE;AAGrE,IAAa,cAAc,GAA3B,MAAa,cAAe,SAAQ,iBAAa;IAC7C,YAAY,KAAmC;QAC3C,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAwBJ,CAAA;AArBG;IADC,gBAAM,CAAC,cAAc,CAAC;;0DACY;AASnC;IADC,gBAAM,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;sDACF;AAQxB;IADC,gBAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;2DACK;AAG5B;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,iDAA0B,CAAC;8BAC7B,iDAA0B;oDAAC;AA1BhC,cAAc;IAD1B,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,cAAc,CA2B1B;AA3BY,wCAAc"}
|
|
@@ -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.CustomerHistoryEntry = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const customer_entity_1 = require("../customer/customer.entity");
|
|
15
17
|
const history_entry_entity_1 = require("./history-entry.entity");
|
|
@@ -30,7 +32,7 @@ __decorate([
|
|
|
30
32
|
], CustomerHistoryEntry.prototype, "customer", void 0);
|
|
31
33
|
CustomerHistoryEntry = __decorate([
|
|
32
34
|
typeorm_1.ChildEntity(),
|
|
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
|
], CustomerHistoryEntry);
|
|
35
37
|
exports.CustomerHistoryEntry = CustomerHistoryEntry;
|
|
36
38
|
//# sourceMappingURL=customer-history-entry.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer-history-entry.entity.js","sourceRoot":"","sources":["../../../src/entity/history-entry/customer-history-entry.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"customer-history-entry.entity.js","sourceRoot":"","sources":["../../../src/entity/history-entry/customer-history-entry.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAAiD;AAEjD,iEAAuD;AAEvD,iEAAsD;AAEtD;;;;;GAKG;AAEH,IAAa,oBAAoB,GAAjC,MAAa,oBAAqB,SAAQ,mCAAY;IAClD,YAAY,KAAwC;QAChD,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAIJ,CAAA;AADG;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,0BAAQ,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC3C,0BAAQ;sDAAC;AANV,oBAAoB;IADhC,qBAAW,EAAE;yDAES,0BAAW,oBAAX,0BAAW;GADrB,oBAAoB,CAOhC;AAPY,oDAAoB"}
|
|
@@ -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.OrderHistoryEntry = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const order_entity_1 = require("../order/order.entity");
|
|
15
17
|
const history_entry_entity_1 = require("./history-entry.entity");
|
|
@@ -30,7 +32,7 @@ __decorate([
|
|
|
30
32
|
], OrderHistoryEntry.prototype, "order", void 0);
|
|
31
33
|
OrderHistoryEntry = __decorate([
|
|
32
34
|
typeorm_1.ChildEntity(),
|
|
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
|
], OrderHistoryEntry);
|
|
35
37
|
exports.OrderHistoryEntry = OrderHistoryEntry;
|
|
36
38
|
//# sourceMappingURL=order-history-entry.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order-history-entry.entity.js","sourceRoot":"","sources":["../../../src/entity/history-entry/order-history-entry.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"order-history-entry.entity.js","sourceRoot":"","sources":["../../../src/entity/history-entry/order-history-entry.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAAiD;AAEjD,wDAA8C;AAE9C,iEAAsD;AAEtD;;;;;GAKG;AAEH,IAAa,iBAAiB,GAA9B,MAAa,iBAAkB,SAAQ,mCAAY;IAC/C,YAAY,KAAqC;QAC7C,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAIJ,CAAA;AADG;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,oBAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC3C,oBAAK;gDAAC;AANJ,iBAAiB;IAD7B,qBAAW,EAAE;yDAES,0BAAW,oBAAX,0BAAW;GADrB,iBAAiB,CAO7B;AAPY,8CAAiB"}
|
|
@@ -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"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { StockMovementType } from '@vendure/common/lib/generated-types';
|
|
2
1
|
import { DeepPartial } from '@vendure/common/lib/shared-types';
|
|
3
2
|
import { OrderLine } from '../order-line/order-line.entity';
|
|
4
3
|
import { StockMovement } from './stock-movement.entity';
|
|
@@ -11,7 +10,7 @@ import { StockMovement } from './stock-movement.entity';
|
|
|
11
10
|
* @docsPage StockMovement
|
|
12
11
|
*/
|
|
13
12
|
export declare class Allocation extends StockMovement {
|
|
14
|
-
readonly type
|
|
13
|
+
readonly type: any;
|
|
15
14
|
constructor(input: DeepPartial<Allocation>);
|
|
16
15
|
orderLine: OrderLine;
|
|
17
16
|
}
|
|
@@ -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;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.Allocation = 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 order_line_entity_1 = require("../order-line/order-line.entity");
|
|
16
18
|
const stock_movement_entity_1 = require("./stock-movement.entity");
|
|
@@ -34,7 +36,7 @@ __decorate([
|
|
|
34
36
|
], Allocation.prototype, "orderLine", void 0);
|
|
35
37
|
Allocation = __decorate([
|
|
36
38
|
typeorm_1.ChildEntity(),
|
|
37
|
-
__metadata("design:paramtypes", [Object])
|
|
39
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
38
40
|
], Allocation);
|
|
39
41
|
exports.Allocation = Allocation;
|
|
40
42
|
//# sourceMappingURL=allocation.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allocation.entity.js","sourceRoot":"","sources":["../../../src/entity/stock-movement/allocation.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"allocation.entity.js","sourceRoot":"","sources":["../../../src/entity/stock-movement/allocation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAwE;AACxE,mEAA+D;AAC/D,qCAAiD;AAEjD,uEAA4D;AAE5D,mEAAwD;AAExD;;;;;;;GAOG;AAEH,IAAa,UAAU,GAAvB,MAAa,UAAW,SAAQ,qCAAa;IAGzC,YAAY,KAA8B;QACtC,KAAK,CAAC,KAAK,CAAC,CAAC;QAHR,SAAI,GAAG,mCAAiB,CAAC,UAAU,CAAC;IAI7C,CAAC;CAIJ,CAAA;AADG;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,6BAAS,CAAC;8BAClB,6BAAS;6CAAC;AARZ,UAAU;IADtB,qBAAW,EAAE;yDAIS,0BAAW,oBAAX,0BAAW;GAHrB,UAAU,CAStB;AATY,gCAAU"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { StockMovementType } from '@vendure/common/lib/generated-types';
|
|
2
1
|
import { DeepPartial } from '@vendure/common/lib/shared-types';
|
|
3
2
|
import { OrderItem } from '../order-item/order-item.entity';
|
|
4
3
|
import { StockMovement } from './stock-movement.entity';
|
|
@@ -10,7 +9,7 @@ import { StockMovement } from './stock-movement.entity';
|
|
|
10
9
|
* @docsPage StockMovement
|
|
11
10
|
*/
|
|
12
11
|
export declare class Cancellation extends StockMovement {
|
|
13
|
-
readonly type
|
|
12
|
+
readonly type: any;
|
|
14
13
|
constructor(input: DeepPartial<Cancellation>);
|
|
15
14
|
orderItem: OrderItem;
|
|
16
15
|
}
|
|
@@ -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;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.Cancellation = 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 order_item_entity_1 = require("../order-item/order-item.entity");
|
|
16
18
|
const stock_movement_entity_1 = require("./stock-movement.entity");
|
|
@@ -33,7 +35,7 @@ __decorate([
|
|
|
33
35
|
], Cancellation.prototype, "orderItem", void 0);
|
|
34
36
|
Cancellation = __decorate([
|
|
35
37
|
typeorm_1.ChildEntity(),
|
|
36
|
-
__metadata("design:paramtypes", [Object])
|
|
38
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
37
39
|
], Cancellation);
|
|
38
40
|
exports.Cancellation = Cancellation;
|
|
39
41
|
//# sourceMappingURL=cancellation.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancellation.entity.js","sourceRoot":"","sources":["../../../src/entity/stock-movement/cancellation.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cancellation.entity.js","sourceRoot":"","sources":["../../../src/entity/stock-movement/cancellation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAwE;AACxE,mEAA+D;AAC/D,qCAAiD;AAEjD,uEAA4D;AAE5D,mEAAwD;AAExD;;;;;;GAMG;AAEH,IAAa,YAAY,GAAzB,MAAa,YAAa,SAAQ,qCAAa;IAG3C,YAAY,KAAgC;QACxC,KAAK,CAAC,KAAK,CAAC,CAAC;QAHR,SAAI,GAAG,mCAAiB,CAAC,YAAY,CAAC;IAI/C,CAAC;CAIJ,CAAA;AADG;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,6BAAS,EAAE,SAAS,CAAC,EAAE,CAAC,SAAS,CAAC,YAAY,CAAC;8BACvD,6BAAS;+CAAC;AARZ,YAAY;IADxB,qBAAW,EAAE;yDAIS,0BAAW,oBAAX,0BAAW;GAHrB,YAAY,CASxB;AATY,oCAAY"}
|
|
@@ -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"}
|