@vendure/core 1.9.4 → 1.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/constants.d.ts +1 -2
- package/dist/entity/administrator/administrator.entity.js +3 -1
- package/dist/entity/administrator/administrator.entity.js.map +1 -1
- package/dist/entity/asset/asset.entity.js +4 -2
- package/dist/entity/asset/asset.entity.js.map +1 -1
- package/dist/entity/asset/orderable-asset.entity.js +3 -1
- package/dist/entity/asset/orderable-asset.entity.js.map +1 -1
- package/dist/entity/authentication-method/external-authentication-method.entity.js +3 -1
- package/dist/entity/authentication-method/external-authentication-method.entity.js.map +1 -1
- package/dist/entity/authentication-method/native-authentication-method.entity.js +3 -1
- package/dist/entity/authentication-method/native-authentication-method.entity.js.map +1 -1
- package/dist/entity/channel/channel.entity.js +5 -3
- package/dist/entity/channel/channel.entity.js.map +1 -1
- package/dist/entity/collection/collection-asset.entity.js +4 -2
- package/dist/entity/collection/collection-asset.entity.js.map +1 -1
- package/dist/entity/collection/collection-translation.entity.js +4 -2
- package/dist/entity/collection/collection-translation.entity.js.map +1 -1
- package/dist/entity/collection/collection.entity.js +3 -1
- package/dist/entity/collection/collection.entity.js.map +1 -1
- package/dist/entity/country/country-translation.entity.js +4 -2
- package/dist/entity/country/country-translation.entity.js.map +1 -1
- package/dist/entity/country/country.entity.js +3 -1
- package/dist/entity/country/country.entity.js.map +1 -1
- package/dist/entity/customer-group/customer-group.entity.js +3 -1
- package/dist/entity/customer-group/customer-group.entity.js.map +1 -1
- package/dist/entity/facet/facet-translation.entity.js +4 -2
- package/dist/entity/facet/facet-translation.entity.js.map +1 -1
- package/dist/entity/facet/facet.entity.js +3 -1
- package/dist/entity/facet/facet.entity.js.map +1 -1
- package/dist/entity/facet-value/facet-value-translation.entity.js +4 -2
- package/dist/entity/facet-value/facet-value-translation.entity.js.map +1 -1
- package/dist/entity/facet-value/facet-value.entity.js +3 -1
- package/dist/entity/facet-value/facet-value.entity.js.map +1 -1
- package/dist/entity/product/product-asset.entity.js +4 -2
- package/dist/entity/product/product-asset.entity.js.map +1 -1
- package/dist/entity/product/product-translation.entity.js +4 -2
- package/dist/entity/product/product-translation.entity.js.map +1 -1
- package/dist/entity/product/product.entity.js +3 -1
- package/dist/entity/product/product.entity.js.map +1 -1
- package/dist/entity/product-option/product-option-translation.entity.js +4 -2
- package/dist/entity/product-option/product-option-translation.entity.js.map +1 -1
- package/dist/entity/product-option-group/product-option-group-translation.entity.js +4 -2
- package/dist/entity/product-option-group/product-option-group-translation.entity.js.map +1 -1
- package/dist/entity/product-option-group/product-option-group.entity.js +3 -1
- package/dist/entity/product-option-group/product-option-group.entity.js.map +1 -1
- package/dist/entity/product-variant/product-variant-asset.entity.js +4 -2
- package/dist/entity/product-variant/product-variant-asset.entity.js.map +1 -1
- package/dist/entity/product-variant/product-variant-translation.entity.js +4 -2
- package/dist/entity/product-variant/product-variant-translation.entity.js.map +1 -1
- package/dist/entity/role/role.entity.js +3 -1
- package/dist/entity/role/role.entity.js.map +1 -1
- package/dist/entity/stock-movement/stock-movement.entity.js +2 -1
- package/dist/entity/stock-movement/stock-movement.entity.js.map +1 -1
- package/dist/entity/tag/tag.entity.js +3 -1
- package/dist/entity/tag/tag.entity.js.map +1 -1
- package/dist/entity/tax-category/tax-category.entity.js +3 -1
- package/dist/entity/tax-category/tax-category.entity.js.map +1 -1
- package/dist/entity/tax-rate/tax-rate.entity.js +3 -1
- package/dist/entity/tax-rate/tax-rate.entity.js.map +1 -1
- package/dist/entity/user/user.entity.js +3 -1
- package/dist/entity/user/user.entity.js.map +1 -1
- package/dist/entity/zone/zone.entity.js +3 -1
- package/dist/entity/zone/zone.entity.js.map +1 -1
- package/dist/event-bus/events/change-channel-event.d.ts +3 -3
- package/dist/event-bus/events/customer-address-event.d.ts +2 -2
- package/dist/job-queue/in-memory-job-queue-strategy.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { LanguageCode } from '@vendure/common/lib/generated-types';
|
|
2
1
|
import { PermissionDefinition, PermissionMetadata } from './permission-definition';
|
|
3
2
|
/**
|
|
4
3
|
* This value should be rarely used - only in those contexts where we have no access to the
|
|
5
4
|
* VendureConfig to ensure at least a valid LanguageCode is available.
|
|
6
5
|
*/
|
|
7
|
-
export declare const DEFAULT_LANGUAGE_CODE
|
|
6
|
+
export declare const DEFAULT_LANGUAGE_CODE: any;
|
|
8
7
|
export declare const TRANSACTION_MANAGER_KEY: unique symbol;
|
|
9
8
|
export declare const REQUEST_CONTEXT_KEY = "vendureRequestContext";
|
|
10
9
|
export declare const REQUEST_CONTEXT_MAP_KEY = "vendureRequestContextMap";
|
|
@@ -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.Administrator = 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");
|
|
@@ -52,7 +54,7 @@ __decorate([
|
|
|
52
54
|
], Administrator.prototype, "customFields", void 0);
|
|
53
55
|
Administrator = __decorate([
|
|
54
56
|
typeorm_1.Entity(),
|
|
55
|
-
__metadata("design:paramtypes", [Object])
|
|
57
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
56
58
|
], Administrator);
|
|
57
59
|
exports.Administrator = Administrator;
|
|
58
60
|
//# sourceMappingURL=administrator.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"administrator.entity.js","sourceRoot":"","sources":["../../../src/entity/administrator/administrator.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"administrator.entity.js","sourceRoot":"","sources":["../../../src/entity/administrator/administrator.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAA+D;AAI/D,qDAAoD;AACpD,kEAAoE;AACpE,qDAA2C;AAE3C;;;;;GAKG;AAEH,IAAa,aAAa,GAA1B,MAAa,aAAc,SAAQ,2BAAa;IAC5C,YAAY,KAAkC;QAC1C,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAkBJ,CAAA;AAfG;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDAChB;AAEb;IAAT,gBAAM,EAAE;;gDAAmB;AAElB;IAAT,gBAAM,EAAE;;+CAAkB;AAG3B;IADC,gBAAM,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;mDACJ;AAIrB;IAFC,kBAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,kBAAI,CAAC;IACtB,oBAAU,EAAE;8BACP,kBAAI;2CAAC;AAGX;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,gDAAyB,CAAC;8BAC5B,gDAAyB;mDAAC;AApB/B,aAAa;IADzB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,aAAa,CAqBzB;AArBY,sCAAa"}
|
|
@@ -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.Asset = 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 channel_entity_1 = require("../channel/channel.entity");
|
|
@@ -34,7 +36,7 @@ __decorate([
|
|
|
34
36
|
], Asset.prototype, "name", void 0);
|
|
35
37
|
__decorate([
|
|
36
38
|
typeorm_1.Column('varchar'),
|
|
37
|
-
__metadata("design:type",
|
|
39
|
+
__metadata("design:type", typeof (_a = typeof generated_types_1.AssetType !== "undefined" && generated_types_1.AssetType) === "function" ? _a : Object)
|
|
38
40
|
], Asset.prototype, "type", void 0);
|
|
39
41
|
__decorate([
|
|
40
42
|
typeorm_1.Column(),
|
|
@@ -80,7 +82,7 @@ __decorate([
|
|
|
80
82
|
], Asset.prototype, "customFields", void 0);
|
|
81
83
|
Asset = __decorate([
|
|
82
84
|
typeorm_1.Entity(),
|
|
83
|
-
__metadata("design:paramtypes", [Object])
|
|
85
|
+
__metadata("design:paramtypes", [typeof (_b = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _b : Object])
|
|
84
86
|
], Asset);
|
|
85
87
|
exports.Asset = Asset;
|
|
86
88
|
//# sourceMappingURL=asset.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset.entity.js","sourceRoot":"","sources":["../../../src/entity/asset/asset.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"asset.entity.js","sourceRoot":"","sources":["../../../src/entity/asset/asset.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAgE;AAChE,mEAA+D;AAC/D,qCAAgE;AAIhE,qDAAoD;AACpD,8DAAoD;AACpD,kEAA4D;AAC5D,kDAAwC;AAExC;;;;;;GAMG;AAEH,IAAa,KAAK,GAAlB,MAAa,KAAM,SAAQ,2BAAa;IACpC,YAAY,KAA0B;QAClC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CA+BJ,CAAA;AA7Ba;IAAT,gBAAM,EAAE;;mCAAc;AAEJ;IAAlB,gBAAM,CAAC,SAAS,CAAC;kDAAO,2BAAS,oBAAT,2BAAS;mCAAC;AAEzB;IAAT,gBAAM,EAAE;;uCAAkB;AAEH;IAAvB,gBAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;oCAAe;AAEd;IAAvB,gBAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;qCAAgB;AAE7B;IAAT,gBAAM,EAAE;;uCAAkB;AAEjB;IAAT,gBAAM,EAAE;;qCAAgB;AAEf;IAAT,gBAAM,EAAE;;sCAAiB;AAG1B;IADC,gBAAM,CAAC,aAAa,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACJ;AAItC;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAG,CAAC;IACvB,mBAAS,EAAE;;mCACA;AAIZ;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,CAAC;IAC3B,mBAAS,EAAE;;uCACQ;AAGpB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,wCAAiB,CAAC;8BACpB,wCAAiB;2CAAC;AAjCvB,KAAK;IADjB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,KAAK,CAkCjB;AAlCY,sBAAK"}
|
|
@@ -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.OrderableAsset = 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");
|
|
@@ -30,7 +32,7 @@ class OrderableAsset extends base_entity_1.VendureEntity {
|
|
|
30
32
|
}
|
|
31
33
|
__decorate([
|
|
32
34
|
typeorm_1.Column(),
|
|
33
|
-
__metadata("design:type", Object)
|
|
35
|
+
__metadata("design:type", typeof (_a = typeof shared_types_1.ID !== "undefined" && shared_types_1.ID) === "function" ? _a : Object)
|
|
34
36
|
], OrderableAsset.prototype, "assetId", void 0);
|
|
35
37
|
__decorate([
|
|
36
38
|
typeorm_1.ManyToOne(type => asset_entity_1.Asset, { eager: true, onDelete: 'CASCADE' }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orderable-asset.entity.js","sourceRoot":"","sources":["../../../src/entity/asset/orderable-asset.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"orderable-asset.entity.js","sourceRoot":"","sources":["../../../src/entity/asset/orderable-asset.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAAmE;AACnE,qCAA4C;AAG5C,wDAA8C;AAC9C,qDAAoD;AAEpD;;;;;;;;;GASG;AACH,MAAsB,cAAe,SAAQ,2BAAa;IACtD,YAAsB,KAAmC;QACrD,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAUJ;AAPG;IADC,gBAAM,EAAE;kDACA,iBAAE,oBAAF,iBAAE;+CAAC;AAGZ;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,oBAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACxD,oBAAK;6CAAC;AAGb;IADC,gBAAM,EAAE;;gDACQ;AAZrB,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.ExternalAuthenticationMethod = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const authentication_method_entity_1 = require("./authentication-method.entity");
|
|
15
17
|
/**
|
|
@@ -39,7 +41,7 @@ __decorate([
|
|
|
39
41
|
], ExternalAuthenticationMethod.prototype, "metadata", void 0);
|
|
40
42
|
ExternalAuthenticationMethod = __decorate([
|
|
41
43
|
typeorm_1.ChildEntity(),
|
|
42
|
-
__metadata("design:paramtypes", [Object])
|
|
44
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
43
45
|
], ExternalAuthenticationMethod);
|
|
44
46
|
exports.ExternalAuthenticationMethod = ExternalAuthenticationMethod;
|
|
45
47
|
//# sourceMappingURL=external-authentication-method.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-authentication-method.entity.js","sourceRoot":"","sources":["../../../src/entity/authentication-method/external-authentication-method.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"external-authentication-method.entity.js","sourceRoot":"","sources":["../../../src/entity/authentication-method/external-authentication-method.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAA8C;AAE9C,iFAAsE;AAEtE;;;;;;;GAOG;AAEH,IAAa,4BAA4B,GAAzC,MAAa,4BAA6B,SAAQ,mDAAoB;IAClE,YAAY,KAAgD;QACxD,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAUJ,CAAA;AAPG;IADC,gBAAM,EAAE;;8DACQ;AAGjB;IADC,gBAAM,EAAE;;wEACkB;AAG3B;IADC,gBAAM,CAAC,aAAa,CAAC;;8DACR;AAZL,4BAA4B;IADxC,qBAAW,EAAE;yDAES,0BAAW,oBAAX,0BAAW;GADrB,4BAA4B,CAaxC;AAbY,oEAA4B"}
|
|
@@ -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.NativeAuthenticationMethod = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const authentication_method_entity_1 = require("./authentication-method.entity");
|
|
15
17
|
/**
|
|
@@ -51,7 +53,7 @@ __decorate([
|
|
|
51
53
|
], NativeAuthenticationMethod.prototype, "pendingIdentifier", void 0);
|
|
52
54
|
NativeAuthenticationMethod = __decorate([
|
|
53
55
|
typeorm_1.ChildEntity(),
|
|
54
|
-
__metadata("design:paramtypes", [Object])
|
|
56
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
55
57
|
], NativeAuthenticationMethod);
|
|
56
58
|
exports.NativeAuthenticationMethod = NativeAuthenticationMethod;
|
|
57
59
|
//# sourceMappingURL=native-authentication-method.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"native-authentication-method.entity.js","sourceRoot":"","sources":["../../../src/entity/authentication-method/native-authentication-method.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"native-authentication-method.entity.js","sourceRoot":"","sources":["../../../src/entity/authentication-method/native-authentication-method.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAA8C;AAE9C,iFAAsE;AAEtE;;;;;;;GAOG;AAEH,IAAa,0BAA0B,GAAvC,MAAa,0BAA2B,SAAQ,mDAAoB;IAChE,YAAY,KAA+C;QACvD,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CA6BJ,CAAA;AA1BG;IADC,gBAAM,EAAE;;8DACU;AAEQ;IAA1B,gBAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;;gEAAsB;AAGhD;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qEACX;AAGjC;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sEACV;AAQlC;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yEACP;AASrC;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qEACX;AA/BxB,0BAA0B;IADtC,qBAAW,EAAE;yDAEU,0BAAW,oBAAX,0BAAW;GADtB,0BAA0B,CAgCtC;AAhCY,gEAA0B"}
|
|
@@ -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, _c;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.Channel = 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");
|
|
@@ -44,7 +46,7 @@ __decorate([
|
|
|
44
46
|
], Channel.prototype, "token", void 0);
|
|
45
47
|
__decorate([
|
|
46
48
|
typeorm_1.Column('varchar'),
|
|
47
|
-
__metadata("design:type",
|
|
49
|
+
__metadata("design:type", typeof (_a = typeof generated_types_1.LanguageCode !== "undefined" && generated_types_1.LanguageCode) === "function" ? _a : Object)
|
|
48
50
|
], Channel.prototype, "defaultLanguageCode", void 0);
|
|
49
51
|
__decorate([
|
|
50
52
|
typeorm_1.ManyToOne(type => zone_entity_1.Zone),
|
|
@@ -56,7 +58,7 @@ __decorate([
|
|
|
56
58
|
], Channel.prototype, "defaultShippingZone", void 0);
|
|
57
59
|
__decorate([
|
|
58
60
|
typeorm_1.Column('varchar'),
|
|
59
|
-
__metadata("design:type",
|
|
61
|
+
__metadata("design:type", typeof (_b = typeof generated_types_1.CurrencyCode !== "undefined" && generated_types_1.CurrencyCode) === "function" ? _b : Object)
|
|
60
62
|
], Channel.prototype, "currencyCode", void 0);
|
|
61
63
|
__decorate([
|
|
62
64
|
typeorm_1.Column(type => custom_entity_fields_1.CustomChannelFields),
|
|
@@ -68,7 +70,7 @@ __decorate([
|
|
|
68
70
|
], Channel.prototype, "pricesIncludeTax", void 0);
|
|
69
71
|
Channel = __decorate([
|
|
70
72
|
typeorm_1.Entity(),
|
|
71
|
-
__metadata("design:paramtypes", [Object])
|
|
73
|
+
__metadata("design:paramtypes", [typeof (_c = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _c : Object])
|
|
72
74
|
], Channel);
|
|
73
75
|
exports.Channel = Channel;
|
|
74
76
|
//# sourceMappingURL=channel.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channel.entity.js","sourceRoot":"","sources":["../../../src/entity/channel/channel.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"channel.entity.js","sourceRoot":"","sources":["../../../src/entity/channel/channel.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAiF;AACjF,mEAA+D;AAC/D,qCAAoD;AAEpD,qDAAoD;AACpD,kEAA8D;AAC9D,qDAA2C;AAE3C;;;;;;GAMG;AAEH,IAAa,OAAO,GAApB,MAAa,OAAQ,SAAQ,2BAAa;IACtC,YAAY,KAA4B;QACpC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE;YACxB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;SACrC;IACL,CAAC;IAwBO,aAAa;QACjB,MAAM,YAAY,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACpE,OAAO,GAAG,YAAY,EAAE,GAAG,YAAY,EAAE,EAAE,CAAC;IAChD,CAAC;CACJ,CAAA;AAzBG;IADC,gBAAM,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;qCACZ;AAGb;IADC,gBAAM,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;sCACX;AAEK;IAAlB,gBAAM,CAAC,SAAS,CAAC;kDAAsB,8BAAY,oBAAZ,8BAAY;oDAAC;AAGrD;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,kBAAI,CAAC;8BACR,kBAAI;+CAAC;AAGrB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,kBAAI,CAAC;8BACH,kBAAI;oDAAC;AAG1B;IADC,gBAAM,CAAC,SAAS,CAAC;kDACJ,8BAAY,oBAAZ,8BAAY;6CAAC;AAG3B;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,0CAAmB,CAAC;8BACtB,0CAAmB;6CAAC;AAExB;IAAT,gBAAM,EAAE;;iDAA2B;AA5B3B,OAAO;IADnB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,OAAO,CAkCnB;AAlCY,0BAAO"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a, _b;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.CollectionAsset = 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 collection_entity_1 = require("./collection.entity");
|
|
@@ -20,7 +22,7 @@ let CollectionAsset = class CollectionAsset extends orderable_asset_entity_1.Ord
|
|
|
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
|
], CollectionAsset.prototype, "collectionId", void 0);
|
|
25
27
|
__decorate([
|
|
26
28
|
typeorm_1.ManyToOne((type) => collection_entity_1.Collection, (collection) => collection.assets, { onDelete: 'CASCADE' }),
|
|
@@ -28,7 +30,7 @@ __decorate([
|
|
|
28
30
|
], CollectionAsset.prototype, "collection", void 0);
|
|
29
31
|
CollectionAsset = __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
|
], CollectionAsset);
|
|
33
35
|
exports.CollectionAsset = CollectionAsset;
|
|
34
36
|
//# sourceMappingURL=collection-asset.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection-asset.entity.js","sourceRoot":"","sources":["../../../src/entity/collection/collection-asset.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"collection-asset.entity.js","sourceRoot":"","sources":["../../../src/entity/collection/collection-asset.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAAmE;AACnE,qCAAoD;AAEpD,4EAAiE;AAEjE,2DAAiD;AAGjD,IAAa,eAAe,GAA5B,MAAa,eAAgB,SAAQ,uCAAc;IAC/C,YAAY,KAAoC;QAC5C,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAMJ,CAAA;AAJG;IADC,gBAAM,EAAE;kDACK,iBAAE,oBAAF,iBAAE;qDAAC;AAGjB;IADC,mBAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,8BAAU,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAChF,8BAAU;mDAAC;AARd,eAAe;IAD3B,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,eAAe,CAS3B;AATY,0CAAe"}
|
|
@@ -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.CollectionTranslation = 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 CollectionTranslation = class CollectionTranslation 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
|
], CollectionTranslation.prototype, "languageCode", void 0);
|
|
27
29
|
__decorate([
|
|
28
30
|
typeorm_1.Column(),
|
|
@@ -46,7 +48,7 @@ __decorate([
|
|
|
46
48
|
], CollectionTranslation.prototype, "customFields", void 0);
|
|
47
49
|
CollectionTranslation = __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
|
], CollectionTranslation);
|
|
51
53
|
exports.CollectionTranslation = CollectionTranslation;
|
|
52
54
|
//# sourceMappingURL=collection-translation.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/collection/collection-translation.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"collection-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/collection/collection-translation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAmE;AACnE,mEAA+D;AAC/D,qCAAoD;AAIpD,qDAAoD;AACpD,kEAA4E;AAE5E,2DAAiD;AAGjD,IAAa,qBAAqB,GAAlC,MAAa,qBAAsB,SAAQ,2BAAa;IACpD,YAAY,KAA4C;QACpD,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAmBJ,CAAA;AAjBsB;IAAlB,gBAAM,CAAC,SAAS,CAAC;kDAAe,8BAAY,oBAAZ,8BAAY;2DAAC;AAEpC;IAAT,gBAAM,EAAE;;mDAAc;AAEb;IAAT,gBAAM,EAAE;;mDAAc;AAEP;IAAf,gBAAM,CAAC,MAAM,CAAC;;0DAAqB;AAOpC;IALC,mBAAS,CACN,IAAI,CAAC,EAAE,CAAC,8BAAU,EAClB,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,EACzB,EAAE,QAAQ,EAAE,SAAS,EAAE,CAC1B;8BACK,8BAAU;mDAAC;AAGjB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,wDAAiC,CAAC;8BACpC,wDAAiC;2DAAC;AArBvC,qBAAqB;IADjC,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,qBAAqB,CAsBjC;AAtBY,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.Collection = 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");
|
|
@@ -93,7 +95,7 @@ Collection = __decorate([
|
|
|
93
95
|
// decendants or ancestors more than 1 level removed.
|
|
94
96
|
// @Tree('closure-table')
|
|
95
97
|
,
|
|
96
|
-
__metadata("design:paramtypes", [Object])
|
|
98
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
97
99
|
], Collection);
|
|
98
100
|
exports.Collection = Collection;
|
|
99
101
|
//# sourceMappingURL=collection.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection.entity.js","sourceRoot":"","sources":["../../../src/entity/collection/collection.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"collection.entity.js","sourceRoot":"","sources":["../../../src/entity/collection/collection.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AACA,mEAA+D;AAC/D,qCASiB;AAKjB,wDAA8C;AAC9C,qDAAoD;AACpD,8DAAoD;AACpD,kEAAiE;AACjE,sFAA2E;AAE3E,uEAA4D;AAC5D,mFAAwE;AAExE;;;;;GAKG;AAOH,IAAa,UAAU;AALvB,uGAAuG;AACvG,yGAAyG;AACzG,oGAAoG;AACpG,qDAAqD;AACrD,yBAAyB;AACzB,MAAa,UAAW,SAAQ,2BAAa;IAEzC,YAAY,KAA+B;QACvC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CA4CJ,CAAA;AAzCG;IADC,gBAAM,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;0CACX;AAGhB;IADC,gBAAM,EAAE;;4CACQ;AAGjB;IADC,gBAAM,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;6CACR;AASnB;IADC,mBAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,qDAAqB,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;8BACjF,KAAK;gDAA0B;AAG7C;IADC,mBAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,oBAAK,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;8BACtC,oBAAK;iDAAC;AAGrB;IADC,mBAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,yCAAe,EAAE,CAAC,eAAe,EAAE,EAAE,CAAC,eAAe,CAAC,UAAU,CAAC;;0CAC5D;AAEH;IAAtB,gBAAM,CAAC,aAAa,CAAC;;2CAAkC;AAIxD;IAFC,oBAAU,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,uCAAc,EAAE,CAAC,cAAc,EAAE,EAAE,CAAC,cAAc,CAAC,WAAW,CAAC;IACpF,mBAAS,EAAE;;mDACsB;AAGlC;IADC,gBAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,6CAAsB,CAAC;8BAC3B,6CAAsB;gDAAC;AAGrC;IADC,sBAAY,EAAE;;4CACQ;AAGvB;IADC,oBAAU,EAAE;8BACL,UAAU;0CAAC;AAInB;IAFC,oBAAU,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,wBAAO,CAAC;IAC7B,mBAAS,EAAE;;4CACQ;AA/CX,UAAU;IANtB,gBAAM,EAAE;IACT,uGAAuG;IACvG,yGAAyG;IACzG,oGAAoG;IACpG,qDAAqD;IACrD,yBAAyB;;yDAGD,0BAAW,oBAAX,0BAAW;GAFtB,UAAU,CAgDtB;AAhDY,gCAAU"}
|
|
@@ -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.CountryTranslation = 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 CountryTranslation = class CountryTranslation 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
|
], CountryTranslation.prototype, "languageCode", void 0);
|
|
27
29
|
__decorate([
|
|
28
30
|
typeorm_1.Column(),
|
|
@@ -38,7 +40,7 @@ __decorate([
|
|
|
38
40
|
], CountryTranslation.prototype, "customFields", void 0);
|
|
39
41
|
CountryTranslation = __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
|
], CountryTranslation);
|
|
43
45
|
exports.CountryTranslation = CountryTranslation;
|
|
44
46
|
//# sourceMappingURL=country-translation.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"country-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/country/country-translation.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"country-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/country/country-translation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAmE;AACnE,mEAA+D;AAC/D,qCAAoD;AAIpD,qDAAoD;AACpD,kEAAyE;AAEzE,qDAA2C;AAG3C,IAAa,kBAAkB,GAA/B,MAAa,kBAAmB,SAAQ,2BAAa;IACjD,YAAY,KAAoD;QAC5D,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAWJ,CAAA;AATsB;IAAlB,gBAAM,CAAC,SAAS,CAAC;kDAAe,8BAAY,oBAAZ,8BAAY;wDAAC;AAEpC;IAAT,gBAAM,EAAE;;gDAAc;AAGvB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACzE,wBAAO;gDAAC;AAGd;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,qDAA8B,CAAC;8BACjC,qDAA8B;wDAAC;AAbpC,kBAAkB;IAD9B,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,kBAAkB,CAc9B;AAdY,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.Country = 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");
|
|
@@ -45,7 +47,7 @@ __decorate([
|
|
|
45
47
|
], Country.prototype, "customFields", void 0);
|
|
46
48
|
Country = __decorate([
|
|
47
49
|
typeorm_1.Entity(),
|
|
48
|
-
__metadata("design:paramtypes", [Object])
|
|
50
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
49
51
|
], Country);
|
|
50
52
|
exports.Country = Country;
|
|
51
53
|
//# sourceMappingURL=country.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"country.entity.js","sourceRoot":"","sources":["../../../src/entity/country/country.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"country.entity.js","sourceRoot":"","sources":["../../../src/entity/country/country.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAAoD;AAIpD,qDAAoD;AACpD,kEAA8D;AAE9D,6EAAkE;AAElE;;;;;;;GAOG;AAEH,IAAa,OAAO,GAApB,MAAa,OAAQ,SAAQ,2BAAa;IACtC,YAAY,KAA4B;QACpC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAaJ,CAAA;AAXa;IAAT,gBAAM,EAAE;;qCAAc;AAIb;IAAT,gBAAM,EAAE;;wCAAkB;AAG3B;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,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,0CAAmB,CAAC;8BACtB,0CAAmB;6CAAC;AAfzB,OAAO;IADnB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,OAAO,CAgBnB;AAhBY,0BAAO"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.CustomerGroup = 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");
|
|
@@ -40,7 +42,7 @@ __decorate([
|
|
|
40
42
|
], CustomerGroup.prototype, "customFields", void 0);
|
|
41
43
|
CustomerGroup = __decorate([
|
|
42
44
|
typeorm_1.Entity(),
|
|
43
|
-
__metadata("design:paramtypes", [Object])
|
|
45
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
44
46
|
], CustomerGroup);
|
|
45
47
|
exports.CustomerGroup = CustomerGroup;
|
|
46
48
|
//# sourceMappingURL=customer-group.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer-group.entity.js","sourceRoot":"","sources":["../../../src/entity/customer-group/customer-group.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"customer-group.entity.js","sourceRoot":"","sources":["../../../src/entity/customer-group/customer-group.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAAqD;AAGrD,qDAAoD;AACpD,kEAAoE;AACpE,iEAAuD;AAEvD;;;;;;GAMG;AAEH,IAAa,aAAa,GAA1B,MAAa,aAAc,SAAQ,2BAAa;IAC5C,YAAY,KAAkC;QAC1C,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CASJ,CAAA;AAPa;IAAT,gBAAM,EAAE;;2CAAc;AAGvB;IADC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,0BAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC;;gDACpC;AAGtB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,gDAAyB,CAAC;8BAC5B,gDAAyB;mDAAC;AAX/B,aAAa;IADzB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,aAAa,CAYzB;AAZY,sCAAa"}
|
|
@@ -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.FacetTranslation = 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 FacetTranslation = class FacetTranslation extends base_entity_1.VendureEntit
|
|
|
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
|
], FacetTranslation.prototype, "languageCode", void 0);
|
|
27
29
|
__decorate([
|
|
28
30
|
typeorm_1.Column(),
|
|
@@ -38,7 +40,7 @@ __decorate([
|
|
|
38
40
|
], FacetTranslation.prototype, "customFields", void 0);
|
|
39
41
|
FacetTranslation = __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
|
], FacetTranslation);
|
|
43
45
|
exports.FacetTranslation = FacetTranslation;
|
|
44
46
|
//# sourceMappingURL=facet-translation.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facet-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/facet/facet-translation.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"facet-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/facet/facet-translation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAmE;AACnE,mEAA+D;AAC/D,qCAAoD;AAIpD,qDAAoD;AACpD,kEAAuE;AAEvE,iDAAuC;AAGvC,IAAa,gBAAgB,GAA7B,MAAa,gBAAiB,SAAQ,2BAAa;IAC/C,YAAY,KAAkD;QAC1D,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAWJ,CAAA;AATsB;IAAlB,gBAAM,CAAC,SAAS,CAAC;kDAAe,8BAAY,oBAAZ,8BAAY;sDAAC;AAEpC;IAAT,gBAAM,EAAE;;8CAAc;AAGvB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,oBAAK,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACvE,oBAAK;8CAAC;AAGZ;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,mDAA4B,CAAC;8BAC/B,mDAA4B;sDAAC;AAblC,gBAAgB;IAD5B,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,gBAAgB,CAc5B;AAdY,4CAAgB"}
|
|
@@ -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.Facet = 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");
|
|
@@ -59,7 +61,7 @@ __decorate([
|
|
|
59
61
|
], Facet.prototype, "channels", void 0);
|
|
60
62
|
Facet = __decorate([
|
|
61
63
|
typeorm_1.Entity(),
|
|
62
|
-
__metadata("design:paramtypes", [Object])
|
|
64
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
63
65
|
], Facet);
|
|
64
66
|
exports.Facet = Facet;
|
|
65
67
|
//# sourceMappingURL=facet.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facet.entity.js","sourceRoot":"","sources":["../../../src/entity/facet/facet.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"facet.entity.js","sourceRoot":"","sources":["../../../src/entity/facet/facet.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAA2E;AAK3E,qDAAoD;AACpD,8DAAoD;AACpD,kEAA4D;AAC5D,0EAA+D;AAE/D,yEAA8D;AAE9D;;;;;;;;;;GAUG;AAEH,IAAa,KAAK,GAAlB,MAAa,KAAM,SAAQ,2BAAa;IACpC,YAAY,KAA0B;QAClC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAsBJ,CAAA;AAjBG;IADC,gBAAM,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;wCACR;AAGnB;IADC,gBAAM,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;mCACZ;AAGb;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,2CAAgB,EAAE,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;8BACxE,KAAK;2CAAqB;AAGxC;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,+BAAU,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;;qCAC/B;AAGrB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,wCAAiB,CAAC;8BACpB,wCAAiB;2CAAC;AAIhC;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,CAAC;IAC3B,mBAAS,EAAE;;uCACQ;AAxBX,KAAK;IADjB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,KAAK,CAyBjB;AAzBY,sBAAK"}
|
|
@@ -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, _b;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.ProductAsset = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const orderable_asset_entity_1 = require("../asset/orderable-asset.entity");
|
|
15
17
|
const product_entity_1 = require("./product.entity");
|
|
@@ -20,7 +22,7 @@ let ProductAsset = class ProductAsset extends orderable_asset_entity_1.Orderable
|
|
|
20
22
|
};
|
|
21
23
|
__decorate([
|
|
22
24
|
typeorm_1.Column(),
|
|
23
|
-
__metadata("design:type", Object)
|
|
25
|
+
__metadata("design:type", typeof (_a = typeof shared_types_1.ID !== "undefined" && shared_types_1.ID) === "function" ? _a : Object)
|
|
24
26
|
], ProductAsset.prototype, "productId", void 0);
|
|
25
27
|
__decorate([
|
|
26
28
|
typeorm_1.ManyToOne((type) => product_entity_1.Product, (product) => product.assets, { onDelete: 'CASCADE' }),
|
|
@@ -28,7 +30,7 @@ __decorate([
|
|
|
28
30
|
], ProductAsset.prototype, "product", void 0);
|
|
29
31
|
ProductAsset = __decorate([
|
|
30
32
|
typeorm_1.Entity(),
|
|
31
|
-
__metadata("design:paramtypes", [Object])
|
|
33
|
+
__metadata("design:paramtypes", [typeof (_b = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _b : Object])
|
|
32
34
|
], ProductAsset);
|
|
33
35
|
exports.ProductAsset = ProductAsset;
|
|
34
36
|
//# sourceMappingURL=product-asset.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-asset.entity.js","sourceRoot":"","sources":["../../../src/entity/product/product-asset.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-asset.entity.js","sourceRoot":"","sources":["../../../src/entity/product/product-asset.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAAmE;AACnE,qCAAoD;AAEpD,4EAAiE;AAEjE,qDAA2C;AAG3C,IAAa,YAAY,GAAzB,MAAa,YAAa,SAAQ,uCAAc;IAC5C,YAAY,KAAiC;QACzC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAMJ,CAAA;AAJG;IADC,gBAAM,EAAE;kDACE,iBAAE,oBAAF,iBAAE;+CAAC;AAGd;IADC,mBAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,wBAAO,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC1E,wBAAO;6CAAC;AARR,YAAY;IADxB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,YAAY,CASxB;AATY,oCAAY"}
|
|
@@ -8,9 +8,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a, _b;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.ProductTranslation = void 0;
|
|
13
14
|
const generated_types_1 = require("@vendure/common/lib/generated-types");
|
|
15
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
14
16
|
const typeorm_1 = require("typeorm");
|
|
15
17
|
const base_entity_1 = require("../base/base.entity");
|
|
16
18
|
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
@@ -22,7 +24,7 @@ let ProductTranslation = class ProductTranslation extends base_entity_1.VendureE
|
|
|
22
24
|
};
|
|
23
25
|
__decorate([
|
|
24
26
|
typeorm_1.Column('varchar'),
|
|
25
|
-
__metadata("design:type",
|
|
27
|
+
__metadata("design:type", typeof (_a = typeof generated_types_1.LanguageCode !== "undefined" && generated_types_1.LanguageCode) === "function" ? _a : Object)
|
|
26
28
|
], ProductTranslation.prototype, "languageCode", void 0);
|
|
27
29
|
__decorate([
|
|
28
30
|
typeorm_1.Column(),
|
|
@@ -46,7 +48,7 @@ __decorate([
|
|
|
46
48
|
], ProductTranslation.prototype, "customFields", void 0);
|
|
47
49
|
ProductTranslation = __decorate([
|
|
48
50
|
typeorm_1.Entity(),
|
|
49
|
-
__metadata("design:paramtypes", [Object])
|
|
51
|
+
__metadata("design:paramtypes", [typeof (_b = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _b : Object])
|
|
50
52
|
], ProductTranslation);
|
|
51
53
|
exports.ProductTranslation = ProductTranslation;
|
|
52
54
|
//# sourceMappingURL=product-translation.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/product/product-translation.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/product/product-translation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAmE;AACnE,mEAA+D;AAC/D,qCAA2D;AAI3D,qDAAoD;AACpD,kEAAyE;AAEzE,qDAA2C;AAG3C,IAAa,kBAAkB,GAA/B,MAAa,kBAAmB,SAAQ,2BAAa;IACjD,YAAY,KAAyC;QACjD,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAeJ,CAAA;AAbsB;IAAlB,gBAAM,CAAC,SAAS,CAAC;kDAAe,8BAAY,oBAAZ,8BAAY;wDAAC;AAEpC;IAAT,gBAAM,EAAE;;gDAAc;AAEb;IAAT,gBAAM,EAAE;;gDAAc;AAEP;IAAf,gBAAM,CAAC,MAAM,CAAC;;uDAAqB;AAGpC;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;8BAChD,wBAAO;gDAAC;AAGd;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,qDAA8B,CAAC;8BACjC,qDAA8B;wDAAC;AAjBpC,kBAAkB;IAD9B,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,kBAAkB,CAkB9B;AAlBY,gDAAkB"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.Product = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const asset_entity_1 = require("../asset/asset.entity");
|
|
15
17
|
const base_entity_1 = require("../base/base.entity");
|
|
@@ -76,7 +78,7 @@ __decorate([
|
|
|
76
78
|
], Product.prototype, "channels", void 0);
|
|
77
79
|
Product = __decorate([
|
|
78
80
|
typeorm_1.Entity(),
|
|
79
|
-
__metadata("design:paramtypes", [Object])
|
|
81
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
80
82
|
], Product);
|
|
81
83
|
exports.Product = Product;
|
|
82
84
|
//# sourceMappingURL=product.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.entity.js","sourceRoot":"","sources":["../../../src/entity/product/product.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product.entity.js","sourceRoot":"","sources":["../../../src/entity/product/product.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAAsF;AAKtF,wDAA8C;AAC9C,qDAAoD;AACpD,8DAAoD;AACpD,kEAA8D;AAC9D,0EAA+D;AAC/D,qGAAyF;AACzF,sFAA2E;AAE3E,iEAAsD;AACtD,6EAAkE;AAElE;;;;;;GAMG;AAEH,IAAa,OAAO,GAApB,MAAa,OACT,SAAQ,2BAAa;IAErB,YAAY,KAA4B;QACpC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAuCJ,CAAA;AApCG;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CAChB;AASvB;IADC,gBAAM,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;wCACT;AAGjB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,oBAAK,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;8BACpC,oBAAK;8CAAC;AAGrB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,mCAAY,EAAE,YAAY,CAAC,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC;;uCAC/C;AAGvB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,+CAAkB,EAAE,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;8BAC1E,KAAK;6CAAuB;AAG1C;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,uCAAc,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC;;yCACnC;AAG3B;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,gDAAkB,EAAE,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC;;6CACvC;AAInC;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,+BAAU,CAAC;IAC9B,mBAAS,EAAE;;4CACc;AAG1B;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,0CAAmB,CAAC;8BACtB,0CAAmB;6CAAC;AAIlC;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,CAAC;IAC3B,mBAAS,EAAE;;yCACQ;AA3CX,OAAO;IADnB,gBAAM,EAAE;yDAIe,0BAAW,oBAAX,0BAAW;GAHtB,OAAO,CA4CnB;AA5CY,0BAAO"}
|
|
@@ -8,9 +8,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a, _b;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.ProductOptionTranslation = void 0;
|
|
13
14
|
const generated_types_1 = require("@vendure/common/lib/generated-types");
|
|
15
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
14
16
|
const typeorm_1 = require("typeorm");
|
|
15
17
|
const base_entity_1 = require("../base/base.entity");
|
|
16
18
|
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
@@ -22,7 +24,7 @@ let ProductOptionTranslation = class ProductOptionTranslation extends base_entit
|
|
|
22
24
|
};
|
|
23
25
|
__decorate([
|
|
24
26
|
typeorm_1.Column('varchar'),
|
|
25
|
-
__metadata("design:type",
|
|
27
|
+
__metadata("design:type", typeof (_a = typeof generated_types_1.LanguageCode !== "undefined" && generated_types_1.LanguageCode) === "function" ? _a : Object)
|
|
26
28
|
], ProductOptionTranslation.prototype, "languageCode", void 0);
|
|
27
29
|
__decorate([
|
|
28
30
|
typeorm_1.Column(),
|
|
@@ -38,7 +40,7 @@ __decorate([
|
|
|
38
40
|
], ProductOptionTranslation.prototype, "customFields", void 0);
|
|
39
41
|
ProductOptionTranslation = __decorate([
|
|
40
42
|
typeorm_1.Entity(),
|
|
41
|
-
__metadata("design:paramtypes", [Object])
|
|
43
|
+
__metadata("design:paramtypes", [typeof (_b = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _b : Object])
|
|
42
44
|
], ProductOptionTranslation);
|
|
43
45
|
exports.ProductOptionTranslation = ProductOptionTranslation;
|
|
44
46
|
//# sourceMappingURL=product-option-translation.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-option-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/product-option/product-option-translation.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-option-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/product-option/product-option-translation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAmE;AACnE,mEAA+D;AAC/D,qCAAoD;AAIpD,qDAAoD;AACpD,kEAA+E;AAE/E,mEAAwD;AAGxD,IAAa,wBAAwB,GAArC,MAAa,wBACT,SAAQ,2BAAa;IAGrB,YAAY,KAA+C;QACvD,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAYJ,CAAA;AAVsB;IAAlB,gBAAM,CAAC,SAAS,CAAC;kDAAe,8BAAY,oBAAZ,8BAAY;8DAAC;AAEpC;IAAT,gBAAM,EAAE;;sDAAc;AAIvB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,qCAAa,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;8BACtD,qCAAa;sDAAC;AAGpB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,2DAAoC,CAAC;8BACvC,2DAAoC;8DAAC;AAjB1C,wBAAwB;IADpC,gBAAM,EAAE;yDAKe,0BAAW,oBAAX,0BAAW;GAJtB,wBAAwB,CAkBpC;AAlBY,4DAAwB"}
|
|
@@ -8,9 +8,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a, _b;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.ProductOptionGroupTranslation = void 0;
|
|
13
14
|
const generated_types_1 = require("@vendure/common/lib/generated-types");
|
|
15
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
14
16
|
const typeorm_1 = require("typeorm");
|
|
15
17
|
const base_entity_1 = require("../base/base.entity");
|
|
16
18
|
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
@@ -22,7 +24,7 @@ let ProductOptionGroupTranslation = class ProductOptionGroupTranslation extends
|
|
|
22
24
|
};
|
|
23
25
|
__decorate([
|
|
24
26
|
typeorm_1.Column('varchar'),
|
|
25
|
-
__metadata("design:type",
|
|
27
|
+
__metadata("design:type", typeof (_a = typeof generated_types_1.LanguageCode !== "undefined" && generated_types_1.LanguageCode) === "function" ? _a : Object)
|
|
26
28
|
], ProductOptionGroupTranslation.prototype, "languageCode", void 0);
|
|
27
29
|
__decorate([
|
|
28
30
|
typeorm_1.Column(),
|
|
@@ -38,7 +40,7 @@ __decorate([
|
|
|
38
40
|
], ProductOptionGroupTranslation.prototype, "customFields", void 0);
|
|
39
41
|
ProductOptionGroupTranslation = __decorate([
|
|
40
42
|
typeorm_1.Entity(),
|
|
41
|
-
__metadata("design:paramtypes", [Object])
|
|
43
|
+
__metadata("design:paramtypes", [typeof (_b = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _b : Object])
|
|
42
44
|
], ProductOptionGroupTranslation);
|
|
43
45
|
exports.ProductOptionGroupTranslation = ProductOptionGroupTranslation;
|
|
44
46
|
//# sourceMappingURL=product-option-group-translation.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-option-group-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/product-option-group/product-option-group-translation.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-option-group-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/product-option-group/product-option-group-translation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAmE;AACnE,mEAA+D;AAC/D,qCAAoD;AAIpD,qDAAoD;AACpD,kEAAoF;AAEpF,+EAAmE;AAGnE,IAAa,6BAA6B,GAA1C,MAAa,6BACT,SAAQ,2BAAa;IAGrB,YAAY,KAAoD;QAC5D,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAYJ,CAAA;AAVsB;IAAlB,gBAAM,CAAC,SAAS,CAAC;kDAAe,8BAAY,oBAAZ,8BAAY;mEAAC;AAEpC;IAAT,gBAAM,EAAE;;2DAAc;AAIvB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,gDAAkB,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;8BAC3D,gDAAkB;2DAAC;AAGzB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,gEAAyC,CAAC;8BAC5C,gEAAyC;mEAAC;AAjB/C,6BAA6B;IADzC,gBAAM,EAAE;yDAKe,0BAAW,oBAAX,0BAAW;GAJtB,6BAA6B,CAkBzC;AAlBY,sEAA6B"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.ProductOptionGroup = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const base_entity_1 = require("../base/base.entity");
|
|
15
17
|
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
@@ -53,7 +55,7 @@ __decorate([
|
|
|
53
55
|
], ProductOptionGroup.prototype, "customFields", void 0);
|
|
54
56
|
ProductOptionGroup = __decorate([
|
|
55
57
|
typeorm_1.Entity(),
|
|
56
|
-
__metadata("design:paramtypes", [Object])
|
|
58
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
57
59
|
], ProductOptionGroup);
|
|
58
60
|
exports.ProductOptionGroup = ProductOptionGroup;
|
|
59
61
|
//# sourceMappingURL=product-option-group.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-option-group.entity.js","sourceRoot":"","sources":["../../../src/entity/product-option-group/product-option-group.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-option-group.entity.js","sourceRoot":"","sources":["../../../src/entity/product-option-group/product-option-group.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAA+D;AAK/D,qDAAoD;AACpD,kEAAyE;AACzE,mFAAwE;AACxE,8DAAoD;AAEpD,uGAA0F;AAE1F;;;;;GAKG;AAEH,IAAa,kBAAkB,GAA/B,MAAa,kBACT,SAAQ,2BAAa;IAErB,YAAY,KAAuC;QAC/C,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAoBJ,CAAA;AAlBG;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDAChB;AAKvB;IADC,gBAAM,EAAE;;gDACI;AAGb;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,uEAA6B,EAAE,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;8BACrF,KAAK;wDAAkC;AAGrD;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,qCAAa,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC;;mDAChC;AAGzB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,CAAC;8BAClB,wBAAO;mDAAC;AAGjB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,qDAA8B,CAAC;8BACjC,qDAA8B;wDAAC;AAxBpC,kBAAkB;IAD9B,gBAAM,EAAE;yDAIe,0BAAW,oBAAX,0BAAW;GAHtB,kBAAkB,CAyB9B;AAzBY,gDAAkB"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a, _b;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.ProductVariantAsset = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const orderable_asset_entity_1 = require("../asset/orderable-asset.entity");
|
|
15
17
|
const product_variant_entity_1 = require("./product-variant.entity");
|
|
@@ -20,7 +22,7 @@ let ProductVariantAsset = class ProductVariantAsset extends orderable_asset_enti
|
|
|
20
22
|
};
|
|
21
23
|
__decorate([
|
|
22
24
|
typeorm_1.Column(),
|
|
23
|
-
__metadata("design:type", Object)
|
|
25
|
+
__metadata("design:type", typeof (_a = typeof shared_types_1.ID !== "undefined" && shared_types_1.ID) === "function" ? _a : Object)
|
|
24
26
|
], ProductVariantAsset.prototype, "productVariantId", void 0);
|
|
25
27
|
__decorate([
|
|
26
28
|
typeorm_1.ManyToOne((type) => product_variant_entity_1.ProductVariant, (variant) => variant.assets, { onDelete: 'CASCADE' }),
|
|
@@ -28,7 +30,7 @@ __decorate([
|
|
|
28
30
|
], ProductVariantAsset.prototype, "productVariant", void 0);
|
|
29
31
|
ProductVariantAsset = __decorate([
|
|
30
32
|
typeorm_1.Entity(),
|
|
31
|
-
__metadata("design:paramtypes", [Object])
|
|
33
|
+
__metadata("design:paramtypes", [typeof (_b = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _b : Object])
|
|
32
34
|
], ProductVariantAsset);
|
|
33
35
|
exports.ProductVariantAsset = ProductVariantAsset;
|
|
34
36
|
//# sourceMappingURL=product-variant-asset.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-variant-asset.entity.js","sourceRoot":"","sources":["../../../src/entity/product-variant/product-variant-asset.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-variant-asset.entity.js","sourceRoot":"","sources":["../../../src/entity/product-variant/product-variant-asset.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAAmE;AACnE,qCAAoD;AAEpD,4EAAiE;AAEjE,qEAA0D;AAG1D,IAAa,mBAAmB,GAAhC,MAAa,mBAAoB,SAAQ,uCAAc;IACnD,YAAY,KAAwC;QAChD,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAMJ,CAAA;AAJG;IADC,gBAAM,EAAE;kDACS,iBAAE,oBAAF,iBAAE;6DAAC;AAGrB;IADC,mBAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,uCAAc,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAC1E,uCAAc;2DAAC;AARtB,mBAAmB;IAD/B,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,mBAAmB,CAS/B;AATY,kDAAmB"}
|
|
@@ -8,9 +8,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a, _b;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.ProductVariantTranslation = void 0;
|
|
13
14
|
const generated_types_1 = require("@vendure/common/lib/generated-types");
|
|
15
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
14
16
|
const typeorm_1 = require("typeorm");
|
|
15
17
|
const base_entity_1 = require("../base/base.entity");
|
|
16
18
|
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
@@ -22,7 +24,7 @@ let ProductVariantTranslation = class ProductVariantTranslation extends base_ent
|
|
|
22
24
|
};
|
|
23
25
|
__decorate([
|
|
24
26
|
typeorm_1.Column('varchar'),
|
|
25
|
-
__metadata("design:type",
|
|
27
|
+
__metadata("design:type", typeof (_a = typeof generated_types_1.LanguageCode !== "undefined" && generated_types_1.LanguageCode) === "function" ? _a : Object)
|
|
26
28
|
], ProductVariantTranslation.prototype, "languageCode", void 0);
|
|
27
29
|
__decorate([
|
|
28
30
|
typeorm_1.Column(),
|
|
@@ -38,7 +40,7 @@ __decorate([
|
|
|
38
40
|
], ProductVariantTranslation.prototype, "customFields", void 0);
|
|
39
41
|
ProductVariantTranslation = __decorate([
|
|
40
42
|
typeorm_1.Entity(),
|
|
41
|
-
__metadata("design:paramtypes", [Object])
|
|
43
|
+
__metadata("design:paramtypes", [typeof (_b = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _b : Object])
|
|
42
44
|
], ProductVariantTranslation);
|
|
43
45
|
exports.ProductVariantTranslation = ProductVariantTranslation;
|
|
44
46
|
//# sourceMappingURL=product-variant-translation.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-variant-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/product-variant/product-variant-translation.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-variant-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/product-variant/product-variant-translation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAmE;AACnE,mEAA+D;AAC/D,qCAAoD;AAIpD,qDAAoD;AACpD,kEAAgF;AAEhF,qEAA0D;AAG1D,IAAa,yBAAyB,GAAtC,MAAa,yBAA0B,SAAQ,2BAAa;IAExD,YAAY,KAAgD;QACxD,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAWJ,CAAA;AATsB;IAAlB,gBAAM,CAAC,SAAS,CAAC;kDAAe,8BAAY,oBAAZ,8BAAY;+DAAC;AAEpC;IAAT,gBAAM,EAAE;;uDAAc;AAGvB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,uCAAc,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;8BACvD,uCAAc;uDAAC;AAGrB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,4DAAqC,CAAC;8BACxC,4DAAqC;+DAAC;AAd3C,yBAAyB;IADrC,gBAAM,EAAE;yDAGe,0BAAW,oBAAX,0BAAW;GAFtB,yBAAyB,CAerC;AAfY,8DAAyB"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.Role = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const base_entity_1 = require("../base/base.entity");
|
|
15
17
|
const channel_entity_1 = require("../channel/channel.entity");
|
|
@@ -44,7 +46,7 @@ __decorate([
|
|
|
44
46
|
], Role.prototype, "channels", void 0);
|
|
45
47
|
Role = __decorate([
|
|
46
48
|
typeorm_1.Entity(),
|
|
47
|
-
__metadata("design:paramtypes", [Object])
|
|
49
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
48
50
|
], Role);
|
|
49
51
|
exports.Role = Role;
|
|
50
52
|
//# sourceMappingURL=role.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role.entity.js","sourceRoot":"","sources":["../../../src/entity/role/role.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"role.entity.js","sourceRoot":"","sources":["../../../src/entity/role/role.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AACA,mEAA+D;AAC/D,qCAAgE;AAGhE,qDAAoD;AACpD,8DAAoD;AAEpD;;;;;;GAMG;AAEH,IAAa,IAAI,GAAjB,MAAa,IAAK,SAAQ,2BAAa;IACnC,YAAY,KAAyB;QACjC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAWJ,CAAA;AATa;IAAT,gBAAM,EAAE;;kCAAc;AAEb;IAAT,gBAAM,EAAE;;yCAAqB;AAEN;IAAvB,gBAAM,CAAC,cAAc,CAAC;;yCAA2B;AAIlD;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,CAAC;IAC3B,mBAAS,EAAE;;sCACQ;AAbX,IAAI;IADhB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,IAAI,CAchB;AAdY,oBAAI"}
|
|
@@ -8,6 +8,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.StockMovement = void 0;
|
|
13
14
|
const generated_types_1 = require("@vendure/common/lib/generated-types");
|
|
@@ -27,7 +28,7 @@ let StockMovement = class StockMovement extends base_entity_1.VendureEntity {
|
|
|
27
28
|
};
|
|
28
29
|
__decorate([
|
|
29
30
|
typeorm_1.Column({ nullable: false, type: 'varchar' }),
|
|
30
|
-
__metadata("design:type",
|
|
31
|
+
__metadata("design:type", typeof (_a = typeof generated_types_1.StockMovementType !== "undefined" && generated_types_1.StockMovementType) === "function" ? _a : Object)
|
|
31
32
|
], StockMovement.prototype, "type", void 0);
|
|
32
33
|
__decorate([
|
|
33
34
|
typeorm_1.ManyToOne(type => product_variant_entity_1.ProductVariant, variant => variant.stockMovements),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stock-movement.entity.js","sourceRoot":"","sources":["../../../src/entity/stock-movement/stock-movement.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stock-movement.entity.js","sourceRoot":"","sources":["../../../src/entity/stock-movement/stock-movement.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAwE;AACxE,qCAAsE;AAEtE,qDAAoD;AACpD,sFAA2E;AAE3E;;;;;;;;GAQG;AAGH,IAAsB,aAAa,GAAnC,MAAsB,aAAc,SAAQ,2BAAa;CASxD,CAAA;AAPG;IADC,gBAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;kDAC9B,mCAAiB,oBAAjB,mCAAiB;2CAAC;AAGjC;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,uCAAc,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC;8BACrD,uCAAc;qDAAC;AAG/B;IADC,gBAAM,EAAE;;+CACQ;AARC,aAAa;IAFlC,gBAAM,EAAE;IACR,0BAAgB,CAAC,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,CAAC;GACnD,aAAa,CASlC;AATqB,sCAAa"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.Tag = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const base_entity_1 = require("../base/base.entity");
|
|
15
17
|
/**
|
|
@@ -30,7 +32,7 @@ __decorate([
|
|
|
30
32
|
], Tag.prototype, "value", void 0);
|
|
31
33
|
Tag = __decorate([
|
|
32
34
|
typeorm_1.Entity(),
|
|
33
|
-
__metadata("design:paramtypes", [Object])
|
|
35
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
34
36
|
], Tag);
|
|
35
37
|
exports.Tag = Tag;
|
|
36
38
|
//# sourceMappingURL=tag.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.entity.js","sourceRoot":"","sources":["../../../src/entity/tag/tag.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tag.entity.js","sourceRoot":"","sources":["../../../src/entity/tag/tag.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAAyC;AAEzC,qDAAoD;AAEpD;;;;;;GAMG;AAEH,IAAa,GAAG,GAAhB,MAAa,GAAI,SAAQ,2BAAa;IAClC,YAAY,KAAwB;QAChC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAIJ,CAAA;AADG;IADC,gBAAM,EAAE;;kCACK;AANL,GAAG;IADf,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,GAAG,CAOf;AAPY,kBAAG"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.TaxCategory = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const base_entity_1 = require("../base/base.entity");
|
|
15
17
|
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
@@ -38,7 +40,7 @@ __decorate([
|
|
|
38
40
|
], TaxCategory.prototype, "customFields", void 0);
|
|
39
41
|
TaxCategory = __decorate([
|
|
40
42
|
typeorm_1.Entity(),
|
|
41
|
-
__metadata("design:paramtypes", [Object])
|
|
43
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
42
44
|
], TaxCategory);
|
|
43
45
|
exports.TaxCategory = TaxCategory;
|
|
44
46
|
//# sourceMappingURL=tax-category.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tax-category.entity.js","sourceRoot":"","sources":["../../../src/entity/tax-category/tax-category.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tax-category.entity.js","sourceRoot":"","sources":["../../../src/entity/tax-category/tax-category.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAAyC;AAGzC,qDAAoD;AACpD,kEAAkE;AAElE;;;;;GAKG;AAEH,IAAa,WAAW,GAAxB,MAAa,WAAY,SAAQ,2BAAa;IAC1C,YAAY,KAAgC;QACxC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAQJ,CAAA;AANa;IAAT,gBAAM,EAAE;;yCAAc;AAEK;IAA3B,gBAAM,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;8CAAoB;AAG/C;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,8CAAuB,CAAC;8BAC1B,8CAAuB;iDAAC;AAV7B,WAAW;IADvB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,WAAW,CAWvB;AAXY,kCAAW"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.TaxRate = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const tax_utils_1 = require("../../common/tax-utils");
|
|
15
17
|
const utils_1 = require("../../common/utils");
|
|
@@ -97,7 +99,7 @@ __decorate([
|
|
|
97
99
|
], TaxRate.prototype, "customFields", void 0);
|
|
98
100
|
TaxRate = __decorate([
|
|
99
101
|
typeorm_1.Entity(),
|
|
100
|
-
__metadata("design:paramtypes", [Object])
|
|
102
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
101
103
|
], TaxRate);
|
|
102
104
|
exports.TaxRate = TaxRate;
|
|
103
105
|
//# sourceMappingURL=tax-rate.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tax-rate.entity.js","sourceRoot":"","sources":["../../../src/entity/tax-rate/tax-rate.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tax-rate.entity.js","sourceRoot":"","sources":["../../../src/entity/tax-rate/tax-rate.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AACA,mEAA+D;AAC/D,qCAAoD;AAEpD,sDAAgG;AAChG,8CAAiD;AAEjD,qDAAoD;AACpD,kEAA8D;AAC9D,mFAAwE;AACxE,6EAAkE;AAClE,8DAA2D;AAC3D,qDAA2C;AAE3C;;;;;;;;;GASG;AAEH,IAAa,OAAO,GAApB,MAAa,OAAQ,SAAQ,2BAAa;IACtC,YAAY,KAA4B;QACpC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;IAoBD;;OAEG;IACH,cAAc,CAAC,UAAkB;QAC7B,OAAO,0BAAc,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IAClD,CAAC;IAED;;OAEG;IACH,UAAU,CAAC,UAAkB;QACzB,OAAO,sBAAU,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IAC9C,CAAC;IAED;;OAEG;IACH,YAAY,CAAC,QAAgB;QACzB,OAAO,wBAAY,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IAC9C,CAAC;IAED;;OAEG;IACH,YAAY,CAAC,QAAgB;QACzB,OAAO,wBAAY,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IAC9C,CAAC;IAED,KAAK,CAAC,KAAa;QACf,OAAO;YACH,WAAW,EAAE,IAAI,CAAC,IAAI;YACtB,OAAO,EAAE,IAAI,CAAC,KAAK;SACtB,CAAC;IACN,CAAC;IAED,IAAI,CAAC,IAAU,EAAE,WAAwB;QACrC,OAAO,mBAAW,CAAC,WAAW,CAAC,EAAE,EAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,mBAAW,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC/F,CAAC;CACJ,CAAA;AAxDa;IAAT,gBAAM,EAAE;;qCAAc;AAEb;IAAT,gBAAM,EAAE;;wCAAkB;AAEiE;IAA3F,gBAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,WAAW,EAAE,IAAI,uCAAkB,EAAE,EAAE,CAAC;;sCAAe;AAG1G;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,iCAAW,CAAC;8BACrB,iCAAW;yCAAC;AAGtB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,kBAAI,CAAC;8BAClB,kBAAI;qCAAC;AAGX;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,qCAAa,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACrC,qCAAa;8CAAC;AAG9B;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,0CAAmB,CAAC;8BACtB,0CAAmB;6CAAC;AArBzB,OAAO;IADnB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,OAAO,CA6DnB;AA7DY,0BAAO"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.User = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const errors_1 = require("../../common/error/errors");
|
|
15
17
|
const authentication_method_entity_1 = require("../authentication-method/authentication-method.entity");
|
|
@@ -70,7 +72,7 @@ __decorate([
|
|
|
70
72
|
], User.prototype, "customFields", void 0);
|
|
71
73
|
User = __decorate([
|
|
72
74
|
typeorm_1.Entity(),
|
|
73
|
-
__metadata("design:paramtypes", [Object])
|
|
75
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
74
76
|
], User);
|
|
75
77
|
exports.User = User;
|
|
76
78
|
//# sourceMappingURL=user.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../../src/entity/user/user.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../../src/entity/user/user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAA2E;AAE3E,sDAAgE;AAGhE,wGAA6F;AAC7F,sHAA0G;AAC1G,qDAAoD;AACpD,kEAA2D;AAC3D,qDAA2C;AAE3C;;;;;;GAMG;AAEH,IAAa,IAAI,GAAjB,MAAa,IAAK,SAAQ,2BAAa;IACnC,YAAY,KAAyB;QACjC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;IA8BD,6BAA6B,CAAC,MAAiB;QAC3C,IAAI,CAAC,IAAI,CAAC,qBAAqB,EAAE;YAC7B,MAAM,IAAI,4BAAmB,CAAC,8CAA8C,CAAC,CAAC;SACjF;QACD,MAAM,KAAK,GAAG,IAAI,CAAC,qBAAqB,CAAC,IAAI,CACzC,CAAC,CAAC,EAAmC,EAAE,CAAC,CAAC,YAAY,gEAA0B,CAClF,CAAC;QACF,IAAI,CAAC,KAAK,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,MAAM,CAAC,EAAE;YAC5C,MAAM,IAAI,4BAAmB,CAAC,+CAA+C,CAAC,CAAC;SAClF;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ,CAAA;AAvCG;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCAChB;AAGvB;IADC,gBAAM,EAAE;;wCACU;AAMnB;IAJC,mBAAS,CACN,IAAI,CAAC,EAAE,CAAC,mDAAoB,EAC5B,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,CACxB;;mDAC6C;AAG9C;IADC,gBAAM,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;sCACT;AAIlB;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,kBAAI,CAAC;IACxB,mBAAS,EAAE;;mCACE;AAGd;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCAChB;AAGvB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,uCAAgB,CAAC;8BACnB,uCAAgB;0CAAC;AA5BtB,IAAI;IADhB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,IAAI,CA6ChB;AA7CY,oBAAI"}
|
|
@@ -8,8 +8,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.Zone = void 0;
|
|
14
|
+
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
13
15
|
const typeorm_1 = require("typeorm");
|
|
14
16
|
const base_entity_1 = require("../base/base.entity");
|
|
15
17
|
const country_entity_1 = require("../country/country.entity");
|
|
@@ -41,7 +43,7 @@ __decorate([
|
|
|
41
43
|
], Zone.prototype, "customFields", void 0);
|
|
42
44
|
Zone = __decorate([
|
|
43
45
|
typeorm_1.Entity(),
|
|
44
|
-
__metadata("design:paramtypes", [Object])
|
|
46
|
+
__metadata("design:paramtypes", [typeof (_a = typeof shared_types_1.DeepPartial !== "undefined" && shared_types_1.DeepPartial) === "function" ? _a : Object])
|
|
45
47
|
], Zone);
|
|
46
48
|
exports.Zone = Zone;
|
|
47
49
|
//# sourceMappingURL=zone.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zone.entity.js","sourceRoot":"","sources":["../../../src/entity/zone/zone.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"zone.entity.js","sourceRoot":"","sources":["../../../src/entity/zone/zone.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mEAA+D;AAC/D,qCAAgE;AAGhE,qDAAoD;AACpD,8DAAoD;AACpD,kEAA2D;AAE3D;;;;;;GAMG;AAEH,IAAa,IAAI,GAAjB,MAAa,IAAK,SAAQ,2BAAa;IACnC,YAAY,KAAyB;QACjC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAUJ,CAAA;AARa;IAAT,gBAAM,EAAE;;kCAAc;AAIvB;IAFC,oBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,CAAC;IAC3B,mBAAS,EAAE;;qCACO;AAGnB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,uCAAgB,CAAC;8BACnB,uCAAgB;0CAAC;AAZtB,IAAI;IADhB,gBAAM,EAAE;yDAEe,0BAAW,oBAAX,0BAAW;GADtB,IAAI,CAahB;AAbY,oBAAI"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ID
|
|
1
|
+
import { ID } from '@vendure/common/lib/shared-types';
|
|
2
2
|
import { RequestContext } from '../../api';
|
|
3
3
|
import { ChannelAware } from '../../common';
|
|
4
4
|
import { VendureEntity } from '../../entity';
|
|
@@ -17,6 +17,6 @@ export declare class ChangeChannelEvent<T extends ChannelAware & VendureEntity>
|
|
|
17
17
|
entity: T;
|
|
18
18
|
channelIds: ID[];
|
|
19
19
|
type: 'assigned' | 'removed';
|
|
20
|
-
entityType?:
|
|
21
|
-
constructor(ctx: RequestContext, entity: T, channelIds: ID[], type: 'assigned' | 'removed', entityType?:
|
|
20
|
+
entityType?: any;
|
|
21
|
+
constructor(ctx: RequestContext, entity: T, channelIds: ID[], type: 'assigned' | 'removed', entityType?: any);
|
|
22
22
|
}
|
|
@@ -20,8 +20,8 @@ export declare class CustomerAddressEvent extends VendureEntityEvent<Address, Cu
|
|
|
20
20
|
ctx: RequestContext;
|
|
21
21
|
entity: Address;
|
|
22
22
|
type: 'created' | 'updated' | 'deleted';
|
|
23
|
-
input?:
|
|
24
|
-
constructor(ctx: RequestContext, entity: Address, type: 'created' | 'updated' | 'deleted', input?:
|
|
23
|
+
input?: any;
|
|
24
|
+
constructor(ctx: RequestContext, entity: Address, type: 'created' | 'updated' | 'deleted', input?: any);
|
|
25
25
|
/**
|
|
26
26
|
* Return an address field to become compatible with the
|
|
27
27
|
* deprecated old version of CustomerAddressEvent
|
|
@@ -26,7 +26,7 @@ import { JobData } from './types';
|
|
|
26
26
|
* @docsCategory JobQueue
|
|
27
27
|
*/
|
|
28
28
|
export declare class InMemoryJobQueueStrategy extends PollingJobQueueStrategy implements InspectableJobQueueStrategy {
|
|
29
|
-
protected jobs: Map<
|
|
29
|
+
protected jobs: Map<any, Job<any>>;
|
|
30
30
|
protected unsettledJobs: {
|
|
31
31
|
[queueName: string]: Array<{
|
|
32
32
|
job: Job;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vendure/core",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.5",
|
|
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.5",
|
|
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": "09ae64ec5050d81b500ab7bcff27a92a322098da"
|
|
105
105
|
}
|