@vendure/core 2.0.1 → 2.0.3
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/api/api-internal-modules.d.ts +2 -2
- package/dist/api/api-internal-modules.js +1 -1
- package/dist/api/api-internal-modules.js.map +1 -1
- package/dist/api/config/configure-graphql-module.js +1 -1
- package/dist/api/config/configure-graphql-module.js.map +1 -1
- package/dist/api/resolvers/entity/product-entity.resolver.d.ts +3 -1
- package/dist/api/resolvers/entity/product-entity.resolver.js +11 -10
- package/dist/api/resolvers/entity/product-entity.resolver.js.map +1 -1
- package/dist/common/types/common-types.d.ts +22 -0
- package/dist/config/default-config.js +1 -0
- package/dist/config/default-config.js.map +1 -1
- package/dist/i18n/i18n.service.d.ts +1 -1
- package/dist/i18n/i18n.service.js +3 -3
- package/dist/i18n/i18n.service.js.map +1 -1
- package/dist/i18n/messages/de.json +4 -4
- package/dist/i18n/messages/en.json +23 -23
- package/dist/i18n/messages/es.json +8 -8
- package/dist/i18n/messages/pt_BR.json +16 -16
- package/dist/i18n/messages/pt_PT.json +24 -24
- package/dist/i18n/messages/ru.json +23 -23
- package/dist/i18n/messages/uk.json +23 -23
- package/dist/service/helpers/list-query-builder/list-query-builder.d.ts +10 -0
- package/dist/service/helpers/list-query-builder/list-query-builder.js +7 -3
- package/dist/service/helpers/list-query-builder/list-query-builder.js.map +1 -1
- package/dist/service/helpers/locale-string-hydrator/locale-string-hydrator.js +2 -2
- package/dist/service/helpers/locale-string-hydrator/locale-string-hydrator.js.map +1 -1
- package/dist/service/services/channel.service.js +30 -2
- package/dist/service/services/channel.service.js.map +1 -1
- package/dist/service/services/customer.service.js +1 -1
- package/dist/service/services/customer.service.js.map +1 -1
- package/dist/service/services/product-variant.service.js +3 -3
- package/dist/service/services/product-variant.service.js.map +1 -1
- package/dist/service/services/product.service.js +1 -1
- package/dist/service/services/product.service.js.map +1 -1
- package/dist/service/services/user.service.d.ts +4 -2
- package/dist/service/services/user.service.js +17 -13
- package/dist/service/services/user.service.js.map +1 -1
- package/package.json +8 -7
|
@@ -26,8 +26,8 @@ import { ShippingMethodEntityResolver } from './resolvers/entity/shipping-method
|
|
|
26
26
|
import { TaxRateEntityResolver } from './resolvers/entity/tax-rate-entity.resolver';
|
|
27
27
|
import { UserEntityResolver } from './resolvers/entity/user-entity.resolver';
|
|
28
28
|
import { ZoneEntityResolver } from './resolvers/entity/zone-entity.resolver';
|
|
29
|
-
export declare const entityResolvers: (typeof ChannelEntityResolver | typeof CollectionEntityResolver | typeof CountryEntityResolver | typeof CustomerEntityResolver | typeof CustomerGroupEntityResolver | typeof FacetEntityResolver | typeof FacetValueEntityResolver | typeof FulfillmentEntityResolver | typeof FulfillmentLineEntityResolver | typeof OrderEntityResolver | typeof OrderLineEntityResolver | typeof PaymentEntityResolver | typeof ProductEntityResolver | typeof ProductOptionEntityResolver | typeof ProductOptionGroupEntityResolver | typeof ProductVariantEntityResolver | typeof RefundEntityResolver | typeof RefundLineEntityResolver | typeof RoleEntityResolver | typeof ShippingLineEntityResolver | typeof ShippingMethodEntityResolver | typeof TaxRateEntityResolver | typeof UserEntityResolver | typeof ZoneEntityResolver)[];
|
|
30
|
-
export declare const adminEntityResolvers: (typeof AdministratorEntityResolver | typeof
|
|
29
|
+
export declare const entityResolvers: (typeof AssetEntityResolver | typeof ChannelEntityResolver | typeof CollectionEntityResolver | typeof CountryEntityResolver | typeof CustomerEntityResolver | typeof CustomerGroupEntityResolver | typeof FacetEntityResolver | typeof FacetValueEntityResolver | typeof FulfillmentEntityResolver | typeof FulfillmentLineEntityResolver | typeof OrderEntityResolver | typeof OrderLineEntityResolver | typeof PaymentEntityResolver | typeof ProductEntityResolver | typeof ProductOptionEntityResolver | typeof ProductOptionGroupEntityResolver | typeof ProductVariantEntityResolver | typeof RefundEntityResolver | typeof RefundLineEntityResolver | typeof RoleEntityResolver | typeof ShippingLineEntityResolver | typeof ShippingMethodEntityResolver | typeof TaxRateEntityResolver | typeof UserEntityResolver | typeof ZoneEntityResolver)[];
|
|
30
|
+
export declare const adminEntityResolvers: (typeof AdministratorEntityResolver | typeof CustomerAdminEntityResolver | typeof FulfillmentAdminEntityResolver | typeof JobEntityResolver | typeof OrderAdminEntityResolver | typeof PaymentAdminEntityResolver | typeof PaymentMethodEntityResolver | typeof ProductAdminEntityResolver | typeof ProductVariantAdminEntityResolver)[];
|
|
31
31
|
/**
|
|
32
32
|
* The internal module containing some shared providers used by more than
|
|
33
33
|
* one API module.
|
|
@@ -115,6 +115,7 @@ const shopResolvers = [
|
|
|
115
115
|
shop_environment_resolver_1.ShopEnvironmentResolver,
|
|
116
116
|
];
|
|
117
117
|
exports.entityResolvers = [
|
|
118
|
+
asset_entity_resolver_1.AssetEntityResolver,
|
|
118
119
|
channel_entity_resolver_1.ChannelEntityResolver,
|
|
119
120
|
collection_entity_resolver_1.CollectionEntityResolver,
|
|
120
121
|
country_entity_resolver_1.CountryEntityResolver,
|
|
@@ -142,7 +143,6 @@ exports.entityResolvers = [
|
|
|
142
143
|
];
|
|
143
144
|
exports.adminEntityResolvers = [
|
|
144
145
|
administrator_entity_resolver_1.AdministratorEntityResolver,
|
|
145
|
-
asset_entity_resolver_1.AssetEntityResolver,
|
|
146
146
|
customer_entity_resolver_1.CustomerAdminEntityResolver,
|
|
147
147
|
order_entity_resolver_1.OrderAdminEntityResolver,
|
|
148
148
|
payment_method_entity_resolver_1.PaymentMethodEntityResolver,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-internal-modules.js","sourceRoot":"","sources":["../../src/api/api-internal-modules.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AAExC,wDAAoD;AACpD,2DAAuD;AACvD,uEAAmE;AACnE,0EAAqE;AACrE,oEAA+D;AAC/D,mFAA4F;AAC5F,8DAA0D;AAE1D,wFAAmF;AACnF,4GAAqG;AACrG,gEAA2D;AAC3D,qFAAiF;AACjF,qEAAiE;AACjE,mEAA+D;AAC/D,yEAAq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F,MAAM,aAAa,GAAG;IAClB,qCAAgB;IAChB,6CAAoB;IACpB,uCAAiB;IACjB,6CAAoB;IACpB,mDAAuB;CAC1B,CAAC;AAEW,QAAA,eAAe,GAAG;IAC3B,+CAAqB;IACrB,qDAAwB;IACxB,+CAAqB;IACrB,iDAAsB;IACtB,4DAA2B;IAC3B,2CAAmB;IACnB,sDAAwB;IACxB,uDAAyB;IACzB,gEAA6B;IAC7B,2CAAmB;IACnB,oDAAuB;IACvB,+CAAqB;IACrB,+CAAqB;IACrB,4DAA2B;IAC3B,uEAAgC;IAChC,8DAA4B;IAC5B,6CAAoB;IACpB,sDAAwB;IACxB,yCAAkB;IAClB,0DAA0B;IAC1B,yCAAkB;IAClB,gDAAqB;IACrB,8DAA4B;IAC5B,yCAAkB;CACrB,CAAC;AAEW,QAAA,oBAAoB,GAAG;IAChC,2DAA2B;IAC3B,
|
|
1
|
+
{"version":3,"file":"api-internal-modules.js","sourceRoot":"","sources":["../../src/api/api-internal-modules.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AAExC,wDAAoD;AACpD,2DAAuD;AACvD,uEAAmE;AACnE,0EAAqE;AACrE,oEAA+D;AAC/D,mFAA4F;AAC5F,8DAA0D;AAE1D,wFAAmF;AACnF,4GAAqG;AACrG,gEAA2D;AAC3D,qFAAiF;AACjF,qEAAiE;AACjE,mEAA+D;AAC/D,yEAAqE;AACrE,+EAA2E;AAC3E,yEAAqE;AACrE,uFAAkF;AAClF,2EAAuE;AACvE,iFAA4E;AAC5E,qEAAiE;AACjE,yFAAoF;AACpF,uEAAmE;AACnE,iEAA6D;AAC7D,qEAAiE;AACjE,uFAAkF;AAClF,uFAAkF;AAClF,yEAAqE;AACrE,6EAAyE;AACzE,mEAA+D;AAC/D,uEAAmE;AACnE,uEAAmE;AACnE,yFAAoF;AACpF,uFAAkF;AAClF,iEAA6D;AAC7D,mFAA8E;AAC9E,2EAAsE;AACtE,mEAA+D;AAC/D,oGAA+F;AAC/F,oFAA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EAAC;QACJ,OAAO,EAAE,CAAC,eAAe,EAAE,GAAG,IAAA,iEAAqC,EAAC,MAAM,CAAC,CAAC;QAC5E,SAAS,EAAE,CAAC,GAAG,aAAa,EAAE,GAAG,uBAAe,CAAC;QACjD,OAAO,EAAE,CAAC,GAAG,aAAa,CAAC;KAC9B,CAAC;GACW,aAAa,CAAG;AAAhB,sCAAa"}
|
|
@@ -71,7 +71,7 @@ async function createGraphQLOptions(i18nService, configService, idCodecService,
|
|
|
71
71
|
new id_codec_plugin_1.IdCodecPlugin(idCodecService),
|
|
72
72
|
new translate_errors_plugin_1.TranslateErrorsPlugin(i18nService),
|
|
73
73
|
new asset_interceptor_plugin_1.AssetInterceptorPlugin(configService),
|
|
74
|
-
(0, apollo_server_core_1.ApolloServerPluginLandingPageGraphQLPlayground)(),
|
|
74
|
+
...(options.playground ? [(0, apollo_server_core_1.ApolloServerPluginLandingPageGraphQLPlayground)()] : []),
|
|
75
75
|
...configService.apiOptions.apolloServerPlugins,
|
|
76
76
|
],
|
|
77
77
|
validationRules: options.validationRules,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configure-graphql-module.js","sourceRoot":"","sources":["../../../src/api/config/configure-graphql-module.ts"],"names":[],"mappings":";;;;;;AAAA,2CAA8C;AAE9C,6CAAsF;AACtF,mEAAsE;AACtE,2DAAoF;AACpF,qCAAmG;AACnG,gDAAwB;AAExB,8DAA0D;AAC1D,gEAA4D;AAC5D,wDAAoD;AACpD,0DAAsD;AAEtD,kEAAsE;AACtE,iEAA6D;AAC7D,kEAAyE;AACzE,6GAAsG;AACtG,iEAA4D;AAC5D,qFAAgF;AAChF,mEAA8D;AAC9D,mFAA8E;AAE9E,+EAAyE;AACzE,+DAAoE;AACpE,yEAAmE;AACnE,mEAA8D;AAC9D,iEAAgE;AAChE,6DAAyD;AACzD,mEASiC;AAajC;;GAEG;AACH,SAAgB,sBAAsB,CAClC,UAA+D;IAE/D,OAAO,uBAAa,CAAC,YAAY,CA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+BAAa,CAAC,cAAc,CAAC;YACjC,IAAI,+CAAqB,CAAC,WAAW,CAAC;YACtC,IAAI,iDAAsB,CAAC,aAAa,CAAC;YACzC,IAAA,mEAA8C,GAAE;
|
|
1
|
+
{"version":3,"file":"configure-graphql-module.js","sourceRoot":"","sources":["../../../src/api/config/configure-graphql-module.ts"],"names":[],"mappings":";;;;;;AAAA,2CAA8C;AAE9C,6CAAsF;AACtF,mEAAsE;AACtE,2DAAoF;AACpF,qCAAmG;AACnG,gDAAwB;AAExB,8DAA0D;AAC1D,gEAA4D;AAC5D,wDAAoD;AACpD,0DAAsD;AAEtD,kEAAsE;AACtE,iEAA6D;AAC7D,kEAAyE;AACzE,6GAAsG;AACtG,iEAA4D;AAC5D,qFAAgF;AAChF,mEAA8D;AAC9D,mFAA8E;AAE9E,+EAAyE;AACzE,+DAAoE;AACpE,yEAAmE;AACnE,mEAA8D;AAC9D,iEAAgE;AAChE,6DAAyD;AACzD,mEASiC;AAajC;;GAEG;AACH,SAAgB,sBAAsB,CAClC,UAA+D;IAE/D,OAAO,uBAAa,CAAC,YAAY,CAAC;QAC9B,MAAM,EAAE,qBAAY;QACpB,UAAU,EAAE,CACR,aAA4B,EAC5B,WAAwB,EACxB,cAA8B,EAC9B,WAA+B,EAC/B,kCAAsE,EACxE,EAAE;YACA,OAAO,oBAAoB,CACvB,WAAW,EACX,aAAa,EACb,cAAc,EACd,WAAW,EACX,kCAAkC,EAClC,UAAU,CAAC,aAAa,CAAC,CAC5B,CAAC;QACN,CAAC;QACD,MAAM,EAAE;YACJ,8BAAa;YACb,0BAAW;YACX,iCAAc;YACd,4BAAkB;YAClB,2EAAkC;SACrC;QACD,OAAO,EAAE,CAAC,4BAAY,EAAE,wBAAU,EAAE,sCAAe,EAAE,8BAAa,CAAC;KACtE,CAAC,CAAC;AACP,CAAC;AA9BD,wDA8BC;AAED,KAAK,UAAU,oBAAoB,CAC/B,WAAwB,EACxB,aAA4B,EAC5B,cAA8B,EAC9B,WAA+B,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AI,EAAE,CAAC,CAAC;QACvF,MAAM,GAAG,IAAA,yDAAiC,EAAC,MAAM,EAAE,YAAY,CAAC,aAAa,IAAI,EAAE,CAAC,CAAC;QACrF,MAAM,GAAG,IAAA,iDAA2B,EAAC,MAAM,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,GAAG,IAAA,gDAAqB,EAAC,MAAM,CAAC,CAAC;QACvC,IAAI,OAAO,KAAK,OAAO,EAAE;YACrB,MAAM,GAAG,IAAA,mDAA2B,EAAC,MAAM,EAAE,YAAY,CAAC,CAAC;YAC3D,MAAM,GAAG,IAAA,0DAAkC,EAAC,MAAM,EAAE,YAAY,CAAC,aAAa,CAAC,CAAC;SACnF;QACD,IAAI,OAAO,KAAK,MAAM,EAAE;YACpB,MAAM,GAAG,IAAA,4DAAoC,EAAC,MAAM,EAAE,YAAY,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;YACnF,MAAM,GAAG,IAAA,sDAAwB,EAAC,MAAM,EAAE,aAAa,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAAC;SAC7F;QACD,MAAM,GAAG,IAAA,6CAAsB,EAAC,MAAM,EAAE,aAAa,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC;QAErF,OAAO,MAAM,CAAC;IAClB,CAAC;AACL,CAAC"}
|
|
@@ -11,6 +11,7 @@ import { ProductVariant } from '../../../entity/product-variant/product-variant.
|
|
|
11
11
|
import { LocaleStringHydrator } from '../../../service/helpers/locale-string-hydrator/locale-string-hydrator';
|
|
12
12
|
import { AssetService } from '../../../service/services/asset.service';
|
|
13
13
|
import { CollectionService } from '../../../service/services/collection.service';
|
|
14
|
+
import { FacetValueService } from '../../../service/services/facet-value.service';
|
|
14
15
|
import { ProductOptionGroupService } from '../../../service/services/product-option-group.service';
|
|
15
16
|
import { ProductVariantService } from '../../../service/services/product-variant.service';
|
|
16
17
|
import { ProductService } from '../../../service/services/product.service';
|
|
@@ -23,8 +24,9 @@ export declare class ProductEntityResolver {
|
|
|
23
24
|
private productOptionGroupService;
|
|
24
25
|
private assetService;
|
|
25
26
|
private productService;
|
|
27
|
+
private facetValueService;
|
|
26
28
|
private localeStringHydrator;
|
|
27
|
-
constructor(productVariantService: ProductVariantService, collectionService: CollectionService, productOptionGroupService: ProductOptionGroupService, assetService: AssetService, productService: ProductService, localeStringHydrator: LocaleStringHydrator);
|
|
29
|
+
constructor(productVariantService: ProductVariantService, collectionService: CollectionService, productOptionGroupService: ProductOptionGroupService, assetService: AssetService, productService: ProductService, facetValueService: FacetValueService, localeStringHydrator: LocaleStringHydrator);
|
|
28
30
|
name(ctx: RequestContext, product: Product): Promise<string>;
|
|
29
31
|
slug(ctx: RequestContext, product: Product): Promise<string>;
|
|
30
32
|
description(ctx: RequestContext, product: Product): Promise<string>;
|
|
@@ -21,6 +21,7 @@ const product_variant_entity_1 = require("../../../entity/product-variant/produc
|
|
|
21
21
|
const locale_string_hydrator_1 = require("../../../service/helpers/locale-string-hydrator/locale-string-hydrator");
|
|
22
22
|
const asset_service_1 = require("../../../service/services/asset.service");
|
|
23
23
|
const collection_service_1 = require("../../../service/services/collection.service");
|
|
24
|
+
const facet_value_service_1 = require("../../../service/services/facet-value.service");
|
|
24
25
|
const product_option_group_service_1 = require("../../../service/services/product-option-group.service");
|
|
25
26
|
const product_variant_service_1 = require("../../../service/services/product-variant.service");
|
|
26
27
|
const product_service_1 = require("../../../service/services/product.service");
|
|
@@ -29,12 +30,13 @@ const api_decorator_1 = require("../../decorators/api.decorator");
|
|
|
29
30
|
const relations_decorator_1 = require("../../decorators/relations.decorator");
|
|
30
31
|
const request_context_decorator_1 = require("../../decorators/request-context.decorator");
|
|
31
32
|
let ProductEntityResolver = class ProductEntityResolver {
|
|
32
|
-
constructor(productVariantService, collectionService, productOptionGroupService, assetService, productService, localeStringHydrator) {
|
|
33
|
+
constructor(productVariantService, collectionService, productOptionGroupService, assetService, productService, facetValueService, localeStringHydrator) {
|
|
33
34
|
this.productVariantService = productVariantService;
|
|
34
35
|
this.collectionService = collectionService;
|
|
35
36
|
this.productOptionGroupService = productOptionGroupService;
|
|
36
37
|
this.assetService = assetService;
|
|
37
38
|
this.productService = productService;
|
|
39
|
+
this.facetValueService = facetValueService;
|
|
38
40
|
this.localeStringHydrator = localeStringHydrator;
|
|
39
41
|
}
|
|
40
42
|
name(ctx, product) {
|
|
@@ -74,15 +76,13 @@ let ProductEntityResolver = class ProductEntityResolver {
|
|
|
74
76
|
else {
|
|
75
77
|
facetValues = await this.productService.getFacetValuesForProduct(ctx, product.id);
|
|
76
78
|
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
return true;
|
|
85
|
-
});
|
|
79
|
+
const filteredFacetValues = await this.facetValueService.findByIds(ctx, facetValues.map(facetValue => facetValue.id));
|
|
80
|
+
if (apiType === 'shop') {
|
|
81
|
+
return filteredFacetValues.filter(fv => !fv.facet.isPrivate);
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
return filteredFacetValues;
|
|
85
|
+
}
|
|
86
86
|
}
|
|
87
87
|
async featuredAsset(ctx, product) {
|
|
88
88
|
if (product.featuredAsset) {
|
|
@@ -200,6 +200,7 @@ ProductEntityResolver = __decorate([
|
|
|
200
200
|
product_option_group_service_1.ProductOptionGroupService,
|
|
201
201
|
asset_service_1.AssetService,
|
|
202
202
|
product_service_1.ProductService,
|
|
203
|
+
facet_value_service_1.FacetValueService,
|
|
203
204
|
locale_string_hydrator_1.LocaleStringHydrator])
|
|
204
205
|
], ProductEntityResolver);
|
|
205
206
|
exports.ProductEntityResolver = ProductEntityResolver;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-entity.resolver.js","sourceRoot":"","sources":["../../../../src/api/resolvers/entity/product-entity.resolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,6CAA6E;AAE7E,2EAA4E;AAI5E,iDAAoD;AAKpD,2EAAiE;AAEjE,mGAAwF;AACxF,mHAA8G;AAC9G,2EAAuE;AACvE,qFAAiF;AACjF,yGAAmG;AACnG,+FAA0F;AAC1F,+EAA2E;AAE3E,kEAA8D;AAC9D,kEAAqD;AACrD,8EAAgF;AAChF,0FAAiE;AAG1D,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IAC9B,YACY,qBAA4C,EAC5C,iBAAoC,EACpC,yBAAoD,EACpD,YAA0B,EAC1B,cAA8B,EAC9B,oBAA0C;
|
|
1
|
+
{"version":3,"file":"product-entity.resolver.js","sourceRoot":"","sources":["../../../../src/api/resolvers/entity/product-entity.resolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,6CAA6E;AAE7E,2EAA4E;AAI5E,iDAAoD;AAKpD,2EAAiE;AAEjE,mGAAwF;AACxF,mHAA8G;AAC9G,2EAAuE;AACvE,qFAAiF;AACjF,uFAAkF;AAClF,yGAAmG;AACnG,+FAA0F;AAC1F,+EAA2E;AAE3E,kEAA8D;AAC9D,kEAAqD;AACrD,8EAAgF;AAChF,0FAAiE;AAG1D,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IAC9B,YACY,qBAA4C,EAC5C,iBAAoC,EACpC,yBAAoD,EACpD,YAA0B,EAC1B,cAA8B,EAC9B,iBAAoC,EACpC,oBAA0C;QAN1C,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5C,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,8BAAyB,GAAzB,yBAAyB,CAA2B;QACpD,iBAAY,GAAZ,YAAY,CAAc;QAC1B,mBAAc,GAAd,cAAc,CAAgB;QAC9B,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,yBAAoB,GAApB,oBAAoB,CAAsB;IACnD,CAAC;IAGJ,IAAI,CAAQ,GAAmB,EAAY,OAAgB;QACvD,OAAO,IAAI,CAAC,oBAAoB,CAAC,wBAAwB,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACpF,CAAC;IAGD,IA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C,QAAQ,IAAI,CAAC,MAAM,IAAI,CAAC,cAAc,CAAC,kBAAkB,CAAC,GAAG,EAAE,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC;QACrG,OAAO,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAA,mBAAW,EAAC,OAAO,CAAC,EAAE,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IAC1G,CAAC;CACJ,CAAA;AALS;IADL,IAAA,sBAAY,GAAE;IACC,WAAA,IAAA,+BAAG,GAAE,CAAA;IAAuB,WAAA,IAAA,gBAAM,GAAE,CAAA;;qCAAzB,gCAAc,EAAqB,wBAAO;;0DAIpE;AARQ,0BAA0B;IADtC,IAAA,kBAAQ,EAAC,SAAS,CAAC;qCAEoB,gCAAc;GADzC,0BAA0B,CAStC;AATY,gEAA0B"}
|
|
@@ -149,6 +149,28 @@ export type MiddlewareHandler = Type<any> | Function;
|
|
|
149
149
|
* Defines API middleware, set in the {@link ApiOptions}. Middleware can be either
|
|
150
150
|
* [Express middleware](https://expressjs.com/en/guide/using-middleware.html) or [NestJS middleware](https://docs.nestjs.com/middleware).
|
|
151
151
|
*
|
|
152
|
+
* ## Increasing the maximum request body size limit
|
|
153
|
+
*
|
|
154
|
+
* Internally, Vendure relies on the body-parser middleware to parse incoming JSON data. By default, the maximum
|
|
155
|
+
* body size is set to 100kb. Attempting to send a request with more than 100kb of JSON data will result in a
|
|
156
|
+
* `PayloadTooLargeError`. To increase this limit, we can manually configure the body-parser middleware:
|
|
157
|
+
*
|
|
158
|
+
* @example
|
|
159
|
+
* ```TypeScript
|
|
160
|
+
* import { VendureConfig } from '\@vendure/core';
|
|
161
|
+
* import { json } from 'body-parser';
|
|
162
|
+
*
|
|
163
|
+
* export const config: VendureConfig = {
|
|
164
|
+
* // ...
|
|
165
|
+
* apiOptions: {
|
|
166
|
+
* middleware: [{
|
|
167
|
+
* handler: json({ limit: '10mb' }),
|
|
168
|
+
* route: '*',
|
|
169
|
+
* beforeListen: true,
|
|
170
|
+
* }],
|
|
171
|
+
* },
|
|
172
|
+
* };
|
|
173
|
+
*
|
|
152
174
|
* @docsCategory Common
|
|
153
175
|
*/
|
|
154
176
|
export interface Middleware {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-config.js","sourceRoot":"","sources":["../../src/config/default-config.ts"],"names":[],"mappings":";;;AAAA,yEAAmE;AACnE,2EAI8C;AAE9C,iGAA2F;AAC3F,4FAAqF;AACrF,yHAAiH;AAEjH,yGAAmG;AACnG,yGAAmG;AACnG,kGAA4F;AAC5F,kGAA4F;AAC5F,8FAAwF;AACxF,sGAAgG;AAChG,0FAAqF;AACrF,qFAAgF;AAChF,qIAA6H;AAC7H,iIAAyH;AACzH,6FAAuF;AACvF,+FAAyF;AACzF,oFAA8E;AAC9E,4EAAuE;AACvE,2FAAsF;AACtF,yFAAoF;AACpF,4DAAwD;AACxD,yFAAmF;AACnF,6GAAsG;AACtG,6FAAuF;AACvF,yHAAiH;AACjH,yFAAmF;AACnF,yEAAoE;AACpE,yFAAmF;AACnF,iGAA2F;AAC3F,yEAAoE;AACpE,yFAAyF;AACzF,qEAAuE;AACvE,mEAA8D;AAC9D,+EAA0E;AAC1E,2CAAkF;AAClF,uGAAgG;AAChG,+FAA0F;AAC1F,iHAA2G;AAC3G,2HAAoH;AACpH,uGAAgG;AAChG,+EAAyE;AAGzE;;;;;GAKG;AACU,QAAA,aAAa,GAAyB;IAC/C,mBAAmB,EAAE,IAAI;IACzB,mBAAmB,EAAE,8BAAY,CAAC,EAAE;IACpC,MAAM,EAAE,IAAI,8BAAa,EAAE;IAC3B,UAAU,EAAE;QACR,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,IAAI;QACV,YAAY,EAAE,WAAW;QACzB,kBAAkB,EAAE,KAAK;QACzB,aAAa,EAAE,KAAK;QACpB,mBAAmB,EAAE,IAAI;QACzB,uBAAuB,EAAE,EAAE;QAC3B,WAAW,EAAE,UAAU;QACvB,iBAAiB,EAAE,KAAK;QACxB,YAAY,EAAE,KAAK;QACnB,kBAAkB,EAAE,GAAG;QACvB,sBAAsB,EAAE,EAAE;QAC1B,eAAe,EAAE,eAAe;QAChC,IAAI,EAAE;YACF,MAAM,EAAE,IAAI;YACZ,WAAW,EAAE,IAAI;SACpB;QACD,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAI;QACnB,mBAAmB,EAAE,EAAE;KAC1B;IACD,WAAW,EAAE;QACT,WAAW,EAAE,KAAK;QAClB,WAAW,EAAE,QAAQ;QACrB,aAAa,EAAE;YACX,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YAC5C,QAAQ,EAAE,IAAI;
|
|
1
|
+
{"version":3,"file":"default-config.js","sourceRoot":"","sources":["../../src/config/default-config.ts"],"names":[],"mappings":";;;AAAA,yEAAmE;AACnE,2EAI8C;AAE9C,iGAA2F;AAC3F,4FAAqF;AACrF,yHAAiH;AAEjH,yGAAmG;AACnG,yGAAmG;AACnG,kGAA4F;AAC5F,kGAA4F;AAC5F,8FAAwF;AACxF,sGAAgG;AAChG,0FAAqF;AACrF,qFAAgF;AAChF,qIAA6H;AAC7H,iIAAyH;AACzH,6FAAuF;AACvF,+FAAyF;AACzF,oFAA8E;AAC9E,4EAAuE;AACvE,2FAAsF;AACtF,yFAAoF;AACpF,4DAAwD;AACxD,yFAAmF;AACnF,6GAAsG;AACtG,6FAAuF;AACvF,yHAAiH;AACjH,yFAAmF;AACnF,yEAAoE;AACpE,yFAAmF;AACnF,iGAA2F;AAC3F,yEAAoE;AACpE,yFAAyF;AACzF,qEAAuE;AACvE,mEAA8D;AAC9D,+EAA0E;AAC1E,2CAAkF;AAClF,uGAAgG;AAChG,+FAA0F;AAC1F,iHAA2G;AAC3G,2HAAoH;AACpH,uG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,EAAE,EAAE;QACZ,aAAa,EAAE,EAAE;QACjB,KAAK,EAAE,EAAE;QACT,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,EAAE;QACf,cAAc,EAAE,EAAE;QAClB,KAAK,EAAE,EAAE;QACT,SAAS,EAAE,EAAE;QACb,aAAa,EAAE,EAAE;QACjB,OAAO,EAAE,EAAE;QACX,aAAa,EAAE,EAAE;QACjB,kBAAkB,EAAE,EAAE;QACtB,cAAc,EAAE,EAAE;QAClB,SAAS,EAAE,EAAE;QACb,MAAM,EAAE,EAAE;QACV,MAAM,EAAE,EAAE;QACV,cAAc,EAAE,EAAE;QAClB,aAAa,EAAE,EAAE;QACjB,WAAW,EAAE,EAAE;QACf,OAAO,EAAE,EAAE;QACX,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,EAAE;KACX;IACD,OAAO,EAAE,EAAE;IACX,aAAa,EAAE;QACX,YAAY,EAAE,CAAC,IAAI,0DAA0B,EAAE,CAAC;KACnD;CACJ,CAAC"}
|
|
@@ -39,8 +39,8 @@ exports.I18nService = void 0;
|
|
|
39
39
|
const common_1 = require("@nestjs/common");
|
|
40
40
|
const fs = __importStar(require("fs"));
|
|
41
41
|
const i18next_1 = __importDefault(require("i18next"));
|
|
42
|
-
const i18next_express_middleware_1 = __importDefault(require("i18next-express-middleware"));
|
|
43
42
|
const i18next_fs_backend_1 = __importDefault(require("i18next-fs-backend"));
|
|
43
|
+
const i18next_http_middleware_1 = __importDefault(require("i18next-http-middleware"));
|
|
44
44
|
const i18next_icu_1 = __importDefault(require("i18next-icu"));
|
|
45
45
|
const path_1 = __importDefault(require("path"));
|
|
46
46
|
const config_1 = require("../config");
|
|
@@ -69,7 +69,7 @@ let I18nService = class I18nService {
|
|
|
69
69
|
*/
|
|
70
70
|
onModuleInit() {
|
|
71
71
|
return i18next_1.default
|
|
72
|
-
.use(
|
|
72
|
+
.use(i18next_http_middleware_1.default.LanguageDetector)
|
|
73
73
|
.use(i18next_fs_backend_1.default)
|
|
74
74
|
.use(i18next_icu_1.default)
|
|
75
75
|
.init({
|
|
@@ -89,7 +89,7 @@ let I18nService = class I18nService {
|
|
|
89
89
|
* @internal
|
|
90
90
|
*/
|
|
91
91
|
handle() {
|
|
92
|
-
return
|
|
92
|
+
return i18next_http_middleware_1.default.handle(i18next_1.default);
|
|
93
93
|
}
|
|
94
94
|
/**
|
|
95
95
|
* @description
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.service.js","sourceRoot":"","sources":["../../src/i18n/i18n.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA0D;AAE1D,uCAAyB;AAEzB,sDAA6C;AAC7C,
|
|
1
|
+
{"version":3,"file":"i18n.service.js","sourceRoot":"","sources":["../../src/i18n/i18n.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA0D;AAE1D,uCAAyB;AAEzB,sDAA6C;AAC7C,4EAAyC;AACzC,sFAAwD;AACxD,8DAA8B;AAC9B,gDAAwB;AAGxB,sCAAmC;AACnC,6DAAyD;AAEzD,6CAAyC;AAmBzC;;;;;;;;;GASG;AAEI,IAAM,WAAW,GAAjB,MAAM,WAAW;IACpB;;;OAGG;IACH,YAAoB,aAA4B;QAA5B,kBAAa,GAAb,aAAa,CAAe;IAAG,CAAC;IAEpD;;OAEG;IACH,YAAY;QACR,OAAO,iBAAO;aACT,GAAG,CAAC,iCAAiB,CAAC,gBAAgB,CAAC;aACvC,GAAG,CAAC,4BAAc,CAAC;aACnB,GAAG,CAAC,qBAAG,CAAC;aACR,IAAI,CAAC;YACF,WAAW,EAAE,KAAK;YAClB,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;YACjC,WAAW,EAAE,IAAI;YACjB,SAAS,EAAE;gBACP,iBAAiB,EAAE,cAAc;aACpC;YACD,OAAO,EAAE;gBACL,QAAQ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C,CAAC,CAAE,CAAC,CAAC,OAAkB,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;gBACtF,WAAW,IAAI,+BAA+B,OAAO,GAAG,CAAC;aAC5D;YACD,KAAK,CAAC,OAAO,GAAG,WAAW,CAAC;YAC5B,8EAA8E;YAC9E,wCAAwC;YACxC,OAAQ,aAAqB,CAAC,SAAS,CAAC;SAC3C;QAED,OAAO,KAAK,CAAC;IACjB,CAAC;IAED;;;OAGG;IACH,oBAAoB,CAAC,GAAgB,EAAE,KAAyB;QAC5D,MAAM,CAAC,GAAc,GAAG,CAAC,CAAC,CAAC;QAC3B,IAAI,WAAW,GAAW,KAAK,CAAC,OAAO,CAAC;QACxC,MAAM,GAAG,GAAG,eAAe,KAAK,CAAC,OAAO,EAAE,CAAC;QAC3C,IAAI;YACA,WAAW,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;SAC/B;QAAC,OAAO,CAAM,EAAE;YACb,MAAM,OAAO,GAAG,OAAO,CAAC,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAE,CAAC,CAAC,OAAkB,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;YAClG,WAAW,IAAI,+BAA+B,OAAO,GAAG,CAAC;SAC5D;QACD,KAAK,CAAC,OAAO,GAAG,WAAW,CAAC;IAChC,CAAC;CACJ,CAAA;AA1GY,WAAW;IADvB,IAAA,mBAAU,GAAE;qCAM0B,8BAAa;GALvC,WAAW,CA0GvB;AA1GY,kCAAW"}
|
|
@@ -105,10 +105,10 @@
|
|
|
105
105
|
"cannot-transition-without-modification-payment": "Die Bestellung kann nur in den Status \"ArrangingAdditionalPayment\" übergehen",
|
|
106
106
|
"cannot-transition-without-settled-payments": "Die Bestellung kann nicht in den Status \"PaymentSettled\" übergehen, da die Summe noch nicht komplett abgerechnet ist",
|
|
107
107
|
"country-used-in-addresses": "Das gewählte Land kann nicht gelöscht werden, da es von {count, plural, one {einer Adresse} other {# Adressen}} genutzt wird",
|
|
108
|
-
"facet-force-deleted": "Die Facette wurde gelöscht und ihre FacetValues wurden von {products, plural, =0 {} one {einem Produkt} other {# Produkten}}{both, select, both { und } single {}}{variants, plural, =0 {} one {einer Produktvariante} other {# Produktvariantem}} entfernt",
|
|
109
|
-
"facet-used": "Die ausgewählte Facette enthält FacetValues, die {products, plural, =0 {} one {einem Produkt} other {# Produkten}}{both, select, both { und } single {}}{variants, plural, =0 {} one {einer Produktvariante} other {# Produktvarianten}} zugewiesen sind",
|
|
110
|
-
"facet-value-force-deleted": "Der gewählte FacetValue wurde von {products, plural, =0 {} one {einem Produkt} other {# Produkten}}{both, select, both { und } single {}}{variants, plural, =0 {} one {einer Produktvariante} other {# Produktvarianten}} entfernt und gelöscht",
|
|
111
|
-
"facet-value-used": "Der FacetValue \"{ facetValueCode }\" wurde {products, plural, =0 {} one {einem Produkt} other {# Produkten}}{both, select, both { und } single {}}{variants, plural, =0 {} one {einer Produktvariante} other {# Produktvarianten}} zugewiesen",
|
|
108
|
+
"facet-force-deleted": "Die Facette wurde gelöscht und ihre FacetValues wurden von {products, plural, =0 {} one {einem Produkt} other {# Produkten}}{both, select, both { und } single {} other {}}{variants, plural, =0 {} one {einer Produktvariante} other {# Produktvariantem}} entfernt",
|
|
109
|
+
"facet-used": "Die ausgewählte Facette enthält FacetValues, die {products, plural, =0 {} one {einem Produkt} other {# Produkten}}{both, select, both { und } single {} other {}}{variants, plural, =0 {} one {einer Produktvariante} other {# Produktvarianten}} zugewiesen sind",
|
|
110
|
+
"facet-value-force-deleted": "Der gewählte FacetValue wurde von {products, plural, =0 {} one {einem Produkt} other {# Produkten}}{both, select, both { und } single {} other {}}{variants, plural, =0 {} one {einer Produktvariante} other {# Produktvarianten}} entfernt und gelöscht",
|
|
111
|
+
"facet-value-used": "Der FacetValue \"{ facetValueCode }\" wurde {products, plural, =0 {} one {einem Produkt} other {# Produkten}}{both, select, both { und } single {} other {}}{variants, plural, =0 {} one {einer Produktvariante} other {# Produktvarianten}} zugewiesen",
|
|
112
112
|
"payment-method-used-in-channels": "Die gewählte Zahlungsmethode wird von den folgenden Kanälen verwendet: { channelCodes }. Mit \"force: true\" wird sie von allen Kanälen entfernt.",
|
|
113
113
|
"zone-used-in-channels": "Die ausgewählte Zone kann nicht gelöscht werden, da sie als Standard in den folgenden Kanälen verwendet wird: { channelCodes }",
|
|
114
114
|
"zone-used-in-tax-rates": "Die ausgewählte Zone kann nicht gelöscht werden, da sie in den folgenden Steuersätzen verwendet wird: { taxRateNames }"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"error": {
|
|
3
3
|
"active-user-does-not-have-sufficient-permissions": "Active user does not have sufficient permissions",
|
|
4
|
-
"cannot-delete-role": "The role
|
|
4
|
+
"cannot-delete-role": "The role \"{ roleCode }\" cannot be deleted",
|
|
5
5
|
"cannot-delete-sole-superadmin": "The sole SuperAdmin cannot be deleted",
|
|
6
6
|
"cannot-locate-customer-for-user": "Cannot locate a Customer for the user",
|
|
7
|
-
"cannot-modify-role": "The role
|
|
7
|
+
"cannot-modify-role": "The role \"{ roleCode }\" cannot be modified",
|
|
8
8
|
"cannot-create-sales-for-active-order": "Cannot create a Sale for an Order which is still active",
|
|
9
9
|
"cannot-move-collection-into-self": "Cannot move a Collection into itself",
|
|
10
10
|
"cannot-transition-payment-from-to": "Cannot transition Payment from \"{ fromState }\" to \"{ toState }\"",
|
|
@@ -13,30 +13,30 @@
|
|
|
13
13
|
"channel-not-found": "No Channel with the token \"{ token }\" could be found",
|
|
14
14
|
"collection-id-or-slug-must-be-provided": "Either the Collection id or slug must be provided",
|
|
15
15
|
"collection-id-slug-mismatch": "The provided id and slug refer to different Collections",
|
|
16
|
-
"conditions-required-for-action": "The PromotionAction
|
|
17
|
-
"configurable-argument-is-required": "The argument
|
|
16
|
+
"conditions-required-for-action": "The PromotionAction \"{ action }\" requires the following conditions: { conditions }",
|
|
17
|
+
"configurable-argument-is-required": "The argument \"{ name }\" is required",
|
|
18
18
|
"country-code-not-valid": "The countryCode \"{ countryCode }\" was not recognized",
|
|
19
19
|
"currency-not-available-in-channel": "The currency \"{ currencyCode }\" is not available in the current Channel",
|
|
20
20
|
"customer-does-not-belong-to-customer-group": "Customer does not belong to this CustomerGroup",
|
|
21
21
|
"default-channel-not-found": "Default channel not found",
|
|
22
|
-
"entity-has-no-translation-in-language": "Translatable entity
|
|
23
|
-
"entity-with-id-not-found": "No { entityName } with the id
|
|
22
|
+
"entity-has-no-translation-in-language": "Translatable entity \"{ entityName }\" has not been translated into the requested language ({ languageCode })",
|
|
23
|
+
"entity-with-id-not-found": "No { entityName } with the id \"{ id }\" could be found",
|
|
24
24
|
"items-cannot-be-removed-from-default-channel": "Items cannot be removed from the default Channel",
|
|
25
25
|
"facetfilterinput-invalid-input": "A FacetValueFilterInput object may not specify the 'and' and 'or' fields simultaneously",
|
|
26
|
-
"field-invalid-datetime-range-max": "The custom field
|
|
27
|
-
"field-invalid-datetime-range-min": "The custom field
|
|
28
|
-
"field-invalid-non-nullable": "The custom field
|
|
29
|
-
"field-invalid-number-range-max": "The custom field
|
|
30
|
-
"field-invalid-number-range-min": "The custom field
|
|
31
|
-
"field-invalid-readonly": "The custom field
|
|
32
|
-
"field-invalid-string-option": "The custom field
|
|
33
|
-
"field-invalid-string-pattern": "The custom field
|
|
26
|
+
"field-invalid-datetime-range-max": "The custom field \"{ name }\" value [{ value }] is greater than the maximum [{ max }]",
|
|
27
|
+
"field-invalid-datetime-range-min": "The custom field \"{ name }\" value [{ value }] is less than the minimum [{ min }]",
|
|
28
|
+
"field-invalid-non-nullable": "The custom field \"{ name }\" value cannot be set to null",
|
|
29
|
+
"field-invalid-number-range-max": "The custom field \"{ name }\" value [{ value }] is greater than the maximum [{ max }]",
|
|
30
|
+
"field-invalid-number-range-min": "The custom field \"{ name }\" value [{ value }] is less than the minimum [{ min }]",
|
|
31
|
+
"field-invalid-readonly": "The custom field \"{ name }\" is readonly",
|
|
32
|
+
"field-invalid-string-option": "The custom field \"{ name }\" value [\"{ value }\"] is invalid. Valid options are [{ validOptions }]",
|
|
33
|
+
"field-invalid-string-pattern": "The custom field \"{ name }\" value [\"{ value }\"] does not match the pattern [{ pattern }]",
|
|
34
34
|
"forbidden": "You are not currently authorized to perform this action",
|
|
35
|
-
"invalid-sort-field": "The sort field
|
|
35
|
+
"invalid-sort-field": "The sort field \"{ fieldName }\" is invalid. Valid fields are: { validFields }",
|
|
36
36
|
"list-query-limit-exceeded": "Cannot take more than { limit } results from a list query",
|
|
37
37
|
"no-active-tax-zone": "The active tax zone could not be determined. Ensure a default tax zone is set for the current channel.",
|
|
38
|
-
"no-configurable-operation-def-with-code-found": "No { type } with the code
|
|
39
|
-
"no-price-found-for-channel": "No price information was found for ProductVariant ID
|
|
38
|
+
"no-configurable-operation-def-with-code-found": "No { type } with the code \"{ code }\" could be found",
|
|
39
|
+
"no-price-found-for-channel": "No price information was found for ProductVariant ID \"{ variantId}\" in the Channel \"{ channel }\".",
|
|
40
40
|
"no-search-plugin-configured": "No search plugin has been configured",
|
|
41
41
|
"order-could-not-be-determined-or-created": "No active Order could be determined nor created",
|
|
42
42
|
"order-does-not-contain-line-with-id": "This order does not contain an OrderLine with the id { id }",
|
|
@@ -68,12 +68,12 @@
|
|
|
68
68
|
"IDENTIFIER_CHANGE_TOKEN_INVALID_ERROR": "Identifier change token not recognized",
|
|
69
69
|
"INELIGIBLE_SHIPPING_METHOD_ERROR": "This Order is not eligible for the selected ShippingMethod",
|
|
70
70
|
"INSUFFICIENT_STOCK_ERROR": "{quantityAvailable, plural, =0 {No items were} one {Only 1 item was} other {Only # items were}} added to the order due to insufficient stock",
|
|
71
|
-
"INSUFFICIENT_STOCK_ON_HAND_ERROR": "Cannot create a Fulfillment as
|
|
71
|
+
"INSUFFICIENT_STOCK_ON_HAND_ERROR": "Cannot create a Fulfillment as \"{productVariantName}\" has insufficient stockOnHand ({stockOnHand})",
|
|
72
72
|
"INVALID_CREDENTIALS_ERROR": "The provided credentials are invalid",
|
|
73
73
|
"ITEMS_ALREADY_FULFILLED_ERROR": "One or more OrderItems are already part of a Fulfillment",
|
|
74
74
|
"LANGUAGE_NOT_AVAILABLE_ERROR": "Language \"{languageCode}\" is not available. First enable it via GlobalSettings and try again",
|
|
75
75
|
"MANUAL_PAYMENT_STATE_ERROR": "A manual payment may only be added when in the \"ArrangingPayment\" or \"ArrangingAdditionalPayment\" states",
|
|
76
|
-
"MIME_TYPE_ERROR": "The MIME type
|
|
76
|
+
"MIME_TYPE_ERROR": "The MIME type \"{ mimeType }\" is not permitted.",
|
|
77
77
|
"MISSING_CONDITIONS_ERROR": "A Promotion must have either at least one condition or a coupon code set",
|
|
78
78
|
"MISSING_PASSWORD_ERROR": "A password must be provided.",
|
|
79
79
|
"NEGATIVE_QUANTITY_ERROR": "The quantity for an OrderItem cannot be negative",
|
|
@@ -120,10 +120,10 @@
|
|
|
120
120
|
"cannot-transition-without-modification-payment": "Can only transition to the \"ArrangingAdditionalPayment\" state",
|
|
121
121
|
"cannot-transition-without-settled-payments": "Cannot transition Order to the \"PaymentSettled\" state when the total is not covered by settled Payments",
|
|
122
122
|
"country-used-in-addresses": "The selected Country cannot be deleted as it is used in {count, plural, one {1 Address} other {# Addresses}}",
|
|
123
|
-
"facet-force-deleted": "The Facet was deleted and its FacetValues were removed from {products, plural, =0 {} one {1 Product} other {# Products}}{both, select, both {
|
|
124
|
-
"facet-used": "The Facet \"{ facetCode }\" includes FacetValues which are assigned to {products, plural, =0 {} one {1 Product} other {# Products}}{both, select, both {
|
|
125
|
-
"facet-value-force-deleted": "The selected FacetValue was removed from {products, plural, =0 {} one {1 Product} other {# Products}}{both, select, both {
|
|
126
|
-
"facet-value-used": "The FacetValue \"{ facetValueCode }\" is assigned to {products, plural, =0 {} one {1 Product} other {# Products}}{both, select, both {
|
|
123
|
+
"facet-force-deleted": "The Facet was deleted and its FacetValues were removed from {products, plural, =0 {} one {1 Product} other {# Products}}{both, select, both {, } single {} other {}}{variants, plural, =0 {} one {1 ProductVariant} other {# ProductVariants}}",
|
|
124
|
+
"facet-used": "The Facet \"{ facetCode }\" includes FacetValues which are assigned to {products, plural, =0 {} one {1 Product} other {# Products}}{both, select, both {, } single {} other {}}{variants, plural, =0 {} one {1 ProductVariant} other {# ProductVariants}}",
|
|
125
|
+
"facet-value-force-deleted": "The selected FacetValue was removed from {products, plural, =0 {} one {1 Product} other {# Products}}{both, select, both {, } single {} other {}}{variants, plural, =0 {} one {1 ProductVariant} other {# ProductVariants}} and deleted",
|
|
126
|
+
"facet-value-used": "The FacetValue \"{ facetValueCode }\" is assigned to {products, plural, =0 {} one {1 Product} other {# Products}}{both, select, both {, } single {} other {}}{variants, plural, =0 {} one {1 ProductVariant} other {# ProductVariants}}",
|
|
127
127
|
"payment-method-used-in-channels": "The selected PaymentMethod is assigned to the following Channels: { channelCodes }. Set \"force: true\" to delete from all Channels.",
|
|
128
128
|
"product-option-used": "Cannot delete the option \"{code}\" as it is being used by {count, plural, =0 {} one {1 ProductVariant} other {# ProductVariants}}",
|
|
129
129
|
"zone-used-in-channels": "The selected Zone cannot be deleted as it used as a default in the following Channels: { channelCodes }",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"error": {
|
|
3
|
-
"cannot-modify-role": "El rol
|
|
3
|
+
"cannot-modify-role": "El rol \"{ roleCode }\" no puede ser modificado",
|
|
4
4
|
"cannot-move-product-category-into-self": "No se puede mover la categoría de producto, a dentro de si misma",
|
|
5
5
|
"cannot-transition-order-from-to": "No se puede cambiar el estado del pedido de \"{ fromState }\" a \"{ toState }\"",
|
|
6
6
|
"cannot-transition-to-shipping-when-order-is-empty": "No se puede cambiar el estado del envío a \"ArrangingShipping\" cuando esta vacío",
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
"channel-not-found": "Ningún canal con el token \"{ token }\" existe",
|
|
9
9
|
"country-code-not-valid": "El código de país \"{ countryCode }\" no fue reconocido",
|
|
10
10
|
"email-address-not-verified": "Por favor verifica este email, antes de iniciar sesión",
|
|
11
|
-
"entity-has-no-translation-in-language": "Entidad traducible
|
|
12
|
-
"entity-with-id-not-found": "No { entityName } con el id
|
|
11
|
+
"entity-has-no-translation-in-language": "Entidad traducible \"{ entityName }\" no ha sido traducida al idioma seleccionando ({ languageCode })",
|
|
12
|
+
"entity-with-id-not-found": "No { entityName } con el id \"{ id }\" se ha encontrado",
|
|
13
13
|
"forbidden": "Actualmente no estás autorizado a realizar esta acción",
|
|
14
|
-
"invalid-sort-field": "El campo de ordenar
|
|
14
|
+
"invalid-sort-field": "El campo de ordenar \"{ fieldName }\" es inválido. Campos válidos: { validFields }",
|
|
15
15
|
"missing-password-on-registration": "Una contraseña debe proporcionarse cuándo `authOptions.requireVerification` está en \"false\"",
|
|
16
16
|
"no-search-plugin-configured": "No se ha configurado ningún plugin de búsqueda",
|
|
17
17
|
"no-valid-channel-specified": "No se ha especificado ningún canal válido (asegúrate de que el encabezado 'vendure-token' sea especificado en el requisito)",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
},
|
|
30
30
|
"message": {
|
|
31
31
|
"country-used-in-addresses": "El país seleccionado no puede ser eliminado ya que es usado en {count, plural, one {1 Dirección} other {# Direcciones}}",
|
|
32
|
-
"facet-force-deleted": "El valor de faceta fue eliminado, y sus instancias fueron eliminadas en {products, plural, =0 {} one {1 Producto} other {# Productos}}{both, select, both {
|
|
33
|
-
"facet-used": "El valor de faceta seleccionado, incluye valores que están asignados a {products, plural, =0 {} one {1 Producto} other {# Productos}}{both, select, both {
|
|
34
|
-
"facet-value-force-deleted": "El valor de faceta seleccionado, fue eliminnado de {products, plural, =0 {} one {1 Producto} other {# Productos}}{both, select, both {
|
|
35
|
-
"facet-value-used": "El valor de faceta seleccionado, está asignado a {products, plural, =0 {} one {1 Producto} other {# Productos}}{both, select, both {
|
|
32
|
+
"facet-force-deleted": "El valor de faceta fue eliminado, y sus instancias fueron eliminadas en {products, plural, =0 {} one {1 Producto} other {# Productos}}{both, select, both {, } single {} other {}}{variants, plural, =0 {} one {1 ProductVariant} other {# ProductVariants}}",
|
|
33
|
+
"facet-used": "El valor de faceta seleccionado, incluye valores que están asignados a {products, plural, =0 {} one {1 Producto} other {# Productos}}{both, select, both {, } single {} other {}}{variants, plural, =0 {} one {1 ProductVariant} other {# ProductVariants}}",
|
|
34
|
+
"facet-value-force-deleted": "El valor de faceta seleccionado, fue eliminnado de {products, plural, =0 {} one {1 Producto} other {# Productos}}{both, select, both {, } single {} other {}}{variants, plural, =0 {} one {1 ProductVariant} other {# ProductVariants}} and deleted",
|
|
35
|
+
"facet-value-used": "El valor de faceta seleccionado, está asignado a {products, plural, =0 {} one {1 Producto} other {# Productos}}{both, select, both {, } single {} other {}}{variants, plural, =0 {} one {1 ProductVariant} other {# ProductVariants}}",
|
|
36
36
|
"zone-used-in-tax-rates": "La zona seleccionada no se puede eliminar, es usada por estas Tasas de impuestos: { taxRateNames }"
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"cancel-order-lines-invalid-order-state": "Não é possível cancelar o OrderLines de um pedido no estado: \"{ state }\"",
|
|
4
4
|
"cancel-order-lines-nothing-to-cancel": "Nada a cancelar",
|
|
5
5
|
"cancel-order-lines-quantity-too-high": "A quantidade a cancelar é maior que a quantidade existente da OrderLine",
|
|
6
|
-
"cannot-delete-role": "A função
|
|
6
|
+
"cannot-delete-role": "A função \"{ roleCode }\" não pode ser excluída",
|
|
7
7
|
"cannot-locate-customer-for-user": "Não é possível localizar um cliente para o usuário",
|
|
8
|
-
"cannot-modify-role": "A função
|
|
8
|
+
"cannot-modify-role": "A função \"{ roleCode }\" não pode ser modificada",
|
|
9
9
|
"cannot-create-sales-for-active-order": "Não é possível criar uma venda para um pedido ainda ativo",
|
|
10
10
|
"cannot-move-collection-into-self": "Não é possível mover uma coleção para si mesma",
|
|
11
11
|
"cannot-remove-option-group-due-to-variants": "Não é possível remover o ProductOptionGroup \"{code}\", pois é usado por {count, plural, um {1 ProductVariant} outro {# ProductVariants}}",
|
|
@@ -40,20 +40,20 @@
|
|
|
40
40
|
"email-address-must-be-unique": "O endereço de email deve ser único",
|
|
41
41
|
"email-address-not-available": "Este endereço de email não está disponível",
|
|
42
42
|
"email-address-not-verified": "Verifique este endereço de e-mail antes de fazer login",
|
|
43
|
-
"entity-has-no-translation-in-language": "A entidade traduzível
|
|
44
|
-
"entity-with-id-not-found": "Nenhum { entityName } com o código
|
|
45
|
-
"field-invalid-datetime-range-max": "O valor do campo personalizado
|
|
46
|
-
"field-invalid-datetime-range-min": "O valor do campo personalizado
|
|
47
|
-
"field-invalid-non-nullable": "O valor do campo personalizado
|
|
48
|
-
"field-invalid-number-range-max": "O valor do campo personalizado
|
|
49
|
-
"field-invalid-number-range-min": "O valor do campo personalizado
|
|
50
|
-
"field-invalid-readonly": "O campo personalizado
|
|
51
|
-
"field-invalid-string-option": "O valor do campo personalizado
|
|
52
|
-
"field-invalid-string-pattern": "O valor do campo personalizado
|
|
43
|
+
"entity-has-no-translation-in-language": "A entidade traduzível \"{ entityName }\" não foi traduzida para o idioma solicitado ({languageCode})",
|
|
44
|
+
"entity-with-id-not-found": "Nenhum { entityName } com o código \"{ id }\" foi encontrado",
|
|
45
|
+
"field-invalid-datetime-range-max": "O valor do campo personalizado \"{ name }\" [{ value }] é maior que o máximo [{ max }]",
|
|
46
|
+
"field-invalid-datetime-range-min": "O valor do campo personalizado \"{ name }\" [{ value }] é menor que o mínimo [{ min }]",
|
|
47
|
+
"field-invalid-non-nullable": "O valor do campo personalizado \"{ name }\" não pode ser definido como nulo",
|
|
48
|
+
"field-invalid-number-range-max": "O valor do campo personalizado \"{ name }\" [{ value }] é maior que o máximo [{ max }]",
|
|
49
|
+
"field-invalid-number-range-min": "O valor do campo personalizado \"{ name }\" [{ value }] é menor que o mínimo [{ min }]",
|
|
50
|
+
"field-invalid-readonly": "O campo personalizado \"{ name }\" é somente leitura",
|
|
51
|
+
"field-invalid-string-option": "O valor do campo personalizado \"{ name }\" [\"{ value }\"] é inválido. As opções válidas são [{ validOptions }]",
|
|
52
|
+
"field-invalid-string-pattern": "O valor do campo personalizado \"{ name }\" [\"{ value }\"] não corresponde ao padrão [{ pattern }]",
|
|
53
53
|
"forbidden": "No momento, você não está autorizado a executar esta ação",
|
|
54
54
|
"identifier-change-token-not-recognized": "Token de alteração de identificador não reconhecido",
|
|
55
55
|
"identifier-change-token-has-expired": "O token de alteração do identificador expirou",
|
|
56
|
-
"invalid-sort-field": "O campo de classificação
|
|
56
|
+
"invalid-sort-field": "O campo de classificação \"{ fieldName }\" é inválido. Os campos válidos são: { validFields }",
|
|
57
57
|
"language-not-available-in-global-settings": "O idioma \"{code}\" não está disponível. Primeiro, ative-o através do GlobalSettings e tente novamente.",
|
|
58
58
|
"missing-password-on-registration": "Uma senha deve ser fornecida quando` authOptions.requireVerification` estiver definido como\"false\"",
|
|
59
59
|
"no-active-tax-zone": "Não foi possível determinar a zona tributária ativa. Verifique se uma zona tributária padrão está definida para o canal atual.",
|
|
@@ -90,9 +90,9 @@
|
|
|
90
90
|
"asset-to-be-deleted-is-featured": "A seleção {assetCount, plural, one {Asset is} other {Assets are}} apresentado por {products, plural, =0 {} one {1 Product} other {# Products}} {variants, plural, =0 {} one { 1 ProductVariant} other { # ProductVariants}} {collections, plural, =0 {} one { 1 Collection} other { # Collections}}",
|
|
91
91
|
"country-used-in-addresses": "O país selecionado não pode ser excluído, pois é usado em {count, plural, um {1 Address} outro {# Addresses}}",
|
|
92
92
|
"facet-force-deleted": "A Faceta foi excluída e seus Valores de Faceta foram removidos de {produtos, plural, = 0 {} um {1 Produto} outro {# Produtos}} {ambos, selecione, ambos {,} únicos {}} {variantes, plural, = 0 {} um {1 ProductVariant} outro {# ProductVariants}} ",
|
|
93
|
-
"facet-used": "A faceta selecionada inclui valores de faceta atribuídos a {products, plural, =0 {} one {1 Product} other {# Products}}{both, select, both {
|
|
94
|
-
"facet-value-force-deleted": "O FacetValue selecionado foi removido de {products, plural, =0 {} one {1 Product} other {# Products}}{both, select, both {
|
|
95
|
-
"facet-value-used": "O FacetValue selecionado é atribuído a {products, plural, =0 {} one {1 Product} other {# Products}}{both, select, both {
|
|
93
|
+
"facet-used": "A faceta selecionada inclui valores de faceta atribuídos a {products, plural, =0 {} one {1 Product} other {# Products}}{both, select, both {, } single {} other {}}{variants, plural, =0 {} one {1 ProductVariant} other {# ProductVariants}}",
|
|
94
|
+
"facet-value-force-deleted": "O FacetValue selecionado foi removido de {products, plural, =0 {} one {1 Product} other {# Products}}{both, select, both {, } single {} other {}}{variants, plural, =0 {} one {1 ProductVariant} other {# ProductVariants}} e excluídos ",
|
|
95
|
+
"facet-value-used": "O FacetValue selecionado é atribuído a {products, plural, =0 {} one {1 Product} other {# Products}}{both, select, both {, } single {} other {}}{variants, plural, =0 {} one {1 ProductVariant} other {# ProductVariants}}",
|
|
96
96
|
"zone-used-in-channels": "A zona selecionada não pode ser excluída, pois foi usada como padrão nos seguintes canais: { channelCodes }",
|
|
97
97
|
"zone-used-in-tax-rates": "A zona selecionada não pode ser excluída, pois é usada nos seguintes TaxRates: { taxRateNames }"
|
|
98
98
|
}
|