rerobe-js-orm 2.6.5 → 2.6.6

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.
@@ -1576,6 +1576,7 @@ const colors = [
1576
1576
  { label: 'Yellow', value: 'Yellow' },
1577
1577
  ];
1578
1578
  exports.colors = colors;
1579
+ // Review
1579
1580
  const conditions = [
1580
1581
  {
1581
1582
  label: 'New with tags',
@@ -172,8 +172,13 @@ class ProductCollection extends Base_1.default {
172
172
  name: 'tags',
173
173
  type: 'string[]',
174
174
  },
175
+ {
176
+ facet: true,
177
+ name: 'collectionId',
178
+ type: 'string',
179
+ },
175
180
  ],
176
- name: 'dev_productCollections_20220725',
181
+ name: 'dev_productCollections_20220726',
177
182
  };
178
183
  }
179
184
  toObjForTypesense() {
@@ -202,6 +207,7 @@ class ProductCollection extends Base_1.default {
202
207
  'refinements.statusRefinement': this.utilities.sanitzeStringArr(this.refinements.statusRefinement),
203
208
  'refinements.salesChannelRefinement': this.utilities.sanitzeStringArr(this.refinements.salesChannelRefinement),
204
209
  tags: this.utilities.sanitzeStringArr(this.tags),
210
+ collectionId: this.utilities.sanitizeString(this.collectionId),
205
211
  };
206
212
  return stagedObj;
207
213
  }
@@ -88,4 +88,5 @@ declare type TypesenseProductCollectionObj = {
88
88
  'refinements.statusRefinement': string[];
89
89
  'refinements.salesChannelRefinement': string[];
90
90
  tags: string[];
91
+ collectionId: string;
91
92
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "2.6.5",
3
+ "version": "2.6.6",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",