@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
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { LanguageCode } from '@vendure/common/lib/generated-types';
|
|
1
2
|
import { PermissionDefinition, PermissionMetadata } from './permission-definition';
|
|
2
3
|
/**
|
|
3
4
|
* This value should be rarely used - only in those contexts where we have no access to the
|
|
4
5
|
* VendureConfig to ensure at least a valid LanguageCode is available.
|
|
5
6
|
*/
|
|
6
|
-
export declare const DEFAULT_LANGUAGE_CODE
|
|
7
|
+
export declare const DEFAULT_LANGUAGE_CODE = LanguageCode.en;
|
|
7
8
|
export declare const TRANSACTION_MANAGER_KEY: unique symbol;
|
|
8
9
|
export declare const REQUEST_CONTEXT_KEY = "vendureRequestContext";
|
|
9
10
|
export declare const REQUEST_CONTEXT_MAP_KEY = "vendureRequestContextMap";
|
|
@@ -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.Administrator = 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");
|
|
@@ -54,7 +52,7 @@ __decorate([
|
|
|
54
52
|
], Administrator.prototype, "customFields", void 0);
|
|
55
53
|
Administrator = __decorate([
|
|
56
54
|
typeorm_1.Entity(),
|
|
57
|
-
__metadata("design:paramtypes", [
|
|
55
|
+
__metadata("design:paramtypes", [Object])
|
|
58
56
|
], Administrator);
|
|
59
57
|
exports.Administrator = Administrator;
|
|
60
58
|
//# 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":";;;;;;;;;;;;AACA,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;;GACI,aAAa,CAqBzB;AArBY,sCAAa"}
|
|
@@ -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.Asset = 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 channel_entity_1 = require("../channel/channel.entity");
|
|
@@ -36,7 +34,7 @@ __decorate([
|
|
|
36
34
|
], Asset.prototype, "name", void 0);
|
|
37
35
|
__decorate([
|
|
38
36
|
typeorm_1.Column('varchar'),
|
|
39
|
-
__metadata("design:type",
|
|
37
|
+
__metadata("design:type", String)
|
|
40
38
|
], Asset.prototype, "type", void 0);
|
|
41
39
|
__decorate([
|
|
42
40
|
typeorm_1.Column(),
|
|
@@ -82,7 +80,7 @@ __decorate([
|
|
|
82
80
|
], Asset.prototype, "customFields", void 0);
|
|
83
81
|
Asset = __decorate([
|
|
84
82
|
typeorm_1.Entity(),
|
|
85
|
-
__metadata("design:paramtypes", [
|
|
83
|
+
__metadata("design:paramtypes", [Object])
|
|
86
84
|
], Asset);
|
|
87
85
|
exports.Asset = Asset;
|
|
88
86
|
//# 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;AAEhE,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;;mCAAiB;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;;GACI,KAAK,CAkCjB;AAlCY,sBAAK"}
|
|
@@ -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.OrderableAsset = 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");
|
|
@@ -32,7 +30,7 @@ class OrderableAsset extends base_entity_1.VendureEntity {
|
|
|
32
30
|
}
|
|
33
31
|
__decorate([
|
|
34
32
|
typeorm_1.Column(),
|
|
35
|
-
__metadata("design:type",
|
|
33
|
+
__metadata("design:type", Object)
|
|
36
34
|
], OrderableAsset.prototype, "assetId", void 0);
|
|
37
35
|
__decorate([
|
|
38
36
|
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":";;;;;;;;;;;;AACA,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;;+CACG;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,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.ExternalAuthenticationMethod = void 0;
|
|
14
|
-
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
15
13
|
const typeorm_1 = require("typeorm");
|
|
16
14
|
const authentication_method_entity_1 = require("./authentication-method.entity");
|
|
17
15
|
/**
|
|
@@ -41,7 +39,7 @@ __decorate([
|
|
|
41
39
|
], ExternalAuthenticationMethod.prototype, "metadata", void 0);
|
|
42
40
|
ExternalAuthenticationMethod = __decorate([
|
|
43
41
|
typeorm_1.ChildEntity(),
|
|
44
|
-
__metadata("design:paramtypes", [
|
|
42
|
+
__metadata("design:paramtypes", [Object])
|
|
45
43
|
], ExternalAuthenticationMethod);
|
|
46
44
|
exports.ExternalAuthenticationMethod = ExternalAuthenticationMethod;
|
|
47
45
|
//# 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":";;;;;;;;;;;;AACA,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;;GACD,4BAA4B,CAaxC;AAbY,oEAA4B"}
|
|
@@ -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.NativeAuthenticationMethod = void 0;
|
|
14
|
-
const shared_types_1 = require("@vendure/common/lib/shared-types");
|
|
15
13
|
const typeorm_1 = require("typeorm");
|
|
16
14
|
const authentication_method_entity_1 = require("./authentication-method.entity");
|
|
17
15
|
/**
|
|
@@ -53,7 +51,7 @@ __decorate([
|
|
|
53
51
|
], NativeAuthenticationMethod.prototype, "pendingIdentifier", void 0);
|
|
54
52
|
NativeAuthenticationMethod = __decorate([
|
|
55
53
|
typeorm_1.ChildEntity(),
|
|
56
|
-
__metadata("design:paramtypes", [
|
|
54
|
+
__metadata("design:paramtypes", [Object])
|
|
57
55
|
], NativeAuthenticationMethod);
|
|
58
56
|
exports.NativeAuthenticationMethod = NativeAuthenticationMethod;
|
|
59
57
|
//# 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":";;;;;;;;;;;;AACA,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;;GACD,0BAA0B,CAgCtC;AAhCY,gEAA0B"}
|
|
@@ -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, _c;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.Channel = 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");
|
|
@@ -46,7 +44,7 @@ __decorate([
|
|
|
46
44
|
], Channel.prototype, "token", void 0);
|
|
47
45
|
__decorate([
|
|
48
46
|
typeorm_1.Column('varchar'),
|
|
49
|
-
__metadata("design:type",
|
|
47
|
+
__metadata("design:type", String)
|
|
50
48
|
], Channel.prototype, "defaultLanguageCode", void 0);
|
|
51
49
|
__decorate([
|
|
52
50
|
typeorm_1.ManyToOne(type => zone_entity_1.Zone),
|
|
@@ -58,7 +56,7 @@ __decorate([
|
|
|
58
56
|
], Channel.prototype, "defaultShippingZone", void 0);
|
|
59
57
|
__decorate([
|
|
60
58
|
typeorm_1.Column('varchar'),
|
|
61
|
-
__metadata("design:type",
|
|
59
|
+
__metadata("design:type", String)
|
|
62
60
|
], Channel.prototype, "currencyCode", void 0);
|
|
63
61
|
__decorate([
|
|
64
62
|
typeorm_1.Column(type => custom_entity_fields_1.CustomChannelFields),
|
|
@@ -70,7 +68,7 @@ __decorate([
|
|
|
70
68
|
], Channel.prototype, "pricesIncludeTax", void 0);
|
|
71
69
|
Channel = __decorate([
|
|
72
70
|
typeorm_1.Entity(),
|
|
73
|
-
__metadata("design:paramtypes", [
|
|
71
|
+
__metadata("design:paramtypes", [Object])
|
|
74
72
|
], Channel);
|
|
75
73
|
exports.Channel = Channel;
|
|
76
74
|
//# 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;AAEjF,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;;oDAAmC;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;;6CACS;AAG3B;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,0CAAmB,CAAC;8BACtB,0CAAmB;6CAAC;AAExB;IAAT,gBAAM,EAAE;;iDAA2B;AA5B3B,OAAO;IADnB,gBAAM,EAAE;;GACI,OAAO,CAkCnB;AAlCY,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, _b;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.CollectionAsset = 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 collection_entity_1 = require("./collection.entity");
|
|
@@ -22,7 +20,7 @@ let CollectionAsset = class CollectionAsset extends orderable_asset_entity_1.Ord
|
|
|
22
20
|
};
|
|
23
21
|
__decorate([
|
|
24
22
|
typeorm_1.Column(),
|
|
25
|
-
__metadata("design:type",
|
|
23
|
+
__metadata("design:type", Object)
|
|
26
24
|
], CollectionAsset.prototype, "collectionId", void 0);
|
|
27
25
|
__decorate([
|
|
28
26
|
typeorm_1.ManyToOne((type) => collection_entity_1.Collection, (collection) => collection.assets, { onDelete: 'CASCADE' }),
|
|
@@ -30,7 +28,7 @@ __decorate([
|
|
|
30
28
|
], CollectionAsset.prototype, "collection", void 0);
|
|
31
29
|
CollectionAsset = __decorate([
|
|
32
30
|
typeorm_1.Entity(),
|
|
33
|
-
__metadata("design:paramtypes", [
|
|
31
|
+
__metadata("design:paramtypes", [Object])
|
|
34
32
|
], CollectionAsset);
|
|
35
33
|
exports.CollectionAsset = CollectionAsset;
|
|
36
34
|
//# 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":";;;;;;;;;;;;AACA,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;;qDACQ;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;;GACI,eAAe,CAS3B;AATY,0CAAe"}
|
|
@@ -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.CollectionTranslation = 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 CollectionTranslation = class CollectionTranslation extends base_entity_1.Ve
|
|
|
24
22
|
};
|
|
25
23
|
__decorate([
|
|
26
24
|
typeorm_1.Column('varchar'),
|
|
27
|
-
__metadata("design:type",
|
|
25
|
+
__metadata("design:type", String)
|
|
28
26
|
], CollectionTranslation.prototype, "languageCode", void 0);
|
|
29
27
|
__decorate([
|
|
30
28
|
typeorm_1.Column(),
|
|
@@ -48,7 +46,7 @@ __decorate([
|
|
|
48
46
|
], CollectionTranslation.prototype, "customFields", void 0);
|
|
49
47
|
CollectionTranslation = __decorate([
|
|
50
48
|
typeorm_1.Entity(),
|
|
51
|
-
__metadata("design:paramtypes", [
|
|
49
|
+
__metadata("design:paramtypes", [Object])
|
|
52
50
|
], CollectionTranslation);
|
|
53
51
|
exports.CollectionTranslation = CollectionTranslation;
|
|
54
52
|
//# 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;AAEnE,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;;2DAA4B;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;;GACI,qBAAqB,CAsBjC;AAtBY,sDAAqB"}
|
|
@@ -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.Collection = 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");
|
|
@@ -95,7 +93,7 @@ Collection = __decorate([
|
|
|
95
93
|
// decendants or ancestors more than 1 level removed.
|
|
96
94
|
// @Tree('closure-table')
|
|
97
95
|
,
|
|
98
|
-
__metadata("design:paramtypes", [
|
|
96
|
+
__metadata("design:paramtypes", [Object])
|
|
99
97
|
], Collection);
|
|
100
98
|
exports.Collection = Collection;
|
|
101
99
|
//# 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":";;;;;;;;;;;;AAEA,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;;;GACZ,UAAU,CAgDtB;AAhDY,gCAAU"}
|
|
@@ -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.CountryTranslation = 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 CountryTranslation = class CountryTranslation 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
|
], CountryTranslation.prototype, "languageCode", void 0);
|
|
29
27
|
__decorate([
|
|
30
28
|
typeorm_1.Column(),
|
|
@@ -40,7 +38,7 @@ __decorate([
|
|
|
40
38
|
], CountryTranslation.prototype, "customFields", void 0);
|
|
41
39
|
CountryTranslation = __decorate([
|
|
42
40
|
typeorm_1.Entity(),
|
|
43
|
-
__metadata("design:paramtypes", [
|
|
41
|
+
__metadata("design:paramtypes", [Object])
|
|
44
42
|
], CountryTranslation);
|
|
45
43
|
exports.CountryTranslation = CountryTranslation;
|
|
46
44
|
//# 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;AAEnE,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;;wDAA4B;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;;GACI,kBAAkB,CAc9B;AAdY,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.Country = 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");
|
|
@@ -47,7 +45,7 @@ __decorate([
|
|
|
47
45
|
], Country.prototype, "customFields", void 0);
|
|
48
46
|
Country = __decorate([
|
|
49
47
|
typeorm_1.Entity(),
|
|
50
|
-
__metadata("design:paramtypes", [
|
|
48
|
+
__metadata("design:paramtypes", [Object])
|
|
51
49
|
], Country);
|
|
52
50
|
exports.Country = Country;
|
|
53
51
|
//# 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":";;;;;;;;;;;;AACA,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;;GACI,OAAO,CAgBnB;AAhBY,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.CustomerGroup = 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");
|
|
@@ -42,7 +40,7 @@ __decorate([
|
|
|
42
40
|
], CustomerGroup.prototype, "customFields", void 0);
|
|
43
41
|
CustomerGroup = __decorate([
|
|
44
42
|
typeorm_1.Entity(),
|
|
45
|
-
__metadata("design:paramtypes", [
|
|
43
|
+
__metadata("design:paramtypes", [Object])
|
|
46
44
|
], CustomerGroup);
|
|
47
45
|
exports.CustomerGroup = CustomerGroup;
|
|
48
46
|
//# 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":";;;;;;;;;;;;AACA,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;;GACI,aAAa,CAYzB;AAZY,sCAAa"}
|
|
@@ -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.FacetTranslation = 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 FacetTranslation = class FacetTranslation extends base_entity_1.VendureEntit
|
|
|
24
22
|
};
|
|
25
23
|
__decorate([
|
|
26
24
|
typeorm_1.Column('varchar'),
|
|
27
|
-
__metadata("design:type",
|
|
25
|
+
__metadata("design:type", String)
|
|
28
26
|
], FacetTranslation.prototype, "languageCode", void 0);
|
|
29
27
|
__decorate([
|
|
30
28
|
typeorm_1.Column(),
|
|
@@ -40,7 +38,7 @@ __decorate([
|
|
|
40
38
|
], FacetTranslation.prototype, "customFields", void 0);
|
|
41
39
|
FacetTranslation = __decorate([
|
|
42
40
|
typeorm_1.Entity(),
|
|
43
|
-
__metadata("design:paramtypes", [
|
|
41
|
+
__metadata("design:paramtypes", [Object])
|
|
44
42
|
], FacetTranslation);
|
|
45
43
|
exports.FacetTranslation = FacetTranslation;
|
|
46
44
|
//# 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;AAEnE,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;;sDAA4B;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;;GACI,gBAAgB,CAc5B;AAdY,4CAAgB"}
|
|
@@ -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.Facet = 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");
|
|
@@ -61,7 +59,7 @@ __decorate([
|
|
|
61
59
|
], Facet.prototype, "channels", void 0);
|
|
62
60
|
Facet = __decorate([
|
|
63
61
|
typeorm_1.Entity(),
|
|
64
|
-
__metadata("design:paramtypes", [
|
|
62
|
+
__metadata("design:paramtypes", [Object])
|
|
65
63
|
], Facet);
|
|
66
64
|
exports.Facet = Facet;
|
|
67
65
|
//# 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":";;;;;;;;;;;;AACA,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;;GACI,KAAK,CAyBjB;AAzBY,sBAAK"}
|
|
@@ -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.FacetValueTranslation = 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 FacetValueTranslation = class FacetValueTranslation extends base_entity_1.Ve
|
|
|
24
22
|
};
|
|
25
23
|
__decorate([
|
|
26
24
|
typeorm_1.Column('varchar'),
|
|
27
|
-
__metadata("design:type",
|
|
25
|
+
__metadata("design:type", String)
|
|
28
26
|
], FacetValueTranslation.prototype, "languageCode", void 0);
|
|
29
27
|
__decorate([
|
|
30
28
|
typeorm_1.Column(),
|
|
@@ -40,7 +38,7 @@ __decorate([
|
|
|
40
38
|
], FacetValueTranslation.prototype, "customFields", void 0);
|
|
41
39
|
FacetValueTranslation = __decorate([
|
|
42
40
|
typeorm_1.Entity(),
|
|
43
|
-
__metadata("design:paramtypes", [
|
|
41
|
+
__metadata("design:paramtypes", [Object])
|
|
44
42
|
], FacetValueTranslation);
|
|
45
43
|
exports.FacetValueTranslation = FacetValueTranslation;
|
|
46
44
|
//# 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;AAEnE,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;;2DAA4B;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;;GACI,qBAAqB,CAcjC;AAdY,sDAAqB"}
|
|
@@ -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.FacetValue = 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");
|
|
@@ -52,7 +50,7 @@ __decorate([
|
|
|
52
50
|
], FacetValue.prototype, "channels", void 0);
|
|
53
51
|
FacetValue = __decorate([
|
|
54
52
|
typeorm_1.Entity(),
|
|
55
|
-
__metadata("design:paramtypes", [
|
|
53
|
+
__metadata("design:paramtypes", [Object])
|
|
56
54
|
], FacetValue);
|
|
57
55
|
exports.FacetValue = FacetValue;
|
|
58
56
|
//# 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":";;;;;;;;;;;;AACA,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;;GACI,UAAU,CAoBtB;AApBY,gCAAU"}
|
|
@@ -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.ProductAsset = 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_entity_1 = require("./product.entity");
|
|
@@ -22,7 +20,7 @@ let ProductAsset = class ProductAsset extends orderable_asset_entity_1.Orderable
|
|
|
22
20
|
};
|
|
23
21
|
__decorate([
|
|
24
22
|
typeorm_1.Column(),
|
|
25
|
-
__metadata("design:type",
|
|
23
|
+
__metadata("design:type", Object)
|
|
26
24
|
], ProductAsset.prototype, "productId", void 0);
|
|
27
25
|
__decorate([
|
|
28
26
|
typeorm_1.ManyToOne((type) => product_entity_1.Product, (product) => product.assets, { onDelete: 'CASCADE' }),
|
|
@@ -30,7 +28,7 @@ __decorate([
|
|
|
30
28
|
], ProductAsset.prototype, "product", void 0);
|
|
31
29
|
ProductAsset = __decorate([
|
|
32
30
|
typeorm_1.Entity(),
|
|
33
|
-
__metadata("design:paramtypes", [
|
|
31
|
+
__metadata("design:paramtypes", [Object])
|
|
34
32
|
], ProductAsset);
|
|
35
33
|
exports.ProductAsset = ProductAsset;
|
|
36
34
|
//# 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":";;;;;;;;;;;;AACA,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;;+CACK;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;;GACI,YAAY,CASxB;AATY,oCAAY"}
|