@vendure/core 1.9.5 → 1.9.7
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 +2 -1
- package/dist/entity/administrator/administrator.entity.js +1 -3
- package/dist/entity/administrator/administrator.entity.js.map +1 -1
- package/dist/entity/asset/asset.entity.js +2 -4
- package/dist/entity/asset/asset.entity.js.map +1 -1
- package/dist/entity/asset/orderable-asset.entity.js +1 -3
- package/dist/entity/asset/orderable-asset.entity.js.map +1 -1
- package/dist/entity/authentication-method/external-authentication-method.entity.js +1 -3
- package/dist/entity/authentication-method/external-authentication-method.entity.js.map +1 -1
- package/dist/entity/authentication-method/native-authentication-method.entity.js +1 -3
- package/dist/entity/authentication-method/native-authentication-method.entity.js.map +1 -1
- package/dist/entity/channel/channel.entity.js +3 -5
- package/dist/entity/channel/channel.entity.js.map +1 -1
- package/dist/entity/collection/collection-asset.entity.js +2 -4
- package/dist/entity/collection/collection-asset.entity.js.map +1 -1
- package/dist/entity/collection/collection-translation.entity.js +2 -4
- package/dist/entity/collection/collection-translation.entity.js.map +1 -1
- package/dist/entity/collection/collection.entity.js +1 -3
- package/dist/entity/collection/collection.entity.js.map +1 -1
- package/dist/entity/country/country-translation.entity.js +2 -4
- package/dist/entity/country/country-translation.entity.js.map +1 -1
- package/dist/entity/country/country.entity.js +1 -3
- package/dist/entity/country/country.entity.js.map +1 -1
- package/dist/entity/customer-group/customer-group.entity.js +1 -3
- package/dist/entity/customer-group/customer-group.entity.js.map +1 -1
- package/dist/entity/facet/facet-translation.entity.js +2 -4
- package/dist/entity/facet/facet-translation.entity.js.map +1 -1
- package/dist/entity/facet/facet.entity.js +1 -3
- package/dist/entity/facet/facet.entity.js.map +1 -1
- package/dist/entity/facet-value/facet-value-translation.entity.js +2 -4
- package/dist/entity/facet-value/facet-value-translation.entity.js.map +1 -1
- package/dist/entity/facet-value/facet-value.entity.js +1 -3
- package/dist/entity/facet-value/facet-value.entity.js.map +1 -1
- package/dist/entity/product/product-asset.entity.js +2 -4
- package/dist/entity/product/product-asset.entity.js.map +1 -1
- package/dist/entity/product/product-translation.entity.js +2 -4
- package/dist/entity/product/product-translation.entity.js.map +1 -1
- package/dist/entity/product/product.entity.js +1 -3
- package/dist/entity/product/product.entity.js.map +1 -1
- package/dist/entity/product-option/product-option-translation.entity.js +2 -4
- 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 +2 -4
- 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 +1 -3
- package/dist/entity/product-option-group/product-option-group.entity.js.map +1 -1
- package/dist/entity/product-variant/product-variant-asset.entity.js +2 -4
- package/dist/entity/product-variant/product-variant-asset.entity.js.map +1 -1
- package/dist/entity/product-variant/product-variant-translation.entity.js +2 -4
- package/dist/entity/product-variant/product-variant-translation.entity.js.map +1 -1
- package/dist/entity/role/role.entity.js +1 -3
- package/dist/entity/role/role.entity.js.map +1 -1
- package/dist/entity/stock-movement/stock-movement.entity.js +1 -2
- package/dist/entity/stock-movement/stock-movement.entity.js.map +1 -1
- package/dist/entity/tag/tag.entity.js +1 -3
- package/dist/entity/tag/tag.entity.js.map +1 -1
- package/dist/entity/tax-category/tax-category.entity.js +1 -3
- package/dist/entity/tax-category/tax-category.entity.js.map +1 -1
- package/dist/entity/tax-rate/tax-rate.entity.js +1 -3
- package/dist/entity/tax-rate/tax-rate.entity.js.map +1 -1
- package/dist/entity/user/user.entity.js +1 -3
- package/dist/entity/user/user.entity.js.map +1 -1
- package/dist/entity/zone/zone.entity.js +1 -3
- 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,11 +8,9 @@ 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;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.ProductTranslation = void 0;
|
|
14
13
|
const generated_types_1 = require("@vendure/common/lib/generated-types");
|
|
15
|
-
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
16
14
|
const typeorm_1 = require("typeorm");
|
|
17
15
|
const base_entity_1 = require("../base/base.entity");
|
|
18
16
|
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
@@ -24,7 +22,7 @@ let ProductTranslation = class ProductTranslation extends base_entity_1.VendureE
|
|
|
24
22
|
};
|
|
25
23
|
__decorate([
|
|
26
24
|
typeorm_1.Column('varchar'),
|
|
27
|
-
__metadata("design:type",
|
|
25
|
+
__metadata("design:type", String)
|
|
28
26
|
], ProductTranslation.prototype, "languageCode", void 0);
|
|
29
27
|
__decorate([
|
|
30
28
|
typeorm_1.Column(),
|
|
@@ -48,7 +46,7 @@ __decorate([
|
|
|
48
46
|
], ProductTranslation.prototype, "customFields", void 0);
|
|
49
47
|
ProductTranslation = __decorate([
|
|
50
48
|
typeorm_1.Entity(),
|
|
51
|
-
__metadata("design:paramtypes", [
|
|
49
|
+
__metadata("design:paramtypes", [Object])
|
|
52
50
|
], ProductTranslation);
|
|
53
51
|
exports.ProductTranslation = ProductTranslation;
|
|
54
52
|
//# 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;AAEnE,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;;wDAA4B;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;;GACI,kBAAkB,CAkB9B;AAlBY,gDAAkB"}
|
|
@@ -8,10 +8,8 @@ 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;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.Product = void 0;
|
|
14
|
-
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
15
13
|
const typeorm_1 = require("typeorm");
|
|
16
14
|
const asset_entity_1 = require("../asset/asset.entity");
|
|
17
15
|
const base_entity_1 = require("../base/base.entity");
|
|
@@ -78,7 +76,7 @@ __decorate([
|
|
|
78
76
|
], Product.prototype, "channels", void 0);
|
|
79
77
|
Product = __decorate([
|
|
80
78
|
typeorm_1.Entity(),
|
|
81
|
-
__metadata("design:paramtypes", [
|
|
79
|
+
__metadata("design:paramtypes", [Object])
|
|
82
80
|
], Product);
|
|
83
81
|
exports.Product = Product;
|
|
84
82
|
//# 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":";;;;;;;;;;;;AACA,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;;GACI,OAAO,CA4CnB;AA5CY,0BAAO"}
|
|
@@ -8,11 +8,9 @@ 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;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.ProductOptionTranslation = void 0;
|
|
14
13
|
const generated_types_1 = require("@vendure/common/lib/generated-types");
|
|
15
|
-
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
16
14
|
const typeorm_1 = require("typeorm");
|
|
17
15
|
const base_entity_1 = require("../base/base.entity");
|
|
18
16
|
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
@@ -24,7 +22,7 @@ let ProductOptionTranslation = class ProductOptionTranslation extends base_entit
|
|
|
24
22
|
};
|
|
25
23
|
__decorate([
|
|
26
24
|
typeorm_1.Column('varchar'),
|
|
27
|
-
__metadata("design:type",
|
|
25
|
+
__metadata("design:type", String)
|
|
28
26
|
], ProductOptionTranslation.prototype, "languageCode", void 0);
|
|
29
27
|
__decorate([
|
|
30
28
|
typeorm_1.Column(),
|
|
@@ -40,7 +38,7 @@ __decorate([
|
|
|
40
38
|
], ProductOptionTranslation.prototype, "customFields", void 0);
|
|
41
39
|
ProductOptionTranslation = __decorate([
|
|
42
40
|
typeorm_1.Entity(),
|
|
43
|
-
__metadata("design:paramtypes", [
|
|
41
|
+
__metadata("design:paramtypes", [Object])
|
|
44
42
|
], ProductOptionTranslation);
|
|
45
43
|
exports.ProductOptionTranslation = ProductOptionTranslation;
|
|
46
44
|
//# 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;AAEnE,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;;8DAA4B;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;;GACI,wBAAwB,CAkBpC;AAlBY,4DAAwB"}
|
|
@@ -8,11 +8,9 @@ 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;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.ProductOptionGroupTranslation = void 0;
|
|
14
13
|
const generated_types_1 = require("@vendure/common/lib/generated-types");
|
|
15
|
-
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
16
14
|
const typeorm_1 = require("typeorm");
|
|
17
15
|
const base_entity_1 = require("../base/base.entity");
|
|
18
16
|
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
@@ -24,7 +22,7 @@ let ProductOptionGroupTranslation = class ProductOptionGroupTranslation extends
|
|
|
24
22
|
};
|
|
25
23
|
__decorate([
|
|
26
24
|
typeorm_1.Column('varchar'),
|
|
27
|
-
__metadata("design:type",
|
|
25
|
+
__metadata("design:type", String)
|
|
28
26
|
], ProductOptionGroupTranslation.prototype, "languageCode", void 0);
|
|
29
27
|
__decorate([
|
|
30
28
|
typeorm_1.Column(),
|
|
@@ -40,7 +38,7 @@ __decorate([
|
|
|
40
38
|
], ProductOptionGroupTranslation.prototype, "customFields", void 0);
|
|
41
39
|
ProductOptionGroupTranslation = __decorate([
|
|
42
40
|
typeorm_1.Entity(),
|
|
43
|
-
__metadata("design:paramtypes", [
|
|
41
|
+
__metadata("design:paramtypes", [Object])
|
|
44
42
|
], ProductOptionGroupTranslation);
|
|
45
43
|
exports.ProductOptionGroupTranslation = ProductOptionGroupTranslation;
|
|
46
44
|
//# 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;AAEnE,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;;mEAA4B;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;;GACI,6BAA6B,CAkBzC;AAlBY,sEAA6B"}
|
|
@@ -8,10 +8,8 @@ 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;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.ProductOptionGroup = void 0;
|
|
14
|
-
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
15
13
|
const typeorm_1 = require("typeorm");
|
|
16
14
|
const base_entity_1 = require("../base/base.entity");
|
|
17
15
|
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
@@ -55,7 +53,7 @@ __decorate([
|
|
|
55
53
|
], ProductOptionGroup.prototype, "customFields", void 0);
|
|
56
54
|
ProductOptionGroup = __decorate([
|
|
57
55
|
typeorm_1.Entity(),
|
|
58
|
-
__metadata("design:paramtypes", [
|
|
56
|
+
__metadata("design:paramtypes", [Object])
|
|
59
57
|
], ProductOptionGroup);
|
|
60
58
|
exports.ProductOptionGroup = ProductOptionGroup;
|
|
61
59
|
//# 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":";;;;;;;;;;;;AACA,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;;GACI,kBAAkB,CAyB9B;AAzBY,gDAAkB"}
|
|
@@ -8,10 +8,8 @@ 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;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.ProductVariantAsset = void 0;
|
|
14
|
-
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
15
13
|
const typeorm_1 = require("typeorm");
|
|
16
14
|
const orderable_asset_entity_1 = require("../asset/orderable-asset.entity");
|
|
17
15
|
const product_variant_entity_1 = require("./product-variant.entity");
|
|
@@ -22,7 +20,7 @@ let ProductVariantAsset = class ProductVariantAsset extends orderable_asset_enti
|
|
|
22
20
|
};
|
|
23
21
|
__decorate([
|
|
24
22
|
typeorm_1.Column(),
|
|
25
|
-
__metadata("design:type",
|
|
23
|
+
__metadata("design:type", Object)
|
|
26
24
|
], ProductVariantAsset.prototype, "productVariantId", void 0);
|
|
27
25
|
__decorate([
|
|
28
26
|
typeorm_1.ManyToOne((type) => product_variant_entity_1.ProductVariant, (variant) => variant.assets, { onDelete: 'CASCADE' }),
|
|
@@ -30,7 +28,7 @@ __decorate([
|
|
|
30
28
|
], ProductVariantAsset.prototype, "productVariant", void 0);
|
|
31
29
|
ProductVariantAsset = __decorate([
|
|
32
30
|
typeorm_1.Entity(),
|
|
33
|
-
__metadata("design:paramtypes", [
|
|
31
|
+
__metadata("design:paramtypes", [Object])
|
|
34
32
|
], ProductVariantAsset);
|
|
35
33
|
exports.ProductVariantAsset = ProductVariantAsset;
|
|
36
34
|
//# 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":";;;;;;;;;;;;AACA,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;;6DACY;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;;GACI,mBAAmB,CAS/B;AATY,kDAAmB"}
|
|
@@ -8,11 +8,9 @@ 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;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.ProductVariantTranslation = void 0;
|
|
14
13
|
const generated_types_1 = require("@vendure/common/lib/generated-types");
|
|
15
|
-
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
16
14
|
const typeorm_1 = require("typeorm");
|
|
17
15
|
const base_entity_1 = require("../base/base.entity");
|
|
18
16
|
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
@@ -24,7 +22,7 @@ let ProductVariantTranslation = class ProductVariantTranslation extends base_ent
|
|
|
24
22
|
};
|
|
25
23
|
__decorate([
|
|
26
24
|
typeorm_1.Column('varchar'),
|
|
27
|
-
__metadata("design:type",
|
|
25
|
+
__metadata("design:type", String)
|
|
28
26
|
], ProductVariantTranslation.prototype, "languageCode", void 0);
|
|
29
27
|
__decorate([
|
|
30
28
|
typeorm_1.Column(),
|
|
@@ -40,7 +38,7 @@ __decorate([
|
|
|
40
38
|
], ProductVariantTranslation.prototype, "customFields", void 0);
|
|
41
39
|
ProductVariantTranslation = __decorate([
|
|
42
40
|
typeorm_1.Entity(),
|
|
43
|
-
__metadata("design:paramtypes", [
|
|
41
|
+
__metadata("design:paramtypes", [Object])
|
|
44
42
|
], ProductVariantTranslation);
|
|
45
43
|
exports.ProductVariantTranslation = ProductVariantTranslation;
|
|
46
44
|
//# 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;AAEnE,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;;+DAA4B;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;;GACI,yBAAyB,CAerC;AAfY,8DAAyB"}
|
|
@@ -8,10 +8,8 @@ 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;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.Role = void 0;
|
|
14
|
-
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
15
13
|
const typeorm_1 = require("typeorm");
|
|
16
14
|
const base_entity_1 = require("../base/base.entity");
|
|
17
15
|
const channel_entity_1 = require("../channel/channel.entity");
|
|
@@ -46,7 +44,7 @@ __decorate([
|
|
|
46
44
|
], Role.prototype, "channels", void 0);
|
|
47
45
|
Role = __decorate([
|
|
48
46
|
typeorm_1.Entity(),
|
|
49
|
-
__metadata("design:paramtypes", [
|
|
47
|
+
__metadata("design:paramtypes", [Object])
|
|
50
48
|
], Role);
|
|
51
49
|
exports.Role = Role;
|
|
52
50
|
//# 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":";;;;;;;;;;;;AAEA,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;;GACI,IAAI,CAchB;AAdY,oBAAI"}
|
|
@@ -8,7 +8,6 @@ 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;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.StockMovement = void 0;
|
|
14
13
|
const generated_types_1 = require("@vendure/common/lib/generated-types");
|
|
@@ -28,7 +27,7 @@ let StockMovement = class StockMovement extends base_entity_1.VendureEntity {
|
|
|
28
27
|
};
|
|
29
28
|
__decorate([
|
|
30
29
|
typeorm_1.Column({ nullable: false, type: 'varchar' }),
|
|
31
|
-
__metadata("design:type",
|
|
30
|
+
__metadata("design:type", String)
|
|
32
31
|
], StockMovement.prototype, "type", void 0);
|
|
33
32
|
__decorate([
|
|
34
33
|
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;;2CACZ;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,10 +8,8 @@ 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;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.Tag = void 0;
|
|
14
|
-
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
15
13
|
const typeorm_1 = require("typeorm");
|
|
16
14
|
const base_entity_1 = require("../base/base.entity");
|
|
17
15
|
/**
|
|
@@ -32,7 +30,7 @@ __decorate([
|
|
|
32
30
|
], Tag.prototype, "value", void 0);
|
|
33
31
|
Tag = __decorate([
|
|
34
32
|
typeorm_1.Entity(),
|
|
35
|
-
__metadata("design:paramtypes", [
|
|
33
|
+
__metadata("design:paramtypes", [Object])
|
|
36
34
|
], Tag);
|
|
37
35
|
exports.Tag = Tag;
|
|
38
36
|
//# 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":";;;;;;;;;;;;AACA,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;;GACI,GAAG,CAOf;AAPY,kBAAG"}
|
|
@@ -8,10 +8,8 @@ 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;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.TaxCategory = void 0;
|
|
14
|
-
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
15
13
|
const typeorm_1 = require("typeorm");
|
|
16
14
|
const base_entity_1 = require("../base/base.entity");
|
|
17
15
|
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
@@ -40,7 +38,7 @@ __decorate([
|
|
|
40
38
|
], TaxCategory.prototype, "customFields", void 0);
|
|
41
39
|
TaxCategory = __decorate([
|
|
42
40
|
typeorm_1.Entity(),
|
|
43
|
-
__metadata("design:paramtypes", [
|
|
41
|
+
__metadata("design:paramtypes", [Object])
|
|
44
42
|
], TaxCategory);
|
|
45
43
|
exports.TaxCategory = TaxCategory;
|
|
46
44
|
//# 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":";;;;;;;;;;;;AACA,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;;GACI,WAAW,CAWvB;AAXY,kCAAW"}
|
|
@@ -8,10 +8,8 @@ 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;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.TaxRate = void 0;
|
|
14
|
-
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
15
13
|
const typeorm_1 = require("typeorm");
|
|
16
14
|
const tax_utils_1 = require("../../common/tax-utils");
|
|
17
15
|
const utils_1 = require("../../common/utils");
|
|
@@ -99,7 +97,7 @@ __decorate([
|
|
|
99
97
|
], TaxRate.prototype, "customFields", void 0);
|
|
100
98
|
TaxRate = __decorate([
|
|
101
99
|
typeorm_1.Entity(),
|
|
102
|
-
__metadata("design:paramtypes", [
|
|
100
|
+
__metadata("design:paramtypes", [Object])
|
|
103
101
|
], TaxRate);
|
|
104
102
|
exports.TaxRate = TaxRate;
|
|
105
103
|
//# 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":";;;;;;;;;;;;AAEA,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;;GACI,OAAO,CA6DnB;AA7DY,0BAAO"}
|
|
@@ -8,10 +8,8 @@ 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;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.User = void 0;
|
|
14
|
-
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
15
13
|
const typeorm_1 = require("typeorm");
|
|
16
14
|
const errors_1 = require("../../common/error/errors");
|
|
17
15
|
const authentication_method_entity_1 = require("../authentication-method/authentication-method.entity");
|
|
@@ -72,7 +70,7 @@ __decorate([
|
|
|
72
70
|
], User.prototype, "customFields", void 0);
|
|
73
71
|
User = __decorate([
|
|
74
72
|
typeorm_1.Entity(),
|
|
75
|
-
__metadata("design:paramtypes", [
|
|
73
|
+
__metadata("design:paramtypes", [Object])
|
|
76
74
|
], User);
|
|
77
75
|
exports.User = User;
|
|
78
76
|
//# 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":";;;;;;;;;;;;AACA,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;;GACI,IAAI,CA6ChB;AA7CY,oBAAI"}
|
|
@@ -8,10 +8,8 @@ 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;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.Zone = void 0;
|
|
14
|
-
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
15
13
|
const typeorm_1 = require("typeorm");
|
|
16
14
|
const base_entity_1 = require("../base/base.entity");
|
|
17
15
|
const country_entity_1 = require("../country/country.entity");
|
|
@@ -43,7 +41,7 @@ __decorate([
|
|
|
43
41
|
], Zone.prototype, "customFields", void 0);
|
|
44
42
|
Zone = __decorate([
|
|
45
43
|
typeorm_1.Entity(),
|
|
46
|
-
__metadata("design:paramtypes", [
|
|
44
|
+
__metadata("design:paramtypes", [Object])
|
|
47
45
|
], Zone);
|
|
48
46
|
exports.Zone = Zone;
|
|
49
47
|
//# 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":";;;;;;;;;;;;AACA,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;;GACI,IAAI,CAahB;AAbY,oBAAI"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ID } from '@vendure/common/lib/shared-types';
|
|
1
|
+
import { ID, Type } 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?: Type<T> | undefined;
|
|
21
|
+
constructor(ctx: RequestContext, entity: T, channelIds: ID[], type: 'assigned' | 'removed', entityType?: Type<T> | undefined);
|
|
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?: CustomerAddressInputTypes | undefined;
|
|
24
|
+
constructor(ctx: RequestContext, entity: Address, type: 'created' | 'updated' | 'deleted', input?: CustomerAddressInputTypes | undefined);
|
|
25
25
|
/**
|
|
26
26
|
* Return an address field to become compatible with the
|
|
27
27
|
* deprecated old version of CustomerAddressEvent
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.service.js","sourceRoot":"","sources":["../../src/i18n/i18n.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA0D;AAE1D,uCAAyB;AAEzB,sDAA6C;AAC7C,4FAA2D;AAC3D,4EAAyC;AACzC,8DAA8B;AAC9B,gDAAwB;AAGxB,sCAAmC;AACnC,6DAAyD;AAEzD,6CAAyC;AAkBzC;;;;;;GAMG;AAEH,IAAa,WAAW,GAAxB,MAAa,WAAW;IACpB;;;OAGG;IACH,YAAoB,aAA4B;QAA5B,kBAAa,GAAb,aAAa,CAAe;IAAG,CAAC;IAEpD;;OAEG;IACH,YAAY;QACR,OAAO,iBAAO;aACT,GAAG,CAAC,oCAAiB,CAAC,gBAAgB,CAAC;aACvC,GAAG,CAAC,4BAAc,CAAC;aACnB,GAAG,CAAC,qBAAU,CAAC;aACf,IAAI,CAAC;YACF,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;YACjC,WAAW,EAAE,IAAI;YACjB,SAAS,EAAE;gBACP,iBAAiB,EAAE,cA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BACA,WAAW,GAAG,CAAC,CAAC,aAAa,CAAC,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;aACnE;YAAC,OAAO,CAAC,EAAE;gBACR,WAAW,IAAI,+BAA+B,CAAC,CAAC,OAAO,GAAG,CAAC;aAC9D;YACD,KAAK,CAAC,OAAO,GAAG,WAAW,CAAC;YAC5B,8EAA8E;YAC9E,wCAAwC;YACxC,OAAQ,aAAqB,CAAC,SAAS,CAAC;SAC3C;QAED,OAAO,KAAK,CAAC;IACjB,CAAC;IAED;;;OAGG;IACH,oBAAoB,CAAC,GAAgB,EAAE,KAAyB;QAC5D,MAAM,CAAC,GAAc,GAAG,CAAC,CAAC,CAAC;QAC3B,IAAI,WAAW,GAAW,KAAK,CAAC,OAAO,CAAC;QACxC,MAAM,GAAG,GAAG,eAAe,KAAK,CAAC,OAAO,EAAE,CAAC;QAC3C,IAAI;YACA,WAAW,GAAG,CAAC,CAAC,GAAG,EAAE,KAAY,CAAC,CAAC;SACtC;QAAC,OAAO,CAAC,EAAE;YACR,WAAW,IAAI,+BAA+B,CAAC,CAAC,OAAO,GAAG,CAAC;SAC9D;QACD,KAAK,CAAC,OAAO,GAAG,WAAW,CAAC;IAChC,CAAC;CACJ,CAAA;AAvGY,WAAW;IADvB,mBAAU,EAAE;qCAM0B,8BAAa;GALvC,WAAW,CAuGvB;AAvGY,kCAAW"}
|
|
@@ -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<ID, Job<any>>;
|
|
30
30
|
protected unsettledJobs: {
|
|
31
31
|
[queueName: string]: Array<{
|
|
32
32
|
job: Job;
|
|
@@ -16,7 +16,7 @@ export interface DefaultJobQueueOptions {
|
|
|
16
16
|
* are active, the polling may cause undue load on the database, in which case this value
|
|
17
17
|
* should be increased to e.g. 1000.
|
|
18
18
|
*
|
|
19
|
-
* @
|
|
19
|
+
* @default 200
|
|
20
20
|
*/
|
|
21
21
|
pollInterval?: number | ((queueName: string) => number);
|
|
22
22
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vendure/core",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.7",
|
|
4
4
|
"description": "A modern, headless ecommerce framework",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@nestjs/testing": "7.6.17",
|
|
50
50
|
"@nestjs/typeorm": "7.1.5",
|
|
51
51
|
"@types/fs-extra": "^9.0.1",
|
|
52
|
-
"@vendure/common": "^1.9.
|
|
52
|
+
"@vendure/common": "^1.9.7",
|
|
53
53
|
"apollo-server-express": "2.24.1",
|
|
54
54
|
"bcrypt": "^5.1.0",
|
|
55
55
|
"body-parser": "^1.19.0",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"sqlite3": "^5.0.0",
|
|
102
102
|
"typescript": "4.3.5"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "987ce391e09a702dd7016833549a3d275d0e5ca0"
|
|
105
105
|
}
|