@infrab4a/connect 3.14.0-beta.2 → 3.14.0-beta.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.
@@ -1468,8 +1468,6 @@
1468
1468
  },
1469
1469
  },
1470
1470
  user: userId,
1471
- useLimit: 1,
1472
- useLimitPerUser: true,
1473
1471
  createdAt: new Date(Date.now()),
1474
1472
  beginAt: new Date(Date.now()),
1475
1473
  expiresIn: new Date(Date.now() + COUPON_EXPIRATION),
@@ -5444,26 +5442,30 @@
5444
5442
  whoMustUse: data.who_must_use,
5445
5443
  howToUse: data.how_to_use,
5446
5444
  brand: data.brand_description,
5445
+ ingredients: data.ingredients,
5447
5446
  }); },
5448
5447
  bindFindFilter: function (sentence) {
5449
5448
  var filters = Object.values(sentence).shift();
5450
- return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, ((filters === null || filters === void 0 ? void 0 : filters.description) && { description: filters.description })), (filters.differentials && { differentials: filters.differentials })), (filters.whoMustUse && {
5449
+ return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, ((filters === null || filters === void 0 ? void 0 : filters.description) && { description: filters.description })), (filters.differentials && { differentials: filters.differentials })), (filters.whoMustUse && {
5451
5450
  who_must_use: filters.whoMustUse,
5452
5451
  })), (filters.howToUse && {
5453
5452
  how_to_use: filters.howToUse,
5454
5453
  })), (filters.brand && {
5455
5454
  brand_description: filters.brand,
5455
+ })), (filters.ingredients && {
5456
+ ingredients: filters.ingredients,
5456
5457
  }));
5457
5458
  },
5458
- bindPersistData: function (descriptionData) { return (Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, ((descriptionData === null || descriptionData === void 0 ? void 0 : descriptionData.description) && { description: descriptionData.description })), (descriptionData.differentials && { differentials: descriptionData.differentials })), (descriptionData.whoMustUse && {
5459
+ bindPersistData: function (descriptionData) { return (Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, ((descriptionData === null || descriptionData === void 0 ? void 0 : descriptionData.description) && { description: descriptionData.description })), (descriptionData.differentials && { differentials: descriptionData.differentials })), (descriptionData.whoMustUse && {
5459
5460
  who_must_use: descriptionData.whoMustUse,
5460
- })), (descriptionData.howToUse && { how_to_use: descriptionData.howToUse })), (descriptionData.brand && { brand_description: descriptionData.brand }))); },
5461
+ })), (descriptionData.howToUse && { how_to_use: descriptionData.howToUse })), (descriptionData.brand && { brand_description: descriptionData.brand })), (descriptionData.ingredients && { ingredients: descriptionData.ingredients }))); },
5461
5462
  },
5462
5463
  },
5463
5464
  { differentials: { columnName: 'differentials' } },
5464
5465
  { whoMustUse: { columnName: 'who_must_use' } },
5465
5466
  { howToUse: { columnName: 'how_to_use' } },
5466
5467
  { brandDescription: { columnName: 'brand_description' } },
5468
+ { ingredients: { columnName: 'ingredients' } },
5467
5469
  { hasVariants: { columnName: 'has_variants' } },
5468
5470
  {
5469
5471
  images: {