@commercetools-frontend-extensions/export-resources-modal 1.3.3 → 1.3.4

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.
@@ -228,7 +228,7 @@ function buildGraphQuery(exportSettings) {
228
228
  * This function builds the necessary field structure for our GraphQL queries, tt is specifically designed to handle different types of fields
229
229
  *
230
230
  * For fields whose values change depending on the language aka localised fields, a unique request format is used
231
- * This format combines the field and the language, separated by '_____'. This approach is adopted as our system disallows the use of hyphens `-` in these situations
231
+ * This format combines the field and the language, separated by '______'. This approach is adopted as our system disallows the use of hyphens `-` in these situations
232
232
  *
233
233
  * Fields that don't vary by language but contain additional subfields (known as 'nested fields') are also addressed
234
234
  * In these cases the function is used recursively on these subfields to generate the appropriate request.
@@ -245,7 +245,7 @@ function buildFields(_ref) {
245
245
  return _flatInstanceProperty__default["default"](_context2 = _mapInstanceProperty__default["default"](fields).call(fields, field => {
246
246
  if (field.isLocalized) return _mapInstanceProperty__default["default"](languages).call(languages, language => {
247
247
  var _context3, _context4, _context5;
248
- const alias = replaceSpecialCharsWithUnderscore(_concatInstanceProperty__default["default"](_context3 = "".concat(field.key, "_____")).call(_context3, language));
248
+ const alias = replaceSpecialCharsWithUnderscore(_concatInstanceProperty__default["default"](_context3 = "".concat(field.key, "______")).call(_context3, language));
249
249
  return _concatInstanceProperty__default["default"](_context4 = _concatInstanceProperty__default["default"](_context5 = "".concat(alias, ": ")).call(_context5, field.key, "(locale: \"")).call(_context4, language, "\")");
250
250
  });else {
251
251
  if (isFilledArray(field.fields)) {
@@ -228,7 +228,7 @@ function buildGraphQuery(exportSettings) {
228
228
  * This function builds the necessary field structure for our GraphQL queries, tt is specifically designed to handle different types of fields
229
229
  *
230
230
  * For fields whose values change depending on the language aka localised fields, a unique request format is used
231
- * This format combines the field and the language, separated by '_____'. This approach is adopted as our system disallows the use of hyphens `-` in these situations
231
+ * This format combines the field and the language, separated by '______'. This approach is adopted as our system disallows the use of hyphens `-` in these situations
232
232
  *
233
233
  * Fields that don't vary by language but contain additional subfields (known as 'nested fields') are also addressed
234
234
  * In these cases the function is used recursively on these subfields to generate the appropriate request.
@@ -245,7 +245,7 @@ function buildFields(_ref) {
245
245
  return _flatInstanceProperty__default["default"](_context2 = _mapInstanceProperty__default["default"](fields).call(fields, field => {
246
246
  if (field.isLocalized) return _mapInstanceProperty__default["default"](languages).call(languages, language => {
247
247
  var _context3, _context4, _context5;
248
- const alias = replaceSpecialCharsWithUnderscore(_concatInstanceProperty__default["default"](_context3 = "".concat(field.key, "_____")).call(_context3, language));
248
+ const alias = replaceSpecialCharsWithUnderscore(_concatInstanceProperty__default["default"](_context3 = "".concat(field.key, "______")).call(_context3, language));
249
249
  return _concatInstanceProperty__default["default"](_context4 = _concatInstanceProperty__default["default"](_context5 = "".concat(alias, ": ")).call(_context5, field.key, "(locale: \"")).call(_context4, language, "\")");
250
250
  });else {
251
251
  if (isFilledArray(field.fields)) {
@@ -203,7 +203,7 @@ function buildGraphQuery(exportSettings) {
203
203
  * This function builds the necessary field structure for our GraphQL queries, tt is specifically designed to handle different types of fields
204
204
  *
205
205
  * For fields whose values change depending on the language aka localised fields, a unique request format is used
206
- * This format combines the field and the language, separated by '_____'. This approach is adopted as our system disallows the use of hyphens `-` in these situations
206
+ * This format combines the field and the language, separated by '______'. This approach is adopted as our system disallows the use of hyphens `-` in these situations
207
207
  *
208
208
  * Fields that don't vary by language but contain additional subfields (known as 'nested fields') are also addressed
209
209
  * In these cases the function is used recursively on these subfields to generate the appropriate request.
@@ -220,7 +220,7 @@ function buildFields(_ref) {
220
220
  return _flatInstanceProperty(_context2 = _mapInstanceProperty(fields).call(fields, field => {
221
221
  if (field.isLocalized) return _mapInstanceProperty(languages).call(languages, language => {
222
222
  var _context3, _context4, _context5;
223
- const alias = replaceSpecialCharsWithUnderscore(_concatInstanceProperty(_context3 = "".concat(field.key, "_____")).call(_context3, language));
223
+ const alias = replaceSpecialCharsWithUnderscore(_concatInstanceProperty(_context3 = "".concat(field.key, "______")).call(_context3, language));
224
224
  return _concatInstanceProperty(_context4 = _concatInstanceProperty(_context5 = "".concat(alias, ": ")).call(_context5, field.key, "(locale: \"")).call(_context4, language, "\")");
225
225
  });else {
226
226
  if (isFilledArray(field.fields)) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-frontend-extensions/export-resources-modal",
3
3
  "description": "Shared export modal for exporting resources",
4
- "version": "1.3.3",
4
+ "version": "1.3.4",
5
5
  "license": "BSD-3-Clause",
6
6
  "publishConfig": {
7
7
  "access": "public"