rerobe-js-orm 3.2.5 → 3.2.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.
@@ -245,6 +245,11 @@ class User extends Base_1.default {
245
245
  name: 'merchantId',
246
246
  type: 'string',
247
247
  },
248
+ {
249
+ facet: true,
250
+ name: 'merchantIds',
251
+ type: 'string[]',
252
+ },
248
253
  {
249
254
  facet: true,
250
255
  name: 'itemsUploadedCount',
@@ -353,6 +358,7 @@ class User extends Base_1.default {
353
358
  lastOrderTimestamp: this.utilities.sanitizeMillisTimeStamp(new Date(this.lastOrderDate).getTime()),
354
359
  lastUploadTimestamp: this.utilities.sanitizeMillisTimeStamp(new Date(this.lastUploadDate).getTime()),
355
360
  registrationSource: this.utilities.sanitizeString(this.registrationSource),
361
+ merchantIds: this.utilities.sanitzeStringArr(this.customerAt),
356
362
  };
357
363
  return stagedObj;
358
364
  }
@@ -168,4 +168,5 @@ declare type TypesenseUserObj = {
168
168
  createdAtDay: string;
169
169
  createdAtMonth: string;
170
170
  createdAtYear: string;
171
+ merchantIds: string[];
171
172
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "3.2.5",
3
+ "version": "3.2.6",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",