@vendure/core 1.9.3 → 1.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/constants.d.ts +1 -2
- package/dist/config/auth/native-authentication-strategy.js +5 -5
- package/dist/data-import/providers/importer/fast-importer.service.js +15 -3
- package/dist/data-import/providers/importer/fast-importer.service.js.map +1 -1
- package/dist/entity/administrator/administrator.entity.js +3 -1
- package/dist/entity/administrator/administrator.entity.js.map +1 -1
- package/dist/entity/asset/asset.entity.js +4 -2
- package/dist/entity/asset/asset.entity.js.map +1 -1
- package/dist/entity/asset/orderable-asset.entity.js +3 -1
- package/dist/entity/asset/orderable-asset.entity.js.map +1 -1
- package/dist/entity/authentication-method/external-authentication-method.entity.js +3 -1
- package/dist/entity/authentication-method/external-authentication-method.entity.js.map +1 -1
- package/dist/entity/authentication-method/native-authentication-method.entity.js +3 -1
- package/dist/entity/authentication-method/native-authentication-method.entity.js.map +1 -1
- package/dist/entity/channel/channel.entity.js +5 -3
- package/dist/entity/channel/channel.entity.js.map +1 -1
- package/dist/entity/collection/collection-asset.entity.js +4 -2
- package/dist/entity/collection/collection-asset.entity.js.map +1 -1
- package/dist/entity/collection/collection-translation.entity.js +4 -2
- package/dist/entity/collection/collection-translation.entity.js.map +1 -1
- package/dist/entity/collection/collection.entity.js +3 -1
- package/dist/entity/collection/collection.entity.js.map +1 -1
- package/dist/entity/country/country-translation.entity.js +4 -2
- package/dist/entity/country/country-translation.entity.js.map +1 -1
- package/dist/entity/country/country.entity.js +3 -1
- package/dist/entity/country/country.entity.js.map +1 -1
- package/dist/entity/customer-group/customer-group.entity.js +3 -1
- package/dist/entity/customer-group/customer-group.entity.js.map +1 -1
- package/dist/entity/facet/facet-translation.entity.js +4 -2
- package/dist/entity/facet/facet-translation.entity.js.map +1 -1
- package/dist/entity/facet/facet.entity.js +3 -1
- package/dist/entity/facet/facet.entity.js.map +1 -1
- package/dist/entity/facet-value/facet-value-translation.entity.js +4 -2
- package/dist/entity/facet-value/facet-value-translation.entity.js.map +1 -1
- package/dist/entity/facet-value/facet-value.entity.js +3 -1
- package/dist/entity/facet-value/facet-value.entity.js.map +1 -1
- package/dist/entity/product/product-asset.entity.js +4 -2
- package/dist/entity/product/product-asset.entity.js.map +1 -1
- package/dist/entity/product/product-translation.entity.js +4 -2
- package/dist/entity/product/product-translation.entity.js.map +1 -1
- package/dist/entity/product/product.entity.js +3 -1
- package/dist/entity/product/product.entity.js.map +1 -1
- package/dist/entity/product-option/product-option-translation.entity.js +4 -2
- package/dist/entity/product-option/product-option-translation.entity.js.map +1 -1
- package/dist/entity/product-option-group/product-option-group-translation.entity.js +4 -2
- package/dist/entity/product-option-group/product-option-group-translation.entity.js.map +1 -1
- package/dist/entity/product-option-group/product-option-group.entity.js +3 -1
- package/dist/entity/product-option-group/product-option-group.entity.js.map +1 -1
- package/dist/entity/product-variant/product-variant-asset.entity.js +4 -2
- package/dist/entity/product-variant/product-variant-asset.entity.js.map +1 -1
- package/dist/entity/product-variant/product-variant-translation.entity.js +4 -2
- package/dist/entity/product-variant/product-variant-translation.entity.js.map +1 -1
- package/dist/entity/role/role.entity.js +3 -1
- package/dist/entity/role/role.entity.js.map +1 -1
- package/dist/entity/stock-movement/stock-movement.entity.js +2 -1
- package/dist/entity/stock-movement/stock-movement.entity.js.map +1 -1
- package/dist/entity/tag/tag.entity.js +3 -1
- package/dist/entity/tag/tag.entity.js.map +1 -1
- package/dist/entity/tax-category/tax-category.entity.js +3 -1
- package/dist/entity/tax-category/tax-category.entity.js.map +1 -1
- package/dist/entity/tax-rate/tax-rate.entity.js +3 -1
- package/dist/entity/tax-rate/tax-rate.entity.js.map +1 -1
- package/dist/entity/user/user.entity.js +3 -1
- package/dist/entity/user/user.entity.js.map +1 -1
- package/dist/entity/zone/zone.entity.js +3 -1
- package/dist/entity/zone/zone.entity.js.map +1 -1
- package/dist/event-bus/events/change-channel-event.d.ts +3 -3
- package/dist/event-bus/events/customer-address-event.d.ts +2 -2
- package/dist/job-queue/in-memory-job-queue-strategy.d.ts +1 -1
- package/dist/service/helpers/list-query-builder/list-query-builder.d.ts +1 -0
- package/dist/service/helpers/list-query-builder/list-query-builder.js +22 -1
- package/dist/service/helpers/list-query-builder/list-query-builder.js.map +1 -1
- package/dist/service/services/payment.service.js +1 -2
- package/dist/service/services/payment.service.js.map +1 -1
- package/dist/service/services/product-variant.service.js +1 -1
- package/dist/service/services/product-variant.service.js.map +1 -1
- package/dist/service/services/promotion.service.js +2 -1
- package/dist/service/services/promotion.service.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,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";
|
|
@@ -49,11 +49,11 @@ class NativeAuthenticationStrategy {
|
|
|
49
49
|
this.userService = injector.get(UserService);
|
|
50
50
|
}
|
|
51
51
|
defineInputType() {
|
|
52
|
-
return graphql_tag_1.default `
|
|
53
|
-
input NativeAuthInput {
|
|
54
|
-
username: String!
|
|
55
|
-
password: String!
|
|
56
|
-
}
|
|
52
|
+
return graphql_tag_1.default `
|
|
53
|
+
input NativeAuthInput {
|
|
54
|
+
username: String!
|
|
55
|
+
password: String!
|
|
56
|
+
}
|
|
57
57
|
`;
|
|
58
58
|
}
|
|
59
59
|
async authenticate(ctx, data) {
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.FastImporterService = void 0;
|
|
13
13
|
const common_1 = require("@nestjs/common");
|
|
14
|
+
const normalize_string_1 = require("@vendure/common/lib/normalize-string");
|
|
14
15
|
const unique_1 = require("@vendure/common/lib/unique");
|
|
15
16
|
const request_context_1 = require("../../../api/common/request-context");
|
|
16
17
|
const transactional_connection_1 = require("../../../connection/transactional-connection");
|
|
@@ -67,6 +68,11 @@ let FastImporterService = class FastImporterService {
|
|
|
67
68
|
}
|
|
68
69
|
async createProduct(input) {
|
|
69
70
|
this.ensureInitialized();
|
|
71
|
+
// https://github.com/vendure-ecommerce/vendure/issues/2053
|
|
72
|
+
// normalizes slug without validation for faster performance
|
|
73
|
+
input.translations.map(translation => {
|
|
74
|
+
translation.slug = normalize_string_1.normalizeString(translation.slug, '-');
|
|
75
|
+
});
|
|
70
76
|
const product = await this.translatableSaver.create({
|
|
71
77
|
ctx: this.importCtx,
|
|
72
78
|
input,
|
|
@@ -88,7 +94,9 @@ let FastImporterService = class FastImporterService {
|
|
|
88
94
|
productId: product.id,
|
|
89
95
|
position: i,
|
|
90
96
|
}));
|
|
91
|
-
await this.connection
|
|
97
|
+
await this.connection
|
|
98
|
+
.getRepository(this.importCtx, product_asset_entity_1.ProductAsset)
|
|
99
|
+
.save(productAssets, { reload: false });
|
|
92
100
|
}
|
|
93
101
|
return product.id;
|
|
94
102
|
}
|
|
@@ -159,7 +167,9 @@ let FastImporterService = class FastImporterService {
|
|
|
159
167
|
productVariantId: createdVariant.id,
|
|
160
168
|
position: i,
|
|
161
169
|
}));
|
|
162
|
-
await this.connection
|
|
170
|
+
await this.connection
|
|
171
|
+
.getRepository(this.importCtx, product_variant_asset_entity_1.ProductVariantAsset)
|
|
172
|
+
.save(variantAssets, { reload: false });
|
|
163
173
|
}
|
|
164
174
|
if (input.stockOnHand != null && input.stockOnHand !== 0) {
|
|
165
175
|
await this.stockMovementService.adjustProductVariantStock(this.importCtx, createdVariant.id, 0, input.stockOnHand);
|
|
@@ -171,7 +181,9 @@ let FastImporterService = class FastImporterService {
|
|
|
171
181
|
channelId,
|
|
172
182
|
});
|
|
173
183
|
variantPrice.variant = createdVariant;
|
|
174
|
-
await this.connection
|
|
184
|
+
await this.connection
|
|
185
|
+
.getRepository(this.importCtx, product_variant_price_entity_1.ProductVariantPrice)
|
|
186
|
+
.save(variantPrice, { reload: false });
|
|
175
187
|
}
|
|
176
188
|
return createdVariant.id;
|
|
177
189
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fast-importer.service.js","sourceRoot":"","sources":["../../../../src/data-import/providers/importer/fast-importer.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;
|
|
1
|
+
{"version":3,"file":"fast-importer.service.js","sourceRoot":"","sources":["../../../../src/data-import/providers/importer/fast-importer.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAO5C,2EAAuE;AAEvE,uDAAoD;AAEpD,yEAAqE;AACrE,2FAAuF;AAEvF,0IAA6H;AAC7H,kHAAsG;AACtG,wHAA4G;AAC5G,gGAAqF;AACrF,+GAAmG;AACnG,+GAAmG;AACnG,2HAA+G;AAC/G,mGAAwF;AACxF,uFAA4E;AAC5E,mGAAwF;AACxF,2EAAiE;AACjE,uGAAmG;AACnG,kDAA+D;AAC/D,+EAA2E;AAC3E,6FAAwF;AAExF;;;;;;;;;GASG;AAEH,IAAa,mBAAmB,GAAhC,MAAa,mBAAmB;IAI5B,gBAAgB;IAChB,YACY,UAAmC,EACnC,cAA8B,EAC9B,oBAA0C,EAC1C,iBAAoC,EACpC,qBAA4C;QAJ5C,eAAU,GAAV,UAAU,CAAyB;QACnC,mBAAc,GAAd,cAAc,CAAgB;QAC9B,yBAAoB,GAApB,oBAAoB,CAAsB;QAC1C,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,0BAAqB,GAArB,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EACd,cAAc,CAAC,EAAE,EACjB,CAAC,EACD,KAAK,CAAC,WAAW,CACpB,CAAC;SACL;QACD,MAAM,kBAAkB,GAAG,eAAM,CAAC,CAAC,IAAI,CAAC,cAAc,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QACtG,KAAK,MAAM,SAAS,IAAI,kBAAkB,EAAE;YACxC,MAAM,YAAY,GAAG,IAAI,kDAAmB,CAAC;gBACzC,KAAK,EAAE,KAAK,CAAC,KAAK;gBAClB,SAAS;aACZ,CAAC,CAAC;YACH,YAAY,CAAC,OAAO,GAAG,cAAc,CAAC;YACtC,MAAM,IAAI,CAAC,UAAU;iBAChB,aAAa,CAAC,IAAI,CAAC,SAAS,EAAE,kDAAmB,CAAC;iBAClD,IAAI,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;SAC9C;QAED,OAAO,cAAc,CAAC,EAAE,CAAC;IAC7B,CAAC;IAEO,iBAAiB;QACrB,IAAI,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACzC,MAAM,IAAI,KAAK,CACX,iGAAiG,CACpG,CAAC;SACL;IACL,CAAC;CACJ,CAAA;AApLY,mBAAmB;IAD/B,mBAAU,EAAE;qCAOe,kDAAuB;QACnB,gCAAc;QACR,6CAAoB;QACvB,sCAAiB;QACb,6BAAqB;GAV/C,mBAAmB,CAoL/B;AApLY,kDAAmB"}
|
|
@@ -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;IAD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|
|
|
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
|